Commit graph

180 commits

Author SHA1 Message Date
Tinderbox User
ad49d79d2b update copyright notice / whitespace 2018-01-24 23:48:07 +00:00
Evan Hunt
d557a034dc [v9_10] change uint to isc_uint 2018-01-24 11:02:07 -08:00
Tinderbox User
fc5764662b regen v9_10 2017-12-29 02:29:40 +00:00
Mark Andrews
30a04f1808 initalize sigsize to zero; ATF_CHECK_EQ(sigsize, tsig.siglen);
(cherry picked from commit 9f61f6b46b)
2017-12-22 08:59:09 +11:00
Mark Andrews
6f19384682 don't attempt to call isc_buffer_free(&buf) twice; don't attempt to call dns_message_destroy(&msg) twice; don't test for key != NULL
(cherry picked from commit cb8650d875)
2017-12-12 13:25:06 +11:00
Mark Andrews
71829419e8 silence %lu vs size_t warning by casting to (unsigned long)
(cherry picked from commit 1dc8208a89)
2017-11-24 10:26:43 +11:00
Tinderbox User
72189c1df2 update copyright notice / whitespace 2017-11-13 23:47:00 +00:00
Mark Andrews
338659d8f1 4815. [bug] rbt_test.c:insert_and_delete needed to call
dns_rbt_addnode instead of dns_rbt_addname. [RT #46553]

(cherry picked from commit 04934b28ea)
2017-11-13 15:27:18 +11:00
Tinderbox User
508337e118 update copyright notice / whitespace 2017-10-25 23:52:15 +00:00
Michał Kępień
54a43e9bf1 [v9_10] Rename nsec3param_salt_totext() to dns_nsec3param_salttotext(), make it public, add unit tests
4786.	[cleanup]	Turn nsec3param_salt_totext() into a public function,
			dns_nsec3param_salttotext(), and add unit tests for it.
			[RT #46289]

(cherry picked from commit 5e1ca7a326)
2017-10-25 09:50:58 +02:00
Michał Kępień
eb0920f784 [v9_10] Sync draft-durand-doa-over-dns snippet in lib/dns/tests/rdata_test.c with draft version -03 2017-10-09 10:53:08 +02:00
Tinderbox User
2f09ac92f1 update copyright notice / whitespace 2017-10-06 23:47:26 +00:00
Michał Kępień
3402ce550a [v9_10] Add support for DOA
4761.	[protocol]	Add support for DOA. [RT #45612]

(cherry picked from commit 4ee1fbe056)
2017-10-06 12:56:58 +02:00
Mark Andrews
3a1fa8eeea 4759. [func] Add logging channel "trust-anchor-telementry" to
record trust-anchor-telementry in incoming requests.
                            Both _ta-XXXX.<anchor>/NULL and EDNS KEY-TAG options
                            are logged.  [RT #46124]

    (cherry picked from commit b41c1aacbc)

(cherry picked from commit 1c8aa38b53)
2017-10-06 14:06:40 +11:00
Mark Andrews
755e74bb28 4739. [cleanup] Address clang static analysis warnings. [RT #45952]
(cherry picked from commit f9f3f20d2d)
2017-09-27 13:00:57 +10:00
Tinderbox User
b79ebcdaf0 regen v9_10 2017-09-21 07:37:08 +00:00
Tinderbox User
f3b815c257 regen v9_10 2017-09-21 03:52:25 +00:00
Mark Andrews
4e714d3766 explicitly list test programs 2017-09-21 13:06:42 +10:00
Tinderbox User
9b39cb394a update copyright notice / whitespace 2017-09-13 23:54:53 +00:00
Mukund Sivaraman
822ee758b0 Fix output string size in GOST unittest
(cherry picked from commit e5eca6eebb)
(cherry picked from commit d45eddf28f)
2017-09-14 01:36:52 +05:30
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
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
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
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
Tinderbox User
56a32b9f54 update copyright notice / whitespace 2017-07-21 23:47:10 +00:00
Mark Andrews
9156962f46 4654. [cleanup] Don't use C++ keywords delete, new and namespace.
[RT #45538]

(cherry picked from commit 4bf32aa587)
2017-07-21 12:43:55 +10:00
Mark Andrews
a3f965dd16 4650. [test] Silence coverity warnings in tsig_test.c. [RT #45528]
(cherry picked from commit c0ac259940)
2017-07-19 14:36:37 +10:00
Tinderbox User
be61b1d2cf update copyright notice / whitespace 2017-07-07 23:46:45 +00:00
Mark Andrews
23d1fe4ae7 add #include <isc/print.h>
(cherry picked from commit 00a235c8e6)
2017-07-08 00:48:25 +10:00
Mark Andrews
379b12b573 4647. [bug] Change 4643 broke verification of TSIG signed TCP
message sequences where not all the messages contain
                        TSIG records.  These may be used in AXFR and IXFR
                        responses.  [RT #45509]
2017-07-07 23:38:05 +10:00
Tinderbox User
9423b4f701 update copyright notice / whitespace 2016-11-08 23:51:48 +00:00
Mark Andrews
8cb6771585 only call dns_test_begin once
(cherry picked from commit f13c7b01746a07bef87a386ceff93ccb2a7488a9)
(cherry picked from commit 56c6fc0dac)
2016-11-09 10:03:53 +11:00
Mark Andrews
a873ad10bd copyrights/whitespace 2016-11-03 12:47:03 +11:00
Mark Andrews
58a1bcad5f 4507. [bug] Name could incorrectly log 'allows updates by IP
address, which is insecure' [RT #43432]

(cherry picked from commit 2b2b85c897)
2016-11-02 18:17:39 +11:00
Mark Andrews
88e9f0b489 4468. [bug] Address ECS option handling issues. [RT #43191]
(cherry picked from commit df17290113)
2016-09-14 09:06:24 +10:00
Mark Andrews
169546c6ad update copyrights / whitespace 2016-08-23 09:51:39 +10:00
Francis Dupont
92d1b38a81 Merged rt43077 (new RSA verify unit test) 2016-08-22 14:11:08 +02:00
Tinderbox User
9831d2c6e5 update copyright notice / whitespace 2016-08-19 01:23:59 +00:00
Mark Andrews
e0449a0a4a 4450. [port] Provide more nuanced HSM support which better matches
the specific PKCS11 providers capabilities. [RT #42458]

(cherry picked from commit 8ee6f289d8)
2016-08-19 08:25:54 +10:00
Evan Hunt
8f6dc230d0 [v9_10] prep 9.10.4b3 2016-03-24 12:41:57 -07:00
Evan Hunt
e8fd60b02d [v9_10] fix unit test 2016-03-24 10:32:22 -07:00
Mark Andrews
4c981c3bf7 4341. [bug] 'rndc flushtree' could fail to clean the tree if there
wasn't a node at the specified name. [RT #41846]

(cherry picked from commit 6214c3c93a)
2016-03-24 11:32:52 +11:00
Evan Hunt
4d8742e668 [v9_10] remove obsolete unit test 2016-03-22 17:46:16 -07:00
Mukund Sivaraman
19afa0cc8f Fix rbt_remove_empty unittest
(reviewed by Evan on Jabber)

(cherry picked from commit f5cb0dd58b)
2016-03-05 13:55:10 +05:30
Tinderbox User
736b0ac1c8 update copyright notice / whitespace 2016-03-04 23:45:45 +00:00
Mukund Sivaraman
1cbbc0bde6 Include missing isc/print.h 2016-03-04 14:56:58 +05:30
Mukund Sivaraman
491a5a2a3c Check if threads support is available
(cherry picked from commit 2457a4b245)
2016-03-04 14:06:32 +05:30
Mukund Sivaraman
cb93542612 Use libisc thread functions
(cherry picked from commit 051197362b)
2016-03-04 14:00:26 +05:30