Commit graph

2677 commits

Author SHA1 Message Date
Evan Hunt
d40f68e089 [v9_10] wrong dlopen filename caused segfault
3878.	[bug]		Using the incorrect filename for a DLZ module
			caused a segmentation fault on startup. [RT #36286]

(cherry picked from commit c1d33c159b)
2014-06-12 19:34:02 -07:00
Mark Andrews
9becd4c7d6 3872. [bug] Address issues found by static analysis. [RT #36209]
(cherry picked from commit b16d99bac1)
2014-06-10 09:22:43 +10:00
Mark Andrews
b6bcb386dc 3866. [bug] Named could die on disk full in generate_session_key.
[RT #36119]

(cherry picked from commit fa6308bd57)
2014-05-30 14:39:05 +10:00
Mark Andrews
c849d67fdb More changes for:
3864.   [bug]           RPZ didn't work well when being used as forwarder.
                        [RT #36060]
2014-05-30 08:46:54 +10:00
Mukund Sivaraman
509856d414 Fix number of args to rpz_log_rewrite() 2014-05-29 18:37:54 +05:30
Mark Andrews
e3befb38c9 3864. [bug] RPZ didn't work well when being used as forwarder.
[RT #36060]
2014-05-29 17:02:36 +10:00
Mark Andrews
5defbb76ea 3863. [bug] The "E" flag was missing from the query log as a
unintended side effect of code rearrangement to
                        support EDNS EXPIRE. [RT #36117]
2014-05-29 08:05:39 +10:00
Mark Andrews
921b535e32 3862. [cleanup] Return immediately if we are not going to log the
message in ns_client_dumpmessage.

(cherry picked from commit 9b819daddf)
2014-05-27 12:22:53 +10:00
Mark Andrews
779885fc06 3856. [bug] Configuring libjson without also configuring libxml
resulting in a REQUIRE assertion when retrieving
                        statistics using json. [RT #36009]
2014-05-21 12:06:31 +10:00
Mark Andrews
0fe09c71ab 3849. [bug] Disabling forwarding could trigger a REQUIRE assertion.
[RT #35979]

(cherry picked from commit 01f881c1c5)
2014-05-15 16:55:55 +10:00
Mark Andrews
19125269ba 3848. [bug] Adjust 'statistics-channels specified but not effective'
error message to account for JSON support. [RT #36008]

(cherry picked from commit a14fe85229)
2014-05-15 11:12:33 +10:00
Mark Andrews
2b9dccddb9 3842. [bug] Adjust RRL log-only logging category. [RT #35945]
(cherry picked from commit 2c172a42b3)
2014-05-11 11:00:19 +10:00
Mark Andrews
29e6ce6e60 3837. [security] A NULL pointer is passed to query_prefetch resulting
a REQUIRE assertion failure when a fetch is actually
                        initiated.  [ RT #35899]

Squashed commit of the following:

commit 7f4e1f3917d743089c42cc52ec2c0eea598d2c00
Author: Mukund Sivaraman <muks@isc.org>
Date:   Sun May 4 22:34:34 2014 +0530

    Fix a comment

commit 6a35a6a2346013fa8e3798b9b680d8a3031fcb03
Author: Mark Andrews <marka@isc.org>
Date:   Sun May 4 23:34:25 2014 +1000

    pass the correct name to query_prefetch

(cherry picked from commit b36fc8294e)
2014-05-05 10:12:39 +10:00
Evan Hunt
00e9952c41 [v9_10] log static-stub correctly when removing
3822.	[bug]		Log the correct type of static-stub zones when
			removing them. [RT #35842]

(cherry picked from commit eb1a7730f0)
2014-04-26 10:19:20 -07:00
Evan Hunt
7ef5dc87b6 [master] detach route socket when shutting down
3800.	[bug]		A pending event on the route socket could cause an
			assertion failure when shutting down named. [RT #35674]
2014-04-03 19:48:29 -07:00
Evan Hunt
44fbdddcad [master] improve command line error reporting
3799.	[bug]		Improve named's command line error reporting.
			[RT #35603]
2014-04-03 19:34:48 -07:00
Mark Andrews
0dfd942409 3798. [bug] 'rndc zonestatus' was reporting the wrong re-signing
time. [RT #35659]
2014-04-04 11:33:49 +11:00
Mark Andrews
c73a7e127f 3792. [func] Provide links to the alternate statistics views when
displaying in a browser.  [RT #35605]

Squashed commit of the following:

commit 7ac73b584aa6e026a1deb124257d3a2ed1fc64cc
Author: Evan Hunt <each@isc.org>
Date:   Mon Mar 24 21:47:28 2014 -0700

    [rt35605] tweak

commit b18bccc570803293f819c04f324f91b446a67756
Author: Mark Andrews <marka@isc.org>
Date:   Tue Mar 25 14:20:07 2014 +1100

    provide links to alternate statistic views
2014-03-25 15:56:40 +11:00
Mark Andrews
09ab38c151 3790. [bug] Handle broken nameservers that send BADVERS in
response to unknown EDNS options.  Maintain
                        statistics on BADVERS responses.
2014-03-20 05:00:55 +11:00
Mark Andrews
9f1959f0a7 silence signed/unsigned comparision warning 2014-03-16 11:14:26 +11:00
Evan Hunt
a7742a8885 [master] silence win64 build warning 2014-03-13 13:30:26 -07:00
Evan Hunt
acbb301e64 [master] better error output when initializing pkcs11
3786.	[func]		Provide more detailed error codes when using
			native PKCS#11. "pkcs11-tokens" now fails robustly
			rather than asserting when run against an HSM with
			an incomplete PCKS#11 API implementation. [RT #35479]
2014-03-12 20:52:01 -07:00
Evan Hunt
89740699cd [master] fixed 'fixed'
3784.	[bug]		Using "rrset-order fixed" when it had not been
			enabled at compile time caused inconsistent
			results. It now works as documented, defaulting
			to cyclic mode. [RT #28104]
2014-03-12 08:45:44 -07:00
Mark Andrews
ca7aeeab71 make constant unsigned 2014-03-12 14:04:29 +11:00
Mark Andrews
f5375b1b8e check isc_hex_totext result 2014-03-12 12:58:09 +11:00
Evan Hunt
62258ada48 [master] auto-generate salt
3781.	[func]		Specifying "auto" as the salt when using
			"rndc signing -nsec3param" causes named to
			generate a 64-bit salt at random. [RT #35322]
2014-03-11 08:46:58 -07:00
Evan Hunt
78f79084fc [master] warn when wrong address family used in listen-on/-v6
3778.	[bug]		Log a warning when the wrong address family is
			used in "listen-on" or "listen-on-v6". [RT #17848]
2014-03-07 11:31:51 -08:00
Evan Hunt
e29c2b3903 [master] fix misuses of isc__buffer functions, update comment 2014-03-06 17:26:21 -08:00
Evan Hunt
a2fd1de97d [master] fix DLZ coredump
3777.	[bug]		EDNS EXPIRE code could dump core when processing
			DLZ queries. [RT #35493]
2014-03-06 11:06:30 -08:00
Tinderbox User
cc2a515684 update copyright notice 2014-03-04 23:46:15 +00:00
Evan Hunt
b454c03196 [master] use ANSI prototypes, clean up some casts 2014-03-04 10:42:25 -08:00
Evan Hunt
d51456e453 [master] fix API mismatch bug in DLZ
3775.	[bug]		dlz_dlopen driver could return the wrong error
			code on API version mismatch, leading to a segfault.
			[RT #35495]
2014-03-04 08:58:40 -08:00
Evan Hunt
262fea6637 [master] fix log level for built in keys
3771.	[cleanup]	Adjusted log level for "using built-in key"
			messages. [RT #24383]
2014-03-01 15:51:21 -08:00
Evan Hunt
368aedf188 [master] log when using rndc.key
3767.	[func]		Log explicitly when using rndc.key to configure
			command channel. [RT #35316]
2014-02-27 17:55:04 -08:00
Tinderbox User
794b79e6bb regen master 2014-02-28 01:07:06 +00:00
Tinderbox User
938440694b update copyright notice 2014-02-27 23:46:22 +00:00
Evan Hunt
1753d3c4d7 [master] correct dates in man pages 2014-02-27 11:43:10 -08:00
Mark Andrews
79bd3cf027 we only use 32 octets 2014-02-26 15:54:23 +11:00
Mark Andrews
ed70f92dd0 use ISC_PLATFORM_USESIT 2014-02-24 09:54:04 +11:00
Mark Andrews
9e39bafd2e adjust SIT computation 2014-02-24 09:29:49 +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
Mark Andrews
c48c691c4f check for zone being NULL 2014-02-24 08:52:15 +11:00
Mark Andrews
6d7aa71f2f encrypt nonce and time 2014-02-24 07:16:00 +11:00
Francis Dupont
35bcef6631 fixed ENABLE_LTR typos 2014-02-23 09:37:32 +01:00
Mark Andrews
89b23dc57e silence compiler warning 2014-02-23 11:44:12 +11:00
Tinderbox User
20a96edbf9 update copyright notice 2014-02-20 23:46:35 +00:00
Tinderbox User
0e1dece22e regen master 2014-02-20 19:19:27 +00:00
Mark Andrews
80b37f909a increment dns_nsstatscounter_recursclients when prefetching 2014-02-21 01:40:54 +11:00
Mark Andrews
47cb20eae1 add EDNS EXPIRE processing on ixfr and axfr out 2014-02-20 17:51:31 +11:00
Evan Hunt
83eecff731 [master] adjust default -U
3751.	[tuning]	The default setting for the -U option (setting
			the number of UDP listeners per interface) has
			been adjusted to improve performance. [RT #35417]
2014-02-19 21:54:43 -08:00