Commit graph

8872 commits

Author SHA1 Message Date
Evan Hunt
a1e6f90944 [v9_8] correct copyrights and attributions
see RT #35423 for details; highlights:
        - remove license clauses 3 and 4 from NetBSD code
        - remove advertising clause from historical BSD code
2014-01-24 09:54:07 -08:00
Tinderbox User
c5dd47d83e update copyright notice 2014-01-22 23:45:28 +00:00
Mark Andrews
a1d70e3013 remove src files not available for 'make depend' 2014-01-22 10:49:34 +11:00
Tinderbox User
d61deab362 update copyright notice 2014-01-21 23:45:28 +00:00
Mark Andrews
888accb64e s/gai_sterror.c/gai_strerror.c/
(cherry picked from commit 395a4c7f6f)
2014-01-22 10:11:29 +11:00
Evan Hunt
76139b2d17 [v9_8] remove unnecessary test in name.c 2014-01-20 17:59:23 -08:00
Evan Hunt
1e7e935d2a [v9_8] prep 9.8.7rc2 2014-01-16 18:59:52 -08:00
Tinderbox User
33bf42090b update copyright notice 2014-01-15 23:45:29 +00:00
Mark Andrews
024cf8df23 initalize ret
(cherry picked from commit 636c2f488c)
2014-01-16 09:23:45 +11:00
Mark Andrews
0c22a52b82 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:25:25 +11:00
Mark Andrews
8364558a6b silence compiler warning
(cherry picked from commit d8b83f0e2b)
2014-01-15 12:41:01 +11:00
Tinderbox User
9b51da211a update copyright notice 2014-01-14 23:45:27 +00:00
Mark Andrews
30917721c6 3704. [protocol] Accept integer timestamps in RRSIG records. [RT #35185] 2014-01-14 16:07:27 +11:00
Tinderbox User
66521218ea update copyright notice 2014-01-13 23:45:25 +00:00
Evan Hunt
df11a8436c [v9_8] See ticket 35140 for details.
Install some include files:

dns/client.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)
(cherry picked from commit e642853188ce4412b16f521fd7ee71fe64673911)
2014-01-13 15:18:06 -08:00
Tinderbox User
f14b9aa532 update copyright notice 2014-01-12 23:45:29 +00:00
Evan Hunt
5a5a6849a8 [v9_8] fix win32 isc_time_set()
(cherry picked from commit ca8cf1ce63fcf8401ff0575d1be22b82b7fa5c89)
2014-01-11 22:03:53 -08:00
Tinderbox User
b93c152a2f update copyright notice 2014-01-10 20:23:52 +00:00
Evan Hunt
4785004e3e [v9_8] prep 9.8.7rc1 2014-01-10 09:20:06 -08:00
Mark Andrews
484af89506 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:45:38 +11:00
Tinderbox User
4bd05ab557 update copyright notice 2014-01-09 23:45:31 +00:00
Mark Andrews
87d9f13ceb silence compiler warning
(cherry picked from commit 109f477ed7)
2014-01-09 16:01:47 +11:00
Evan Hunt
d19bf3def7 [v9_8] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]

