Commit Graph

9050 Commits

Author SHA1 Message Date
Mark Andrews
0c3a129e61 3708. [bug] Address a portentry locking issue in dispatch.c.
[RT #35128]

(cherry picked from commit 702958d202)
2014-01-15 15:55:59 +11:00
Mark Andrews
9f137000c4 3707. [bug] irs_resconf_load now returns ISC_R_FILENOTFOUND
on a missing resolv.conf file and initializes the
                        structure as if it had been configured with:

                                nameserver ::1
                                nameserver 127.0.0.1

                        Note: Callers will need to be updated to treat
                        ISC_R_FILENOTFOUND as a qualified success or else
                        they will leak memory. The following code fragment
                        will work with both only and new versions without
                        changing the behaviour of the existing code.

                        resconf = NULL;
                        result = irs_resconf_load(mctx, "/etc/resolv.conf",
                                                  &resconf);
                        if (result != ISC_SUCCESS) {
                                if (resconf != NULL)
                                        irs_resconf_destroy(&resconf);
                                ....
                        }

                        [RT #35194]

(cherry picked from commit cd7f8d18f8)
2014-01-15 15:24:58 +11:00
Mark Andrews
741592b07e silence compiler warning
(cherry picked from commit d8b83f0e2b)
2014-01-15 12:40:36 +11:00
Tinderbox User
e5ac85796f update copyright notice 2014-01-14 23:45:43 +00:00
Mark Andrews
b9c050cb9c 3704. [protocol] Accept integer timestamps in RRSIG records. [RT #35185] 2014-01-14 16:06:45 +11:00
Tinderbox User
ba3a0473b5 update copyright notice 2014-01-13 23:45:42 +00:00
Evan Hunt
65510ca0d7 [v9_9] See ticket 35140 for details.
Install some include files:

dns/client.h
dns/compress.h
dns/tsec.h
irs/resconf.h
irs/types.h
(I noticed these when building DHCP using installed BIND9.)

This was okayed during the 2014-01-02 BIND9 phone meeting.

(cherry picked from commit c55b7dce48)
2014-01-13 15:18:29 -08:00
Evan Hunt
f7a59390e6 [v9_9] fix win32 isc_time_set()
- also, mark XSL files as cacheable
2014-01-11 22:01:06 -08:00
Evan Hunt
590ffb7a4d [v9_9] missing prototype in time.h 2014-01-10 20:19:30 -08:00
Evan Hunt
27f1c9ff52 [v9_9] portable replacement for timegm() 2014-01-10 19:22:15 -08:00
Mark Andrews
14d98f724e update copyrights 2014-01-11 07:10:14 +11:00
Evan Hunt
5391fdab91 [v9_9] one more win32 build error 2014-01-10 11:21:25 -08:00
Evan Hunt
942006313c [v9_9] missing prototypes 2014-01-10 11:17:19 -08:00
Evan Hunt
348979ec7e [v9_9] fix win32 build problems 2014-01-10 10:58:51 -08:00
Evan Hunt
94a726d4b7 [v9_9] prep 9.9.5rc1 2014-01-10 09:20:32 -08:00
Mark Andrews
a89f89f11b add unit test for isc_time_parsehttptimestamp
(cherry picked from commit fd0f3e7cd8)
2014-01-11 00:33:45 +11:00
Mark Andrews
0e9a84c025 add ISC_PLATFORM_NEEDSTRCASESTR 2014-01-10 23:56:25 +11:00
Mark Andrews
7928d1c998 strptime returns time in the local time zone so use mktime
(cherry picked from commit 429ab67296)
2014-01-10 23:46:17 +11:00
Mark Andrews
81a8977eeb 3701. [func] named-checkconf can now suppress the printing of
shared secrets by specifying '-x'. [RT #34465]

(cherry picked from commit ff6de396a9)
2014-01-10 17:39:39 +11:00
Evan Hunt
de6f4dbceb [v9_9] add isc_string_strcasestr for portability
(cherry picked from commit 765ed22a844416f29253f5130548fef77f31881c)
2014-01-09 22:03:44 -08:00
Evan Hunt
43ace844b2 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-01-09 19:06:08 -08:00
Evan Hunt
712839e4d2 [v9_9] stats improvements (newstats only)
3699.  [bug]           Improvements to statistics channel XSL stylesheet:
                       the stylesheet can now be cached by the browser;
                       section headers are omitted from the stats display
                       when there is no data in those sections to be
                       displayed; counters are now right-justified for
                       easier readability. [RT #35117]
2014-01-09 18:41:21 -08:00
Tinderbox User
864ca7ce33 update copyright notice 2014-01-09 23:45:53 +00:00
Mark Andrews
72512a6031 silence compiler warning
(cherry picked from commit 109f477ed7)
2014-01-09 15:59:18 +11:00
Evan Hunt
8c7ce6d3e6 [v9_9] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]

(cherry picked from commit ebe54c7d2221c6a0a4b3d96bcae3280c823a45e6)
2014-01-08 16:38:56 -08:00
Evan Hunt
88601d331d [v9_9] dispatch.c race
3695.	[bug]		Address a possible race in dispatch.c. [RT #35107]

(cherry picked from commit 2b258a1f5b)
2013-12-23 09:50:49 -08:00
Evan Hunt
2354181226 [v9_9] warn if key-directory doesn't exist
3694.	[bug]		Warn when a key-directory is configured for a zone,
			but does not exist or is not a directory. [RT #35109]

(cherry picked from commit c14ba71070)
2013-12-20 14:57:58 -08:00
Tinderbox User
5d52bae338 update copyright notice 2013-12-16 23:45:41 +00:00
Mark Andrews
9337f965f6 sort and one file per line 2013-12-17 10:38:00 +11:00
Mark Andrews
485380894a 3692. [bug] Two calls to dns_db_getoriginnode were fatal if there
was no data at the node. [RT #35080]

(cherry picked from commit 161e803a56)
2013-12-17 09:13:18 +11:00
Evan Hunt
06614edc44 [v9_9] correct dispatch address/port check
3690.	[bug]		Iterative responses could be missed when the source
			port for an upstream query was the same as the
			listener port (53). [RT #34925]
2013-12-12 22:46:21 -08:00
Evan Hunt
0c0ce5f9a4 [v9_9] fix insecure delegation across static-stub zones
3689.	[bug]		Fixed a bug causing an insecure delegation from one
			static-stub zone to another to fail with a broken
			trust chain. [RT #35081]

(cherry picked from commit 9b895f30f1)
2013-12-12 22:20:21 -08:00
Mark Andrews
cf3decc59c 3688. [bug] loadnode could return a freed node on out of memory.
[RT #35106]
2013-12-12 12:50:12 +11:00
Tinderbox User
c75c9ee78e update copyright notice 2013-12-11 23:46:56 +00:00
Mark Andrews
e6c64b453f 3687. [bug] Address null pointer dereference in zone_xfrdone.
[RT #35042]
2013-12-12 10:39:33 +11:00
Evan Hunt
2c73b0a857 [v9_9] dnssec-signzone -Q
3686.	[func]		"dnssec-signzone -Q" drops signatures from keys
			that are still published but no longer active.
			[RT #34990]

(cherry picked from commit 0bbe3273a2)
2013-12-11 13:25:44 -08:00
Evan Hunt
b80e110dae [v9_9] prepare 9.9.5b1 2013-12-10 17:17:55 -08:00
Mark Andrews
e595a09e64 handle underflow now that n is unsigned
(cherry picked from commit 536ac53126)
2013-12-10 07:24:32 +11:00
Mark Andrews
551f6ebeed silence compiler warning
(cherry picked from commit b14c6a1caf)
2013-12-10 07:24:32 +11:00
Mark Andrews
ea231f87c8 add dst_key_setexternal 2013-12-09 14:57:21 +11:00
Mark Andrews
3838fb0a4b add dst_key_isexternal 2013-12-09 14:12:58 +11:00
Mark Andrews
688bb741b0 add isc_stdio_tell, add missing comma
(cherry picked from commit 793a8c9aa29986422e7bae75dc5e65f201081a57)
(cherry picked from commit 8e9bbdda10)
2013-12-09 13:58:53 +11:00
Mark Andrews
01637c736a missing comma 2013-12-09 13:56:08 +11:00
Mark Andrews
a92a3ecf44 silence compiler warnings
(cherry picked from commit 53f70575bd)
2013-12-06 17:39:33 +11:00
Mark Andrews
a0095a7c1a update copyrights 2013-12-05 15:13:01 +11:00
Tinderbox User
da9611344e update copyright notice 2013-12-04 23:46:00 +00:00
Curtis Blackburn
1a890ff58a [v9_9]3682. [bug] Correct the behavior of rndc retransfer to allow
inline-signing slave zones to retain NSEC3 parameters instead of
			reverting to NSEC [RT #34745]
2013-12-04 12:32:21 -06:00
Mark Andrews
3b38a23089 3681. [port] Update the Windows build system to support feature
selection and WIN64 builds.  This is a work in
                        progress. [RT #34160]

(cherry picked from commit c3c8823fed)

Conflicts:
	CHANGES
	bin/check/win32/checktool.dsp.in
	bin/dnssec/win32/dnssectool.dsp.in
	bin/dnssec/win32/importkey.dsp.in
	bin/dnssec/win32/importkey.mak.in
	bin/named/geoip.c
	bin/named/include/named/geoip.h
	bin/tools/win32/rrchecker.dsp.in
	bin/tools/win32/rrchecker.mak.in
	config.h.win32
	lib/dns/geoip.c
	lib/dns/master.c
	lib/dns/win32/libdns.dsp.in
	lib/dns/win32/libdns.mak.in
	lib/isc/mem.c
	lib/isc/stats.c
	lib/isc/win32/file.c
	lib/isc/win32/libisc.def.in
	lib/isc/win32/libisc.mak.in
	lib/isc/win32/stdio.c
	lib/isccc/cc.c
	win32utils/BuildAll.bat
	win32utils/BuildSetup.bat
	win32utils/legacy/BINDBuild.dsw.in
	win32utils/makeversion.pl
	win32utils/setpk11provider.pl
	win32utils/updatelibxml2.pl
	win32utils/win32-build.txt
2013-12-04 13:48:45 +11:00
Tinderbox User
a960d3a679 update copyright notice 2013-11-13 23:45:54 +00:00
Evan Hunt
eaa4ead2bd [v9_9] allow setting local addr in dns_client
3672.	[func]		Local address can now be specified when using
			dns_client API. [RT #34811]

(cherry picked from commit 0618287859)
2013-11-13 10:57:50 -08:00