Commit Graph

10242 Commits

Author SHA1 Message Date
Mukund Sivaraman
d2f0804591 Fix gost unittest failure
(cherry picked from commit 93f7384928)
(cherry picked from commit e004f87b71)
2017-09-14 00:30:22 +05:30
Mark Andrews
bf5e318303 add #include <isc/string.h>
(cherry picked from commit 4c9ba9ded8)
(cherry picked from commit 28a55095f7)
2017-09-13 19:52:21 +05:30
Mukund Sivaraman
83dfa75ac3 Add missing <isc/print.h>
(cherry picked from commit 188fa6ea68)
(cherry picked from commit a13e9f894c)
2017-09-13 19:52:20 +05:30
Mukund Sivaraman
f3e90ace9d Tweak hash_test.c further, passing sizeof(str)
(cherry picked from commit 8997fc0a3f)
(cherry picked from commit fc7ed600ae)
2017-09-13 19:34:31 +05:30
Mukund Sivaraman
1be28340db Tweak
(cherry picked from commit a2873eabf6)
(cherry picked from commit 4baac8b9f3)
2017-09-13 19:34:30 +05:30
Mukund Sivaraman
6e338884b5 Fix size of output string in hash tests
(cherry picked from commit bc5e0a6868)
(cherry picked from commit 3dc00443bb)
2017-09-13 19:34:28 +05:30
Evan Hunt
e0ddfb109e [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)
2017-09-13 00:18:44 -07:00
Mark Andrews
3534cc3144 4719. [bug] Address PVS static analyzer warnings. [RT #45946]
(cherry picked from commit 34130ee25a)
2017-09-13 09:53:13 +10:00
Tinderbox User
87f5992d62 update copyright notice / whitespace 2017-09-12 23:48:28 +00:00
Evan Hunt
8bfb6923e2 [v9_10] 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:12 -07:00
Mark Andrews
23d9ceabae 4715. [bug] TreeMemMax was mis-identified as a second HeapMemMax
in the Json cache statistics. [RT #45980]

(cherry picked from commit 0a1359034d)
2017-09-12 14:55:46 +10:00
Mark Andrews
b51a66b4f3 4714. [port] openbsd/libressl: add support for building with
--enable-openssl-hash. [RT #45982]

(cherry picked from commit c75e9c7630)
2017-09-12 14:20:38 +10:00
Evan Hunt
87a593271d [v9_10] 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:10 -07:00
Tinderbox User
d07f95402d update copyright notice / whitespace 2017-09-08 23:48:21 +00:00
Evan Hunt
8cc85bb736 [v9_10] 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:04 -07:00
Mark Andrews
a127e830b9 sort view_clauses 2017-08-31 08:23:28 +10:00
Mark Andrews
5c19fc1740 4692. [bug] Fix build failures with libressl introduced in 4676.
[RT #45879]

(cherry picked from commit c26370fc69)
2017-08-30 18:22:41 +10:00
Tinderbox User
90ee437fa3 update copyright notice / whitespace 2017-08-24 23:50:17 +00:00
Mark Andrews
99f5031371 4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
messages. [RT #44804]

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

(cherry picked from commit 615b961e02)
2017-08-17 15:52:00 +10:00
Tinderbox User
00429b83b0 update copyright notice / whitespace 2017-08-14 23:51:09 +00:00
Mark Andrews
7e3e98c4f9 alphabetize options_clauses 2017-08-14 07:33:19 +00:00
Mark Andrews
f4245ec8b1 tcp-only was out of alphabetical order 2017-08-14 07:03:43 +00:00
Mark Andrews
3d5f0fcc5a use isc_thread_self instead of pthread_self
(cherry picked from commit 5e9d9aa9d0)
2017-08-14 13:54:41 +10:00
Mark Andrews
02cf40b87f 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:07 +10:00
Tinderbox User
bcd441c112 update copyright notice / whitespace 2017-08-09 23:50:59 +00:00
Mark Andrews
068f818c5e 4675. [cleanup] Don't use C++ keyword class. [RT #45726] 2017-08-10 08:45:33 +10:00
Evan Hunt
733404ab8c [v9_10] silence gcc 7 warnings
4673.	[port]		Silence GCC 7 warnings. [RT #45592]

(cherry picked from commit cdacec1dcb)
(cherry picked from commit 7dbeb5e7f0)
2017-08-09 00:32:44 -07:00
Mark Andrews
ef899b41f4 add comment
(cherry picked from commit 93049edb81)
2017-08-09 10:48:56 +05:30
Evan Hunt
164d30e3a1 style
(cherry picked from commit 72f91848ef)
2017-08-09 10:48:55 +05:30
Tinderbox User
c64ca8ce71 update copyright notice / whitespace 2017-08-09 01:13:43 +00:00
Mark Andrews
315210c904 style 2017-08-09 07:51:12 +10:00
Mukund Sivaraman
dc94345bbd Fix tsig_test.c unittest (OK'd by Mark on Jabber)
(cherry picked from commit f2b6eef899)
(cherry picked from commit 8ecd1dc557)
2017-08-08 21:56:43 +05:30
Mukund Sivaraman
88178e13e6 Fix bug where named as resolver would not try other fctx addresses upon fetch timeout (#45321) 2017-08-08 20:48:05 +05:30
Mukund Sivaraman
6859f1d265 Fix a race in resume_dslookup() (#45168)
(cherry picked from commit c88efb83b3)
(cherry picked from commit 6e10f87913)
2017-08-08 13:13:27 +05:30
Evan Hunt
a85d7a02e0 [v9_10] 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:55:00 -07:00
Evan Hunt
83ef0d514e [v9_10] add missing eddsa files
(cherry picked from commit 5832599943)
2017-08-07 14:35:45 -07:00
Tinderbox User
5e8a063aed update copyright notice / whitespace 2017-08-02 23:58:52 +00:00
Mark Andrews
625673c598 fix merge error 2017-08-03 09:40:56 +10:00
Mark Andrews
a10354263c 4668. [bug] Use localtime_r and gmtime_r for thread safety.
[RT #45664]

(cherry picked from commit 2019cf29e2)
2017-08-03 08:46:56 +10:00
Tinderbox User
bb8aad2148 update copyright notice / whitespace 2017-08-01 23:48:35 +00:00
Michał Kępień
41620b94c4 [v9_10] Refactor RDATA unit tests
4667.	[cleanup]	Refactor RDATA unit tests. [RT #45610]

(cherry picked from commit 712825d755)
2017-08-01 12:49:10 +02:00
Mukund Sivaraman
fc9b18d917 Add missing file 2017-08-01 07:48:46 +05:30
Tinderbox User
17a549b541 update copyright notice / whitespace 2017-07-31 23:47:22 +00:00
Francis Dupont
b03f0672e1 Added Ed25519 support (#44696) 2017-07-31 16:05:05 +02:00
Tinderbox User
8d3cdf1029 update copyright notice / whitespace 2017-07-28 23:48:00 +00:00
Evan Hunt
2f9fb02be1 [v9_10] Maintain ZEROTTL cache entries at the tail of the LRU lists
4662.	[performance]	Improve cache memory cleanup of zero TTL records
			by putting them at the tail of LRU header lists.
			[RT #45274]

(cherry picked from commit e924155211)
2017-07-28 00:13:59 -07:00
Evan Hunt
66a19ce21a [v9_10] race condition when reloading while resigning
4661.	[bug]		A race condition could occur if a zone was reloaded
			while resigning, triggering a crash in
			rbtdb.c:closeversion(). [RT #45276]

(cherry picked from commit 036305f00d)
2017-07-28 00:03:00 -07:00
Mark Andrews
2965d77a8c 4660. [bug] Remove spurious "peer" from Windows socket log
messages. [RT #45617]

(cherry picked from commit 5140501a0b)
2017-07-28 16:07:32 +10:00
Tinderbox User
3d2bd26081 update copyright notice / whitespace 2017-07-27 23:55:03 +00:00