Commit Graph

1841 Commits

Author SHA1 Message Date
Mark Andrews
66c6414b97 Declare the 'rdata' argument for dns_rdata_tostruct() to be const
(cherry picked from commit abb2fd1027)
2018-06-15 08:52:54 +02:00
Mark Andrews
3890b5d7ba add named.conf option root-key-sentinel
(cherry picked from commit 68e9315c7d)
(cherry picked from commit ee763ef281)
(cherry picked from commit 9a5f308287)
(cherry picked from commit 468a3bcdac)
2018-06-04 21:30:33 -07:00
Evan Hunt
d5456e7318 add header guards in files that were missing them
(cherry picked from commit 4247477b61)
(cherry picked from commit 7f61e9d50e)
2018-04-22 13:01:07 -07:00
Evan Hunt
5a21193fdd update file headers 2018-03-15 11:30:37 -07:00
Ondřej Surý
9f830be501 update file headers to remove copyright years 2018-03-15 09:09:15 +01:00
Tinderbox User
0cba4c94d4 update copyright notice / whitespace 2018-02-07 23:52:52 +00:00
Mark Andrews
274b1ae55a 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:51:05 +11:00
Evan Hunt
12edba1c1b [v9_9] copyrights 2018-01-24 09:53:05 -08:00
Mark Andrews
cc30c2c06a 4876. [bug] Address deadlock with accessing a keytable. [RT #47000] 2018-01-24 21:43:52 +11:00
Tinderbox User
8d5a01a868 update copyright notice / whitespace 2018-01-13 23:50:30 +00:00
Mukund Sivaraman
4f47e5fd63 Fix various bugs reported by valgrind --tool=memcheck (#46978)
(cherry picked from commit f96133826e)
(cherry picked from commit 0374e1c3fd)
(cherry picked from commit 929329d2d6)
(cherry picked from commit d072be0691)
2018-01-13 12:02:18 +05:30
Evan Hunt
b783e3dfc7 [v9_9] clean up DNS_MESSAGETEXTFLAG comments
(cherry picked from commit 89d1777560)
2017-10-25 21:34:58 -07:00
Tinderbox User
f46bfe0899 update copyright notice / whitespace 2017-10-25 23:55:13 +00:00
Evan Hunt
dcaf355f00 [v9_9] 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:09:41 -07:00
Michał Kępień
c6753bad79 [v9_9] 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 54a43e9bf1)
2017-10-25 09:51:06 +02:00
Tinderbox User
2f5154f3b1 update copyright notice / whitespace 2017-10-19 23:49:30 +00:00
Mark Andrews
54eb949c35 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 17:00:13 +11:00
Evan Hunt
dd6b511f26 [v9_9] remove reference to ht.h 2017-10-18 19:54:22 -07:00
Mark Andrews
40e08f66a8 4774. [bug] <isc/util.h> was incorrectly included in several
header files. [RT #46311]
2017-10-19 12:54:44 +11:00
Tinderbox User
b17ca7e7f1 update copyright notice / whitespace 2017-10-17 23:53:44 +00:00
Michał Kępień
eb2c3bdfae [v9_9] 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 5e6d28e1b7)
2017-10-17 08:13:40 +02:00
Tinderbox User
0f155d79a0 update copyright notice / whitespace 2017-10-11 23:48:25 +00:00
Mark Andrews
6568dded83 reserve subscription flags
(cherry picked from commit a9a983781e)
2017-10-12 09:20:31 +11:00
Evan Hunt
c7a13bf188 [v9_9] 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)
(cherry picked from commit b8d1e3cd5d)
2017-10-11 14:37:30 -07:00
Tinderbox User
ab0f4f3a40 update copyright notice / whitespace 2017-10-06 23:48:57 +00:00
Evan Hunt
5cdb31e8df [v9_9] 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:42:54 -07:00
Tinderbox User
e862384f39 update copyright notice / whitespace 2017-10-05 23:48:31 +00:00
Mark Andrews
6085a44615 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:55:11 +11:00
Tinderbox User
de1ba63361 update copyright notice / whitespace 2017-09-18 23:58:51 +00:00
Michał Kępień
c0ef11fb2e [v9_9] Prevent possible infinite signing loop after retransferring an inline-signed slave using NSEC3
4727.	[bug]		Retransferring an inline-signed slave using NSEC3
			around the time its NSEC3 salt was changed could result
			in an infinite signing loop. [RT #45080]

(cherry picked from commit 4ceebc8874)
2017-09-18 09:30:56 +02:00
Tinderbox User
077f3c4e27 update copyright notice / whitespace 2017-09-14 00:03:54 +00:00
Evan Hunt
e59da386dc [v9_9] fix incorrect comment 2017-09-13 13:54:38 -07:00
Tinderbox User
bc81291842 update copyright notice / whitespace 2017-09-08 23:50:57 +00:00
Evan Hunt
e3c32fc3c1 [v9_9] change hash function for RRL
4709.	[cleanup]	Use dns_name_fullhash() to hash names for RRL.
			[RT #45435]

(cherry picked from commit f13385770e)
(cherry picked from commit b9fd54f8d4)
2017-09-08 15:47:26 -07:00
Tinderbox User
444cddf00b update copyright notice / whitespace 2017-08-24 23:54:52 +00:00
Mark Andrews
6f799a2e5a 4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
messages. [RT #44804]

(cherry picked from commit 07741d43c8)
2017-08-25 08:53:05 +10:00
Tinderbox User
f96e57a2c4 update copyright notice / whitespace 2017-07-31 23:49:05 +00:00
Francis Dupont
dea37aee81 Added Ed25519 support (#44696) 2017-07-31 17:02:24 +02:00
Tinderbox User
b5f2eaec62 update copyright notice / whitespace 2017-07-21 23:48:17 +00:00
Mark Andrews
169bf685a1 4654. [cleanup] Don't use C++ keywords delete, new and namespace.
[RT #45538]

(cherry picked from commit 4bf32aa587)
2017-07-21 12:50:13 +10:00
Tinderbox User
77dd47b406 update copyright notice / whitespace 2017-05-30 23:47:42 +00:00
Mark Andrews
fbfaa3e731 4629. [bug] dns_client_startupdate could not be called with a
running client. [RT #45277]

(cherry picked from commit e51d62ecae)
2017-05-30 10:07:15 +10:00
Tinderbox User
97c4ecec1b update copyright notice / whitespace 2017-05-11 23:47:22 +00:00
Mark Andrews
bd84d0a47a 4624. [bug] Check isc_mem_strdup results in dns_view_setnewzones.
[RT #45210]

(cherry picked from commit 5049d09bca)
2017-05-11 20:38:22 +10:00
Tinderbox User
65d4abb881 update copyright notice / whitespace 2017-04-23 23:47:17 +00:00
Evan Hunt
62fd7f8062 [v9_9] fix dispatch.c shutdown race
4952.	[bug]		A race condition on shutdown could trigger an
			assertion failure in dispatch.c. [RT #43822]

(cherry picked from commit 019132b70c)
2017-04-20 17:42:09 -07:00
Mark Andrews
182d657891 remove outdated cvs $Id strings 2017-02-03 18:44:36 +11:00
Tinderbox User
2444ab6b88 update copyright notice / whitespace 2017-02-02 23:48:58 +00:00
Evan Hunt
3e43702524 [v9_9] Squashed commit of the following:
4561.	[port]		Silence a warning in strict C99 compilers. [RT #44414]

(cherry picked from commit 6cb5e36ca3)
2017-02-01 17:31:37 -08:00
Tinderbox User
fd687693fd update copyright notice / whitespace 2017-01-11 23:47:22 +00:00