Commit graph

10314 commits

Author SHA1 Message Date
Evan Hunt
d10e669c55 [v9_10] clean up DNS_MESSAGETEXTFLAG comments
(cherry picked from commit 89d1777560)
2017-10-25 21:34:24 -07:00
Tinderbox User
508337e118 update copyright notice / whitespace 2017-10-25 23:52:15 +00:00
Evan Hunt
2586526a0a [v9_10] log when update-policy local gets a key match from a remote host
4788.	[cleanup]	When using "update-policy local", log a warning
			when an update matching the session key is received
			from a remote host. [RT #46213]

- this completes change #4762.
2017-10-25 01:08:07 -07:00
Michał Kępień
54a43e9bf1 [v9_10] Rename nsec3param_salt_totext() to dns_nsec3param_salttotext(), make it public, add unit tests
4786.	[cleanup]	Turn nsec3param_salt_totext() into a public function,
			dns_nsec3param_salttotext(), and add unit tests for it.
			[RT #46289]

(cherry picked from commit 5e1ca7a326)
2017-10-25 09:50:58 +02:00
Michał Kępień
dadca599da [v9_10] Remove REQUIRE preventing change 4592 from working
Change 4592 was supposed to replace a REQUIRE with a conditional return.
While the latter was added, the former was not removed.  Remove the
relevant REQUIRE to fix RT #43822 for good.

(cherry picked from commit a94d68ce43)
2017-10-24 21:11:52 +02:00
Evan Hunt
a86bc0304a [v9_10] update B.ROOT-SERVERS.NET 2017-10-24 09:17:28 -07:00
Tinderbox User
3a3d6733ca update copyright notice / whitespace 2017-10-19 23:47:47 +00:00
Mark Andrews
e2a0aab747 s/REQUIRE/ISC_REQUIRE/; include <isc/assertions.h> if ISC_REQUIRE is used; include <isc/likely.h> if ISC_{UN}LIKELY is used
(cherry picked from commit 0fab171196)
2017-10-19 16:54:18 +11:00
Evan Hunt
d0d9b93391 [v9_10] remove reference to ht.h 2017-10-18 19:53:06 -07: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
Tinderbox User
69b5243372 update copyright notice / whitespace 2017-10-17 23:50:51 +00:00
Michał Kępień
5e6d28e1b7 [v9_10] Doxygen fixes and cleanups
4773.	[doc]		Fixed generating Doxygen documentation for functions
			annotated using certain macros.  Miscellaneous
			Doxygen-related cleanups. [RT #46276]

(cherry picked from commit ad9772c559)
2017-10-17 08:11:55 +02:00
Tinderbox User
22663231d6 update copyright notice / whitespace 2017-10-11 23:47:07 +00:00
Mark Andrews
d3ccefd918 reserve subscription flags
(cherry picked from commit a9a983781e)
2017-10-12 09:20:25 +11:00
Evan Hunt
b8d1e3cd5d [v9_10] ignore cache when sending 5011 refresh queries
4771.	[bug]		When sending RFC 5011 refresh queries, disregard
			cached DNSKEY rrsets. [RT #46251]

(cherry picked from commit b2597ce86b)
2017-10-11 14:29:50 -07:00
Evan Hunt
07e25984b8 [v9_10] reduce unnecessary priming queries
4770.	[bug]		Cache additional data from priming queries as glue.
			Previously they were ignored as unsigned
			non-answer data from a secure zone, and never
			actually got added to the cache, causing hints
			to be used frequently for root-server
			addresses, which triggered re-priming. [RT #45241]

(cherry picked from commit 5de02a075b)
(cherry picked from commit 6216df5ccd)
2017-10-11 09:14:22 -07:00
Michał Kępień
eb0920f784 [v9_10] Sync draft-durand-doa-over-dns snippet in lib/dns/tests/rdata_test.c with draft version -03 2017-10-09 10:53:08 +02:00
Mark Andrews
7bca69210f 4766. [cleanup] Addresss Coverity warnings. [RT #46150]
(cherry picked from commit 5df3f839b2)
2017-10-09 18:38:23 +11:00
Evan Hunt
0e30df7847 [v9_10] add missing names 2017-10-06 17:39:05 -07: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
Michał Kępień
3402ce550a [v9_10] Add support for DOA
4761.	[protocol]	Add support for DOA. [RT #45612]

(cherry picked from commit 4ee1fbe056)
2017-10-06 12:56:58 +02:00
Mark Andrews
09fee80ff8 add dns_name_istat to libdns.def.in 2017-10-06 14:24:18 +11: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
Mark Andrews
67b2a90235 cast to unsigned int
(cherry picked from commit 34efd9ad93)
2017-10-05 13:35:19 +11:00
Tinderbox User
7994863f90 update copyright notice / whitespace 2017-10-04 23:47:03 +00:00
Mark Andrews
3300d816b7 silence compiler warning 2017-10-04 18:08:19 +11:00
Mark Andrews
f36ee87f84 #undef inet_ntop
(cherry picked from commit 396125eefe)
2017-10-04 17:50:27 +11:00
Mark Andrews
118653b38d add isctest.@O@ dependancy 2017-10-04 17:19:43 +11:00
Mark Andrews
ab491ab5a6 sort 2017-10-04 17:15:47 +11:00
Mark Andrews
28b311d1ad tabify 2017-10-04 14:34:19 +11:00
Mark Andrews
d1e38b4734 4752. [test] Add unit test for isc_net_pton. [RT #46171]
(cherry picked from commit 5fcdb09126)
2017-10-04 14:22:12 +11:00
Evan Hunt
b434598b0a [v9_10] missing declaration of INSIST 2017-10-03 20:03:25 -07:00
Tinderbox User
aafc292564 update copyright notice / whitespace 2017-10-03 23:47:11 +00: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
Tinderbox User
957dd25717 update copyright notice / whitespace 2017-09-27 23:47:43 +00:00
Mark Andrews
b996491e66 switch to using snprintf from sprintf
(cherry picked from commit d386eb54c6)
2017-09-28 07:16:27 +10:00
Mukund Sivaraman
6da7b3227c Make isc_refcount_current() atomically read the counter value (#46074)
(cherry picked from commit abb8813a33)
(cherry picked from commit a8fa3e2d44)
2017-09-27 15:11:05 +05:30
Mukund Sivaraman
b85bb66388 Use stdatomic.h in acache code (#46085)
Part of change 4728.

(cherry picked from commit d0d2ba9546)
2017-09-27 15:00:09 +05:30
Mark Andrews
124f5de567 tcp test got reversed
(cherry picked from commit b4c31c8795)
2017-09-27 15:20:25 +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
Mark Andrews
5d6a51ce1b 4737. [cleanup] Address Coverity warnings. [RT #46012]
(cherry picked from commit 08151d7fce)
2017-09-26 23:25:02 +10:00
Michał Kępień
c024e79d2d [v9_10] Comment NSEC3-related code and fix a few minor issues
4736.	[cleanup]	(a) Added comments to NSEC3-related functions in
			lib/dns/zone.c.  (b) Refactored NSEC3 salt formatting
			code.  (c) Minor tweaks to lock and result handling.
			[RT #46053]

(cherry picked from commit acc3728c47)
2017-09-26 11:28:47 +02:00
Mukund Sivaraman
7cf6516670 Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
(cherry picked from commit fb9712f639)
(cherry picked from commit dc0d95a23d)
2017-09-22 15:15:59 +05:30
Mark Andrews
abe0548125 #include <isc/string.h> as it includes both <string.h> and <strings.h> if they both exist
(cherry picked from commit 6138c5a5e4)
2017-09-22 18:09:58 +10:00