Commit graph

9925 commits

Author SHA1 Message Date
Michał Kępień
c0ef11fb2e [v9_9] Prevent possible infinite signing loop after retransferring an inline-signed slave using NSEC3
4727.	[bug]		Retransferring an inline-signed slave using NSEC3
			around the time its NSEC3 salt was changed could result
			in an infinite signing loop. [RT #45080]

(cherry picked from commit 4ceebc8874)
2017-09-18 09:30:56 +02:00
Mark Andrews
b66c89c0e0 don't use strlcat with non NUL terminated strings rt45981_stage3
(cherry picked from commit dc71aa898a)
2017-09-15 13:15:01 +10:00
Tinderbox User
928c3c53c6 update copyright notice / whitespace 2017-09-14 23:59:05 +00:00
Mark Andrews
80420ec94f silence warning
(cherry picked from commit c59bf663e8)
2017-09-14 19:02:55 +10:00
Mark Andrews
7eb73f6288 #include <isc/string.h> 2017-09-14 18:57:53 +10:00
Mark Andrews
b3faa2b293 (cherry picked from commit 5fb0c09a5e) 2017-09-14 18:55:51 +10:00
Mark Andrews
af9aed27c1 more str{n}{cat,cpy} corrections rt45981_stage2
(cherry picked from commit cb629cdeda)
2017-09-14 18:43:48 +10:00
Evan Hunt
c9487f5d2e [v9_9] cast char * 2017-09-13 22:04:18 -07:00
Evan Hunt
acaa5bec31 [v9_9] clean up bufsize errors
(cherry picked from commit 9b729a06b0)
2017-09-13 21:19:38 -07:00
Tinderbox User
077f3c4e27 update copyright notice / whitespace 2017-09-14 00:03:54 +00:00
Evan Hunt
e59da386dc [v9_9] fix incorrect comment 2017-09-13 13:54:38 -07:00
Mukund Sivaraman
20a3b9a914 add #include <isc/string.h>
(cherry picked from commit 4c9ba9ded8)
(cherry picked from commit 28a55095f7)
(cherry picked from commit bf5e318303)
2017-09-13 20:00:18 +05:30
Mukund Sivaraman
4c9e65a0dd Add missing <isc/print.h>
(cherry picked from commit 188fa6ea68)
(cherry picked from commit a13e9f894c)
(cherry picked from commit 83dfa75ac3)
2017-09-13 19:59:05 +05:30
Mukund Sivaraman
de42212c63 Tweak hash_test.c further, passing sizeof(str)
(cherry picked from commit 8997fc0a3f)
(cherry picked from commit fc7ed600ae)
(cherry picked from commit f3e90ace9d)
2017-09-13 19:35:45 +05:30
Mukund Sivaraman
247224ab2d Tweak
(cherry picked from commit a2873eabf6)
(cherry picked from commit 4baac8b9f3)
(cherry picked from commit 1be28340db)
2017-09-13 19:35:06 +05:30
Mukund Sivaraman
da42d8e733 Fix size of output string in hash tests
(cherry picked from commit bc5e0a6868)
(cherry picked from commit 3dc00443bb)
(cherry picked from commit 6e338884b5)
2017-09-13 19:35:04 +05:30
Evan Hunt
cef35fcefc [v9_9] add print.h 2017-09-13 00:25:24 -07:00
Evan Hunt
f07825440f [master] cleanup strcat/strcpy
4722.	[cleanup]	Clean up uses of strcpy() and strcat() in favor of
			strlcpy() and strlcat() for safety. [RT #45981]

(cherry picked from commit 114f95089c)
(cherry picked from commit 7cd594b842)
(cherry picked from commit e0ddfb109e)
2017-09-13 00:20:09 -07:00
Mark Andrews
7ebef930d7 4719. [bug] Address PVS static analyzer warnings. [RT #45946]
(cherry picked from commit 34130ee25a)
2017-09-13 09:55:13 +10:00
Tinderbox User
907bd36c10 update copyright notice / whitespace 2017-09-12 23:50:35 +00:00
Evan Hunt
3d7439205c [v9_9] improve handling of qcount=0 replies
4717.	[bug]		Treat replies with QCOUNT=0 as truncated if TC=1,
			FORMERR if TC=0, and log the error correctly.
			[RT #45836]

(cherry picked from commit 25b33bede4)
(cherry picked from commit a2a0100e0f)
2017-09-12 15:27:55 -07:00
Mark Andrews
171f1f06ab 4714. [port] openbsd/libressl: add support for building with
--enable-openssl-hash. [RT #45982]

(cherry picked from commit c75e9c7630)
2017-09-12 14:24:14 +10:00
Evan Hunt
3e50ab8402 [v9_9] add missing rrtypes to genzones
4711.	[test]		Some RR types were missing from genzones.sh.
			[RT #45782]

(cherry picked from commit 3e66721b35)
(cherry picked from commit 29f0ced781)
2017-09-11 09:35:20 -07:00
Tinderbox User
bc81291842 update copyright notice / whitespace 2017-09-08 23:50:57 +00:00
Evan Hunt
e3c32fc3c1 [v9_9] change hash function for RRL
4709.	[cleanup]	Use dns_name_fullhash() to hash names for RRL.
			[RT #45435]

(cherry picked from commit f13385770e)
(cherry picked from commit b9fd54f8d4)
2017-09-08 15:47:26 -07:00
Mark Andrews
e63daae5f9 sort view_clauses 2017-08-31 08:33:50 +10:00
Mark Andrews
fa4683b934 4692. [bug] Fix build failures with libressl introduced in 4676.
[RT #45879]

(cherry picked from commit c26370fc69)
2017-08-30 18:23:28 +10:00
Tinderbox User
444cddf00b update copyright notice / whitespace 2017-08-24 23:54:52 +00:00
Mark Andrews
6f799a2e5a 4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
messages. [RT #44804]

(cherry picked from commit 07741d43c8)
2017-08-25 08:53:05 +10:00
Mark Andrews
eb7bdae9a0 4682. [bug] Don't report errors on records below a DNAME.
[RT #44880]

(cherry picked from commit 615b961e02)
2017-08-17 15:52:07 +10:00
Tinderbox User
4d89263d60 update copyright notice / whitespace 2017-08-14 23:53:17 +00:00
Mark Andrews
1b2c8e7583 alphabetize options_clauses 2017-08-14 07:36:46 +00:00
Mark Andrews
581d481613 use isc_thread_self instead of pthread_self
(cherry picked from commit 5e9d9aa9d0)
2017-08-14 13:54:47 +10:00
Mark Andrews
8d49cc93db 4676. [cleanup] Allow BIND to be built using OpenSSL 1.0.X with
deprecated functions removed. [RT #45706]

(cherry picked from commit cbc80a42d3)
2017-08-10 10:17:13 +10:00
Tinderbox User
ec9becf633 update copyright notice / whitespace 2017-08-09 23:54:45 +00:00
Mark Andrews
f3ed36d3a1 4675. [cleanup] Don't use C++ keyword class. [RT #45726] 2017-08-10 08:51:22 +10:00
Evan Hunt
c06d35bb34 [v9_9] silence gcc 7 warnings
4673.	[port]		Silence GCC 7 warnings. [RT #45592]

(cherry picked from commit cdacec1dcb)
(cherry picked from commit 7dbeb5e7f0)
(cherry picked from commit 733404ab8c)
2017-08-09 00:38:10 -07:00
Mark Andrews
cf25cdac38 add comment
(cherry picked from commit 93049edb81)
(cherry picked from commit ef899b41f4)
2017-08-09 10:49:11 +05:30
Evan Hunt
8d9c7ef2e2 style
(cherry picked from commit 72f91848ef)
(cherry picked from commit 164d30e3a1)
2017-08-09 10:49:10 +05:30
Tinderbox User
16fd34ab85 update copyright notice / whitespace 2017-08-09 01:37:36 +00:00
Mukund Sivaraman
b7df525e93 Fix tsig_test.c unittest (OK'd by Mark on Jabber)
(cherry picked from commit f2b6eef899)
(cherry picked from commit 8ecd1dc557)
(cherry picked from commit dc94345bbd)
2017-08-08 21:56:57 +05:30
Mukund Sivaraman
6b230c0dd8 Fix bug where named as resolver would not try other fctx addresses upon fetch timeout (#45321)
(cherry picked from commit 88178e13e6)
2017-08-08 21:19:00 +05:30
Mukund Sivaraman
03acb6368a Fix a race in resume_dslookup() (#45168)
(cherry picked from commit c88efb83b3)
(cherry picked from commit 6e10f87913)
(cherry picked from commit 6859f1d265)
2017-08-08 13:17:22 +05:30
Evan Hunt
b435e88337 [v9_9] ensure verified_sig
4670.	[cleanup]	Ensure that a request MAC is never sent back
			in an XFR response unless the signature was
                        verified. [RT #45494]

(cherry picked from commit 0ad72b96d2)
(cherry picked from commit 37f6466aa3)
2017-08-07 18:58:50 -07:00
Evan Hunt
bce15d72e2 [v9_9] add missing eddsa files, fix dst_parse.c to handle eddsa correctly 2017-08-07 16:45:46 -07:00
Tinderbox User
b0fc3288ec update copyright notice / whitespace 2017-08-03 00:01:44 +00:00
Mark Andrews
22e68fe50f fix merge error 2017-08-03 09:41:17 +10:00
Mark Andrews
b5b0fbc44c 4668. [bug] Use localtime_r and gmtime_r for thread safety.
[RT #45664]

(cherry picked from commit 2019cf29e2)
2017-08-03 08:47:15 +10:00
Tinderbox User
f9d3d16a27 update copyright notice / whitespace 2017-08-01 23:55:29 +00:00
Michał Kępień
60b55fe41c [v9_9] Refactor RDATA unit tests
4667.	[cleanup]	Refactor RDATA unit tests. [RT #45610]

(cherry picked from commit 41620b94c4)
2017-08-01 13:08:33 +02:00