Commit Graph

8766 Commits

Author SHA1 Message Date
Mark Andrews
7858fff018 null pointer derefernce on out of memory 2012-11-30 00:58:32 +11:00
Mark Andrews
d6c2d961ea initialize the octet string to empty so that we don't free garbage on error 2012-11-29 18:12:25 +11:00
Mark Andrews
db899cbc4d 3425. [bug] "acacheentry" reference counting was broken resulting
in use after free. [RT #31908]
2012-11-27 16:04:09 +11:00
Mark Andrews
e50f5f3add dupped/created reversed in log message 2012-11-23 17:25:44 +11:00
Tinderbox User
bb9d319faa update copyright notice 2012-11-21 23:45:32 +00:00
ckb
1e8bf19d9a 3422. [bug] Added a clear error message for when the SOA does not
match the referral. [RT #31281]
2012-11-21 16:50:38 -06:00
Mark Andrews
38cd7a1f5d 3421. [bug] Named loops when re-signing if all keys are offline.
[RT #31916]

Squashed commit of the following:

commit f47af0ca6793687b9c8d08fd44b0c091ba5a4f9a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 21 17:45:21 2012 +1100

    dns_dns_zonediff_t -> dns_zonediff_t, clarify comment

commit 344edefc3ee90856a7ff990abe7971925ba843b2
Author: Mark Andrews <marka@isc.org>
Date:   Tue Nov 20 13:12:26 2012 +1100

    commit the zone changes if a keep was marked as being offline

commit cad2c2446ebfc20b6d8c4f6dd0d6596d7106cc0f
Author: Mark Andrews <marka@isc.org>
Date:   Tue Nov 20 13:08:29 2012 +1100

    check for looping when re-signing expiring.example
2012-11-21 17:49:19 +11:00
Mar Andrews
29813a0f2b 3420. [bug] Address VPATH compilation issues. [RT #31879] 2012-11-17 11:06:23 +00:00
Mark Andrews
dad1cea308 silence compiler warning 2012-11-16 07:44:47 +11:00
Mark Andrews
a5b60a166b link against @DNS_CRYPTO_LIBS@ 2012-11-15 12:41:23 +11:00
Mark Andrews
08ed0f97a1 3419. [bug] Memory leak on validation cancel. [RT #31869]
Squashed commit of the following:

commit 452b07ec7cb31784d90d9c2e45ca708df306302e
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 14 23:36:36 2012 +1100

    destroy fetch when canceling validator
2012-11-15 11:18:08 +11:00
ckb
9536448786 3417. [func] Optional new XML schema (version 3.0) for the
statistics channel adds query type statistics at the
			zone level, and flattens the XML tree and uses
			compressed format to optimize parsing. Includes new XSL
			that permits charting via the Google Charts API on
			browsers that support javascript in XSL.  To enable,
			build with "configure --enable-newstats". [RT #30023]
2012-11-14 14:48:01 -06:00
Mark Andrews
acfe8e50b9 Redo
3415.   [bug]           named could die with a REQUIRE failure if a valdation
                        was canceled. [RT #31804]
2012-11-14 07:43:42 +11:00
Mark Andrews
ee8323e489 3415. [bug] named could die with a REQUIRE failure id a valdation
was canceled. [RT #31804]

Squashed commit of the following:

commit d414d3cb4244daeca4159ac1f8a82322e4a20e5a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 7 14:19:28 2012 +1100

    check that val->fetch != NULL before calling dns_resolver_destroyfetch
2012-11-09 09:11:50 +11:00
Mark Andrews
d6ba9d2c64 spelling 2012-11-02 11:19:49 +11:00
Mark Andrews
87964200c7 3414. [bug] Address locking issues found by Coverity. [RT #31626] 2012-11-02 06:42:55 +11:00
Mark Andrews
f533578084 sock is potentially unused in use_min_mtu 2012-11-01 15:28:17 +11:00
Mark Andrews
ae2006beed uninitalised use 2012-11-01 13:53:45 +11:00
Mark Andrews
5ef4f01ca0 3412. [bug] Copy timeval structure from control message data.
[RT #31548]
2012-11-01 11:17:27 +11:00
Tinderbox User
895c5d9706 update copyright notice 2012-10-31 23:45:35 +00:00
Mark Andrews
81afe29e5a More coverity fixes:
3410.   [bug]           Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit 6fec07bbb69ead784063052f2099674f8b52c6b3
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 18:14:35 2012 +1100

    use strl{cat,cpy}

commit 19a5d3766f3dbc8a2944b21640a8226a89aae7ba
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 14:38:55 2012 +1100

    address unchecked xmlTextWriter* calls

Conflicts:
	bin/named/statschannel.c
	lib/dns/cache.c
	lib/dns/include/dns/cache.h
	lib/isc/task.c
2012-11-01 10:27:12 +11:00
Mark Andrews
63dbbc9c49 3411. [tuning] Use IPV6_USE_MIN_MTU or equivalent with TCP in addition to UDP. [RT #31690]
Squashed commit of the following:

commit bcbe9ae7a99e1f7f4236a22739a793b51ace8684
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 31 15:10:53 2012 +1100

    Use IPV6_USE_MIN_MTU for TCP as well as UDP
2012-11-01 08:43:31 +11:00
Mark Andrews
8cd1aff4da more: 3410. [bug] Addressed Coverity warnings. [RT #31626]
move set_refreshkeytimer call within loop so that keydata is valid.
2012-10-30 13:09:39 +11:00
Mark Andrews
98560539e4 check more dns_rdata_tostruct returns 2012-10-30 08:50:33 +11:00
Mark Andrews
2cbabb24b6 3410. [bug] Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit bce2efe66d69d60b746b85df49974ca341723169
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:59:25 2012 +1100

    use 'static dns_rdata_xxxx_t xxxx'

commit 704d3c29acbf2dd350a26f2df82a57cb077ba72e
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:35:16 2012 +1100

    return ISC_R_NOTFOUND if private record length does not make sense

commit 7596610c12c5685336fc0909860173d2fae359af
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:41:17 2012 +1100

    check private->length == 5

commit 3836365a3e3e83b057bd940350f032279e080296
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:40:50 2012 +1100

    properly set private->length

commit a295778ac53109d39ef3a8b233751100edae678b
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:13:30 2012 +1100

    check dns_rdata_tostruct result

commit e33c37ca9112159e0b2363615bb018d27fa7d1a5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:10:43 2012 +1100

    check remove/fopen/chmod return values

commit 3a675e0666aae25d1c51f51ec7bd3fbe25545aae
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:59:10 2012 +1100

    check isc_socket_accept result

commit 696923344f4b07ce0dba4cf2675b1cbb6eba7e8e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:55:40 2012 +1100

    change variable scopes

commit b9e9d9ad58270271003e463f10744e0ceaf9ad97
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:53:19 2012 +1100

    check inet_pton return value

commit 70698e9589da77e3745efb6ea24b8830addd6ae4
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:40 2012 +1100

    break -> /* NOTREACHED */

commit 88de9de2e8e201ab2fef16a868f241e8206ea826
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:06 2012 +1100

    strcpy -> strlcpy

commit 6ba79c7cec0e48014cdfa76e8a9406b7a921556e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:51:26 2012 +1100

    check dns_rdata_tostruct return values
2012-10-29 20:05:44 +11:00
Tinderbox User
90f33d8979 update copyright notice 2012-10-27 23:46:27 +00:00
Mark Andrews
a2d4079a50 remove duplicate ruleset 2012-10-27 16:46:53 +11:00
Tinderbox User
4b043520d6 update copyright notice 2012-10-26 23:45:36 +00:00
Evan Hunt
d708e4c4f1 [v9_9] allow dnssec options in inline-signing slaves
3408.	[bug]		Some DNSSEC-related options (update-check-ksk,
			dnssec-loadkeys-interval, dnssec-dnskey-kskonly)
			are now legal in slave zones as long as
			inline-signing is in use. [RT #31078]
(cherry picked from commit f46168b879)
2012-10-26 16:15:48 -07:00
Evan Hunt
7cec7ec1d2 [v9_9] backport performance changes from 9.10
3316.   [tuning]        Improved locking performance when recursing.
                        [RT #28836]

3315.   [tuning]        Use multiple dispatch objects for sending upstream
                        queries; this can improve performance on busy
                        multiprocessor systems by reducing lock contention.
                        [RT #28605]
2012-10-26 10:14:29 -07:00
Evan Hunt
76e34eb2fd [v9_9] address mem.c compilation problems
3406.	[bug]		mem.c: Fix compilation errors when building with
			ISC_MEM_TRACKLINES or ISC_MEMPOOL_NAMES disabled.
                        Also, ISC_MEM_DEBUG is no longer optional. [RT #31559]
(cherry picked from commit 2f57f353e8)
2012-10-25 18:57:44 -07:00
Tinderbox User
06187c0d67 update copyright notice 2012-10-25 23:46:42 +00:00
Mark Andrews
069ea15204 3405. [bug] Handle time going backwards in acache. [RT #31253]
Squashed commit of the following:

commit fbf4c8fe2644c101bac870360d3f2c159a90f203
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 24 14:43:14 2012 +1100

    remove INSIST and handle time going backwards
2012-10-25 14:29:52 +11:00
Tinderbox User
c78ae4c91b update copyright notice 2012-10-24 23:46:36 +00:00
Evan Hunt
4f5f450eb8 [v9_9] silence warning 2012-10-24 15:40:20 -07:00
Evan Hunt
40fce87384 [v9_9] silence unused variable warning 2012-10-24 15:36:22 -07:00
Evan Hunt
c06eae9b1b [v9_9] fix fedora 17 ecdsa compilation problem
(cherry picked from commit c241017dcd)
2012-10-24 13:57:10 -07:00
Evan Hunt
152c393671 [v9_9] silence noisy OpenSSL logging
3402.	[bug]		Correct interface numbers for IPv4 and IPv6 interfaces.
(cherry picked from commit 0e37e9e3d7)
2012-10-24 13:00:06 -07:00
Evan Hunt
2589af5868 [v9_9] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
(cherry picked from commit 47c5b8af92)
2012-10-23 22:12:15 -07:00
Mark Andrews
e0bf9e9788 3399. [port] netbsd: rename 'bool' parameter to avoid namespace
clash.  [RT #31515]
2012-10-22 11:42:58 +11:00
Tinderbox User
811dfe79ce update copyright notice 2012-10-19 23:45:42 +00:00
Mark Andrews
9aad7a6dd0 remove redundant UNUSED(callbacks) 2012-10-19 16:29:34 +11:00
Tinderbox User
9791c6c91a update copyright notice 2012-10-18 23:45:54 +00:00
Mark Andrews
74dec1b138 3398. [bug] SOA parameters were not being updated with inline
signed zones if the zone was modified while the
                        server was offline. [RT #29272]
2012-10-19 10:25:51 +11:00
Mark Andrews
1a8c058882 3396. [bug] OPT records were incorrectly removed from signed,
truncated responses. [RT #31439]
2012-10-18 13:26:55 +11:00
Mark Andrews
db93abcc96 missing space before other len after change #3389 2012-10-17 12:50:09 +11:00
Mark Andrews
a9ed19a031 3394. [bug] Adjust 'sucessfully validated after lower casing
signer' log level and category. [RT #31414]
2012-10-16 11:56:28 +11:00
Mark Andrews
68c0cbfba6 remove redundent call 2012-10-12 21:57:53 +11:00
Mark Andrews
89dbf43b16 fix typos in variable names 2012-10-10 13:11:28 +11:00
Mark Andrews
120fecbf3d silence compiler warning 2012-10-08 14:30:31 +11:00