Commit graph

471 commits

Author SHA1 Message Date
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
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
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
b51818af06 update copyright notice / whitespace 2017-03-16 23:48:48 +00:00
Mark Andrews
62fd33b09c 4581. [port] Linux: Add getpid and getrandom to the list of system
calls named uses for seccomp. [RT #44883]

(cherry picked from commit f94f3e2791)
2017-03-16 11:25:39 +11:00
Mark Andrews
88ec925cfc added -T keepstderr to keep stderr open when daemonizing [RT #43736]
(cherry picked from commit c9ee977f31)
2016-12-05 10:38:59 +11:00
Evan Hunt
17de0f290c [v9_10] error on bad parameter to 'rndc dumpdb'
4433.	[cleanup]	Report an error when passing an invalid option or
			view name to "rndc dumpdb". [RT #42958]

(cherry picked from commit c38d989fdd)
2016-08-11 16:12:00 -07:00
Tinderbox User
7a90fc75f5 update copyright notice / whitespace 2016-07-22 23:48:53 +00:00
Mark Andrews
aa1a7e1e58 4424. [experimental] Named now sends _ta-XXXX.<trust-anchor>/NULL queries
to provide feedback to the trust-anchor administrators
                        about how key rollovers are progressing as per
                        draft-ietf-dnsop-edns-key-tag-02.  This can be
                        disabled using 'trust-anchor-telemetry no;'.
                        [RT #40583]

(cherry picked from commit f20179857a)
2016-07-22 20:16:59 +10:00
Tinderbox User
390881b8d4 update copyright notice / whitespace 2016-07-11 23:48:11 +00:00
Mark Andrews
c061a3d842 4409. [bug] DNS64 should exlude mapped addresses by default when
a exclude acl is not defined. [RT #42810]
2016-07-11 14:16:15 +10:00
Tinderbox User
5c174bc119 update copyright notice / whitespace 2016-06-16 23:45:43 +00:00
Mark Andrews
17c01907d6 backport dns_name_t *name -> const dns_name_t *name
(cherry picked from commit ded95d497df16579852356fc5434671d24c7f00d)
2016-06-16 21:42:10 +10:00
Tinderbox User
00882e92c9 update copyright notice / whitespace 2016-01-22 23:45:51 +00:00
Evan Hunt
a3723512c8 [v9_10] expanded query trace logging
4300.	[cleanup]	Added new querytrace logging. [RT #41155]
2016-01-22 14:23:50 -08:00
Evan Hunt
d1ce32ad70 [v9_10] allow spaces in rndc arguments
4256.	[bug]		Allow rndc command arguments to be quoted so as
			to allow spaces. [RT #36665]

(cherry picked from commit b513918481)
2015-11-05 21:11:17 -08:00
Tinderbox User
cd704a2c5d update copyright notice / whitespace 2015-09-29 23:46:09 +00:00
Mark Andrews
e312d43579 make macro name match category name
(cherry picked from commit 4d085258cc)
2015-09-29 15:04:03 +10:00
Tinderbox User
becbacfb68 update copyright notice / whitespace 2015-08-14 23:45:57 +00:00
Mark Andrews
516f52a820 4176. [bug] Address race issues with lwresd. [RT #40284]
(cherry picked from commit 563878539a)
2015-08-14 15:48:17 +10:00
Evan Hunt
83d0b1ab69 [v9_10] DDoS mitigation features
3938.	[func]		Added quotas to be used in recursive resolvers
			that are under high query load for names in zones
			whose authoritative servers are nonresponsive or
			are experiencing a denial of service attack.

			- "fetches-per-server" limits the number of
			  simultaneous queries that can be sent to any
			  single authoritative server.  The configured
			  value is a starting point; it is automatically
			  adjusted downward if the server is partially or
			  completely non-responsive. The algorithm used to
			  adjust the quota can be configured via the
			  "fetch-quota-params" option.
			- "fetches-per-zone" limits the number of
			  simultaneous queries that can be sent for names
			  within a single domain.  (Note: Unlike
			  "fetches-per-server", this value is not
			  self-tuning.)
			- New stats counters have been added to count
			  queries spilled due to these quotas.

			These options are not available by default;
			use "configure --enable-fetchlimit" (or
			--enable-developer) to include them in the build.

			See the ARM for details of these options. [RT #37125]
2015-07-08 22:55:31 -07:00
Tinderbox User
102554f26f update copyright notice / whitespace 2015-06-12 23:45:59 +00:00
Witold Krecicki
e71cc07e40 rndc reconfig reports configuration errors the same way rndc reload does [RT #39635] 2015-06-12 11:08:21 +02:00
Tinderbox User
332ca2a157 update copyright notice / whitespace 2015-02-26 23:45:49 +00:00
Evan Hunt
8dfc6c27f1 [v9_10] Add facility to run system test nameds under Valgrind (#38546) 2015-02-25 16:21:49 -08:00
Mark Andrews
e5d902504f 4017. [testing] Add system test to check lookups to legacy servers
with broken DNS behaviour. [RT #37965]
2014-12-04 07:05:18 +11:00
Evan Hunt
6fd51d5088 [v9_10] limit recursion depth and iterative queries
4006.	[security]	A flaw in delegation handling could be exploited
			to put named into an infinite loop.  This has
			been addressed by placing limits on the number
			of levels of recursion named will allow (default 7),
			and the number of iterative queries that it will
			send (default 50) before terminating a recursive
			query (CVE-2014-8500).

			The recursion depth limit is configured via the
			"max-recursion-depth" option.  [RT #35780]
2014-11-17 23:48:20 -08:00
Mark Andrews
b7103cc603 3968. [bug] Silence spurious log messages when using 'named -[46]'.
[RT #37308]

(cherry picked from commit 6979ebf549)
2014-10-03 08:06:25 +10:00
Mark Andrews
32935449c8 3924. [bug] Improve 'rndc addzone' error reporting. RT #35187
(cherry picked from commit d4859b0b2a)
2014-08-22 16:19:07 +10:00
Tinderbox User
81c00e3f87 update copyright notice 2014-08-18 23:45:46 +00:00
Mark Andrews
5f0d37cc28 3915 [bug] Address a assertion if a route event arrived while
shutting down. [RT #36887]
2014-08-18 13:16:28 +10:00
Tinderbox User
dc4ffd8e06 update copyright notice 2014-06-19 23:45:51 +00:00
Evan Hunt
06ad948626 [v9_10] enable libseccomp system call filtering
3851.	[func]		Allow libseccomp based system-call filtering
			on Linux; use "configure --enable-seccomp" to
			turn it on.  Thanks to Loganaden Velvindron for
			the contribution. [RT #35347]
2014-06-19 15:48:28 -07:00
Evan Hunt
a71b8efb04 [v9_10] update gitignore files; use rev-parse to get srcid
(cherry picked from commit a4e76a630e)
2014-06-17 13:49:44 -07:00
Mark Andrews
79bd3cf027 we only use 32 octets 2014-02-26 15:54:23 +11:00
Mark Andrews
02a5e3ed85 3755. [func] Add stats counters for known EDNS options + others.
[RT #35447]
2014-02-24 09:24:25 +11:00
Tinderbox User
20a96edbf9 update copyright notice 2014-02-20 23:46:35 +00:00
Mark Andrews
47cb20eae1 add EDNS EXPIRE processing on ixfr and axfr out 2014-02-20 17:51:31 +11:00
Mark Andrews
16134801ce 3750. [experimental] Partially implement EDNS EXPIRE option as described
in draft-andrews-dnsext-expire-00.  Retrivial of
                        remaining time to expiry from slave zones is supported.

                        EXPIRE uses an experimental option code (65002) and
                        is subject to change. [RT #35416]
2014-02-20 14:56:20 +11:00
Mark Andrews
e676a59686 update copyrights 2014-02-20 10:53:11 +11:00
Mark Andrews
b5f6271f4d 3744. [experimental] SIT: send and process Source Identity Tokens
(which are similar to DNS Cookies by Donald Eastlake)
                        and are designed to help clients detect off path
                        spoofed responses and for servers to detect legitimate
                        clients.

                        SIT use a experimental EDNS option code (65001).

                        SIT can be enabled via --enable-developer or
                        --enable-sit.  It is on by default in Windows.

                        RRL processing as been updated to know about SIT with
                        legitimate clients not being rate limited. [RT #35389]
2014-02-19 12:53:42 +11:00
Evan Hunt
31f6244cc2 [master] tcp and udp stats counters
3739.	[func]		Added per-zone stats counters to track TCP and
			UDP queries. [RT #35375]
2014-02-15 20:57:00 -08:00
Tinderbox User
81f58902eb update copyright notice 2014-02-07 23:46:39 +00:00
Mark Andrews
62ec9fd168 3733. [func] Improve interface scanning support. Interface
information will be automatically updated if the
                        OS supports routing sockets.  Use
                        "automatic-interface-scan no;" to disable.

                        Add "rndc scan" to trigger a scan. [RT #23027]
2014-02-07 17:16:37 +11:00
Mark Andrews
e20788e121 update copyrights 2014-01-16 15:19:24 +11:00
Evan Hunt
ba751492fc [master] native PKCS#11 support
3705.	[func]		"configure --enable-native-pkcs11" enables BIND
			to use the PKCS#11 API for all cryptographic
			functions, so that it can drive a hardware service
			module directly without the need to use a modified
			OpenSSL as intermediary (so long as the HSM's vendor
			provides a complete-enough implementation of the
			PKCS#11 interface). This has been tested successfully
			with the Thales nShield HSM and with SoftHSMv2 from
			the OpenDNSSEC project. [RT #29031]
2014-01-14 15:40:56 -08:00
Tinderbox User
2cf1d5b098 update copyright notice 2014-01-12 23:46:23 +00:00