(cherry picked from commit ebe54c7d2221c6a0a4b3d96bcae3280c823a45e6)
(cherry picked from commit 9b950c70f1a6406c0f3dff604822329d06fc4837)
2014-01-08 16:40:19 -08:00
Evan Hunt
0cb89656c2 [v9_8] dispatch.c race
3695.	[bug]		Address a possible race in dispatch.c. [RT #35107]

(cherry picked from commit 2b258a1f5b)
2013-12-23 09:53:08 -08:00
Tinderbox User
332a5b36ec update copyright notice 2013-12-21 23:45:25 +00:00
Evan Hunt
2e2ec6d974 [v9_8] 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)
(cherry picked from commit 2354181226)
2013-12-20 14:58:31 -08:00
Tinderbox User
170e859490 update copyright notice 2013-12-16 23:45:25 +00:00
Mark Andrews
9200b6bae3 sort and one file per line 2013-12-17 10:41:30 +11:00
Mark Andrews
4e4715265e 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:11:30 +11:00
Evan Hunt
087c966374 [v9_8] 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)
(cherry picked from commit 0c0ce5f9a4)
2013-12-12 22:26:18 -08:00
Mark Andrews
640ca0e048 3688. [bug] loadnode could return a freed node on out of memory.
[RT #35106]
2013-12-12 12:50:37 +11:00
Evan Hunt
8904a32bdf [v9_8] prep 9.8.7b1 2013-12-10 17:36:33 -08:00
Mark Andrews
536ac53126 handle underflow now that n is unsigned 2013-12-10 07:16:19 +11:00
Mark Andrews
b14c6a1caf silence compiler warning 2013-12-10 07:13:03 +11:00
Mark Andrews
8e9bbdda10 add isc_stdio_tell, add missing comma
(cherry picked from commit 793a8c9aa29986422e7bae75dc5e65f201081a57)
2013-12-07 08:12:29 +11:00
Mark Andrews
e1b273c598 silence compiler warnings
(cherry picked from commit 53f70575bd)
2013-12-06 17:39:41 +11:00
Mark Andrews
1c29e9db2c update copyrights 2013-12-05 15:48:07 +11:00
Tinderbox User
769eef448d update copyright notice 2013-12-04 23:45:37 +00:00
Mark Andrews
7c0b7f6847 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

Conflicts:
	bin/dnssec/win32/verify.dsp.in
	bin/dnssec/win32/verify.mak.in
	bin/named/server.c
	bin/python/dnssec-checkds.py.in
	bin/python/dnssec-coverage.py.in
	lib/dns/nsec.c
	lib/dns/nsec3.c
	lib/dns/win32/libdns.mak.in
	lib/dns/zone.c
	lib/isc/win32/libisc.mak.in
	win32utils/BuildAll.bat
	win32utils/BuildSetup.bat
	win32utils/legacy/BINDBuild.dsw.in
	win32utils/updatelibxml2.pl
	win32utils/win32-build.txt
2013-12-04 14:08:17 +11:00
Tinderbox User
2b478ef664 update copyright notice 2013-11-11 23:45:32 +00:00
Mark Andrews
ba70172144 3668. [bug] Fix cast in lex.c which could see 0xff treated as eof.
[RT #34993]

(cherry picked from commit 0a47bc90af)
2013-11-11 10:53:13 +11:00
Mark Andrews
4c5f19c2b0 silence defined but not used warning 2013-11-04 09:53:53 +11:00
Mark Andrews
321a671184 use smaller buffers
(cherry picked from commit 2502a568e7)
2013-10-26 20:36:55 +11:00
Tinderbox User
4129ff6f4e update copyright notice 2013-10-25 23:45:33 +00:00
Mark Andrews
dc44093efc address memory leak in change #3662, force format matching, attempt to address coverity false positives
(cherry picked from commit 938aea1dc4)
2013-10-26 10:10:36 +11:00
Mark Andrews
32de039875 3663. [bug] Address bugs in dns_rdata_fromstruct and
dns_rdata_tostruct for WKS and ISDN types. [RT #34910]
2013-10-25 13:06:34 +11:00
Mark Andrews
adec9654d0 3662. [bug] 'host' could die if a UPD query timed out. [RT #34870]
(cherry picked from commit 6100b17699)
2013-10-25 12:02:59 +11:00
Mark Andrews
9deedfa18a missing FCTXTRACE2 macro RT#34914
(cherry picked from commit 0bfc15fe59)
2013-10-21 15:52:35 +11:00
Mark Andrews
1c9e77ebd3 3655. [cleanup] Simplify TCP message processing when requesting a
zone transfer.  [RT #34825]

(cherry picked from commit fb623f9a07)
2013-09-25 09:59:04 +10:00
Mark Andrews
e334100436 3654. [bug] Address race condition with manual notify requests.
[RT #34806]

(cherry picked from commit 5116f25421)
2013-09-25 09:48:00 +10:00