Commit graph

2989 commits

Author SHA1 Message Date
Mark Andrews
b5cc00e400 use %u instead of %d 2018-02-16 17:08:36 +11:00
Mark Andrews
cae75cd6e3 use %u instead of %d 2018-02-16 16:51:21 +11:00
Mark Andrews
01bd446d25 use %u rather than %d; pass a unsigned int pointer 2018-02-16 15:24:30 +11:00
Mark Andrews
7d3f4a80aa fix meger error
(cherry picked from commit f6b7ff7280)
2018-02-09 12:20:55 +11:00
Mark Andrews
1c36fb5d41 4889. [func] Warn about the use of old root keys without the new
root key being present.  Warn about dlv.isc.org's
                        key being present. Warn about both managed and
                        trusted root keys being present. [RT #43670]

(cherry picked from commit baef0ca988)
2018-02-09 12:13:52 +11:00
Tinderbox User
8ac81d900f update copyright notice / whitespace 2018-02-07 23:50:55 +00:00
Mark Andrews
c02650fe38 4885. [security] update-policy rules that otherwise ignore the name
field now require that it be set to "." to ensure
                        that any type list present is properly interpreted.
                        [RT #47126]

(cherry picked from commit ec771bbdc8)
2018-02-07 13:50:31 +11:00
Tinderbox User
f8a83911c7 update copyright notice / whitespace 2018-01-23 23:48:14 +00:00
Tinderbox User
8b5c4b392a regen v9_10 2018-01-23 01:11:27 +00:00
Tinderbox User
d35a3eab4a update copyright notice / whitespace 2018-01-22 23:48:04 +00:00
Mukund Sivaraman
96456c0834 Don't permit loading meta RR types such as TKEY from master files (#47009)
(cherry picked from commit 8a4ce20172)
(cherry picked from commit c8eb726046)
(cherry picked from commit 6fb3db01ac)
2018-01-22 14:39:57 +05:30
Evan Hunt
1f41fde488 [v9_10] fix merge error
(cherry picked from commit cdda779d07)
2018-01-18 13:29:15 -08:00
Evan Hunt
d75441a500 [v9_10] normalize rndc on/off commands
4867.	[cleanup]	Normalize rndc on/off commands (validation and
			querylog) so they accept the same synonyms
			for on/off (yes/no, true/false, enable/disable).
			Thanks to Tony Finch. [RT #47022]

(cherry picked from commit cf8f4241e7)
(cherry picked from commit 4221d9cd1d)
2018-01-18 10:52:39 -08:00
Tinderbox User
b5c5aed2e1 update copyright notice / whitespace 2018-01-13 23:48:59 +00:00
Mukund Sivaraman
d072be0691 Fix various bugs reported by valgrind --tool=memcheck (#46978)
(cherry picked from commit f96133826e)
(cherry picked from commit 0374e1c3fd)
(cherry picked from commit 929329d2d6)
2018-01-13 11:52:17 +05:30
Mark Andrews
0a7dd90490 test devent->sigrdataset rather than devent->rdataset before calling query_putrdataset
(cherry picked from commit e08a31e317)
2018-01-05 12:40:59 +11:00
Tinderbox User
0df4e44735 update copyright notice / whitespace 2018-01-04 23:46:47 +00:00
Mark Andrews
83bcccef4a 4857. [bug] Maintain attach/detach semantics for event->db,
event->node, event->rdataset and event->sigrdataset
                        in query.c. [RT #46891]

(cherry picked from commit cad79077bd)
2018-01-04 13:15:25 +11:00
Mark Andrews
c975f0cc5c 4856. [bug] 'rndc zonestatus' reported the wrong underlying type
for a inline slave zone. [RT #46875]
2018-01-04 10:53:11 +11:00
Evan Hunt
9dfff4e378 [v9_10] fix "allow-transfer" inheritance and clean up ACL configuration
4836.	[bug]		Zones created using "rndc addzone" could
			temporarily fail to inherit an "allow-transfer"
			ACL that had been configured in the options
			statement. [RT #46603]

(cherry picked from commit e197a2bd15)
(cherry picked from commit f53e0bda46)
2017-11-30 13:13:18 -08:00
Tinderbox User
9bed3b4e14 update copyright notice / whitespace 2017-11-23 23:46:55 +00:00
Michał Kępień
600e425eb2 [v9_10] Disable parallel make inside bin/confgen/ and bin/named/
4826.	[cleanup]	Prevent potential build failures in bin/confgen/ and
			bin/named/ when using parallel make. [RT #46648]

(cherry picked from commit a573b93b46)
2017-11-23 11:46:59 +01:00
Michał Kępień
169ce30bf7 [v9_10] Stabilize logfileconfig system test
4818.	[test]		The logfileconfig system test could intermittently
			report false negatives on some platforms. [RT #46615]

(cherry picked from commit c7e57ce1b0)
2017-11-16 08:16:15 +01:00
Mark Andrews
89f63e9e10 fix merge error
(cherry picked from commit 48865bf022)
2017-11-01 11:58:20 +11:00
Mark Andrews
9f56e47984 4804. [port] win32: access() does not work on directories as
required by POSIX.  Supply a alternative in
                        isc_file_isdirwritable. [RT #46394]
2017-11-01 09:43:11 +11:00
Mark Andrews
4f4552b9fd Add system tests and remove redundent logging from:
4801.   [func]          'dnssec-lookaside auto;' and 'dnssec-lookaside .
                        trust-anchor dlv.isc.org;' now elicit warnings rather
                        than being fatal configuration errors. [RT #46410]

(cherry picked from commit f5e1b555c5)
2017-10-30 08:17:49 +11:00
Evan Hunt
cd2556d78c [v9_10] fix merge error; missing hunk from change 4780
(cherry picked from commit 4d39bffd95)
2017-10-24 10:09:56 -07:00
Evan Hunt
13435af49a [v9_10] omit NS from authority section if it was in answer
4780.	[bug]		When answering ANY queries, don't include the NS
			RRset in the authority section if it was already
			in the answer section. [RT #44543]

(cherry picked from commit b7b76d6b85)
2017-10-23 19:35:45 -07:00
Evan Hunt
33ab321a97 [v9_10] clean up a redundancy
4777.	[cleanup]	Removed a redundant call to configure_view_acl().
			[RT #46369]

(cherry picked from commit 89636d8f30)
(cherry picked from commit a06198688f)
2017-10-23 11:13:11 -07:00
Tinderbox User
3a3d6733ca update copyright notice / whitespace 2017-10-19 23:47:47 +00:00
Mark Andrews
20ea1dd8c8 4774. [bug] <isc/util.h> was incorrectly included in several
header files. [RT #46311]
2017-10-19 12:44:15 +11:00
Evan Hunt
b6b2b0b9b5 [v9_10] require writable managed keys directory
4769.	[bug]		Enforce the requirement that the managed keys
			directory (specified by "managed-keys-directory",
			and defaulting to the working directory if not
			specified) must be writable. [RT #46077]

(cherry picked from commit 56e30ebae6)
2017-10-17 21:35:19 -07:00
Mark Andrews
1be17c22cc silence VC compiler warning
(cherry picked from commit e09b9e7a91)
2017-10-07 14:06:08 +11:00
Tinderbox User
2f09ac92f1 update copyright notice / whitespace 2017-10-06 23:47:26 +00:00
Evan Hunt
dddf97d534 [v9_10] further restrict update-policy local
4762.	[func]		"update-policy local" is now restricted to updates
                from local addresses. (Previously, other addresses
                were allowed so long as updates were signed by the
                local session key.) [RT #45492]
2017-10-06 15:43:05 -07:00
Mark Andrews
3a1fa8eeea 4759. [func] Add logging channel "trust-anchor-telementry" to
record trust-anchor-telementry in incoming requests.
                            Both _ta-XXXX.<anchor>/NULL and EDNS KEY-TAG options
                            are logged.  [RT #46124]

    (cherry picked from commit b41c1aacbc)

(cherry picked from commit 1c8aa38b53)
2017-10-06 14:06:40 +11:00
Tinderbox User
1476addacf update copyright notice / whitespace 2017-10-05 23:47:09 +00:00
Mark Andrews
8360489f0f 4754. [bug] dns_zone_setview needs a two stage commit to properly
handle errors. [RT #45841]

(cherry picked from commit 2732d4922c)
2017-10-05 16:06:07 +11:00
Evan Hunt
e43e479d5b [v9_10] de-DLV
4749.	[func]		The ISC DLV service has been shut down, and all
			DLV records have been removed from dlv.isc.org.
			- Removed references to ISC DLV in documentation
			- Removed DLV key from bind.keys
			- No longer use ISC DLV by default in delv
			[RT #46155]
2017-10-03 00:52:58 -07:00
Mark Andrews
825f4a4869 4748. [cleanup] Sprintf to snprintf coversions. [RT #46132]
(cherry picked from commit a009d03a1a)
2017-10-03 14:55:57 +11:00
Mark Andrews
1f2ee1b48c 4744. [bug] Suppress trust-anchor-telementry queries if
validation is disabled. [RT #46131]

(cherry picked from commit dc0a792d94)
2017-09-29 09:34:26 +10:00
Mark Andrews
755e74bb28 4739. [cleanup] Address clang static analysis warnings. [RT #45952]
(cherry picked from commit f9f3f20d2d)
2017-09-27 13:00:57 +10:00
Evan Hunt
a6184ac6ee [v9_10] backport rpz tweaks
4713.	[cleanup]	Minor revisions to RPZ code to reduce
			differences with the development branch. [RT #46037]

(cherry picked from commit 68d7ff133c)
2017-09-26 11:03:26 -07:00
Tinderbox User
3ae4b027b9 update copyright notice / whitespace 2017-09-14 23:50:11 +00:00
Mark Andrews
759d231b5e #include <isc/string.h>
(cherry picked from commit 5fb0c09a5e)
2017-09-14 18:55:22 +10:00
Mark Andrews
f31a98ebbf more str{n}{cat,cpy} corrections rt45981_stage2
(cherry picked from commit cb629cdeda)
2017-09-14 18:40:23 +10:00
Tinderbox User
9b39cb394a update copyright notice / whitespace 2017-09-13 23:54:53 +00:00
Evan Hunt
e0ddfb109e [master] cleanup strcat/strcpy
4722.	[cleanup]	Clean up uses of strcpy() and strcat() in favor of
			strlcpy() and strlcat() for safety. [RT #45981]

(cherry picked from commit 114f95089c)
(cherry picked from commit 7cd594b842)
2017-09-13 00:18:44 -07:00
Mark Andrews
3534cc3144 4719. [bug] Address PVS static analyzer warnings. [RT #45946]
(cherry picked from commit 34130ee25a)
2017-09-13 09:53:13 +10:00
Mark Andrews
bdc943e86e sync option order with master 2017-09-06 17:26:52 +10:00