Ondřej Surý
eb745a2125
Remove duplicate config.h
...
(cherry picked from commit 7351c505a0 )
(cherry picked from commit 2844f6529d )
2018-08-10 15:20:58 +02:00
Ondřej Surý
1084b40b44
Replace custom isc_boolean_t with C standard bool type
...
(cherry picked from commit 994e656977 )
(cherry picked from commit 884929400c )
2018-08-10 15:20:57 +02:00
Ondřej Surý
aaa76dc654
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
...
(cherry picked from commit cb6a185c69 )
(cherry picked from commit d61e6a3111 )
2018-08-10 15:20:57 +02:00
Ondřej Surý
07970c501d
Get rid of extra UINT64_MAX definition in lib/isc/win32/time.c
...
(cherry picked from commit 055278c936 )
(cherry picked from commit 3523850065 )
2018-08-10 15:20:57 +02:00
Ondřej Surý
bfc6a25f2d
Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants
...
(cherry picked from commit 64fe6bbaf2 )
(cherry picked from commit c863a076ae )
2018-08-10 15:20:57 +02:00
Evan Hunt
ba162bd0d4
caclulate nlabels and set *chainingp correctly
...
(cherry picked from commit e78e55f435 )
2018-08-08 14:27:44 -07:00
Tinderbox User
4b0b459e5b
prep 9.11.4-P1
2018-08-08 14:27:44 -07:00
Evan Hunt
98b2377de3
explicit DNAME query could trigger a crash if deny-answer-aliases was set
...
(cherry picked from commit a21c3810d3453548cc05ae19995125dabea9ca9c)
(cherry picked from commit 6e187b8656 )
2018-08-08 14:27:17 -07:00
Mark Andrews
4130859964
remove dead code
...
(cherry picked from commit 83a1e87dd2 )
2018-08-03 09:50:45 +10:00
Mark Andrews
c4089d38cd
treat the signed instance of a inline zone as dynamic
...
(cherry picked from commit 9130f055f4 )
2018-08-02 14:27:41 +10:00
Mark Andrews
a65c8e27b1
handle dns_aclelementtype_geoip
...
(cherry picked from commit 57eadf4d4f )
2018-08-02 09:59:58 +10:00
Mark Andrews
c47f3abead
test dns_acl_isinsecure with geoip element
...
(cherry picked from commit fb8bb4e306 )
2018-08-02 09:59:58 +10:00
Mark Andrews
d024898f35
use tlsa and smime structs to set common values
...
(cherry picked from commit 63c9ec367f )
2018-08-02 08:52:30 +10:00
Mark Andrews
0a9f953a2f
refcount errors on error paths
...
(cherry picked from commit 4093efc900 )
2018-07-31 18:43:18 +10:00
Mark Andrews
43c6f0d801
remove re-initalisation of common structure
...
(cherry picked from commit 6e06d3e7c6 )
2018-07-12 09:49:01 +10:00
Mark Andrews
f1f2c0c493
remove redundant test
...
(cherry picked from commit 6eec7fe092 )
2018-07-10 19:05:12 -07:00
Mark Andrews
078962a616
fix spelling of 'telemetry'
...
(cherry picked from commit 4f18b6a09a )
2018-07-10 18:30:45 -07:00
Tinderbox User
3bbd725a2c
prep 9.11.4rc2
2018-06-28 05:07:42 +00:00
Evan Hunt
65bf99c85a
use ISC_INT32_MAX as maximum
2018-06-27 18:40:24 -07:00
Witold Kręcicki
e92d5421c3
Fallback to normal procedure if creating of ixfr-from-differences fails
...
(cherry picked from commit b1254430df )
2018-06-27 18:33:33 -07:00
Witold Kręcicki
1919f5c937
Fix some issues with large journal entries
...
(cherry picked from commit 0db7130f2b )
2018-06-27 18:33:32 -07:00
Mark Andrews
6a52c54af6
cfg_parse_boolean's REQUIRE test for ret was incomplete.
...
(cherry picked from commit f1ee5e4a16 )
2018-06-27 17:37:17 +10:00
Ondřej Surý
a6887424ca
Un-deprecate the answer-cookie option
2018-06-26 15:18:36 -07:00
Witold Kręcicki
5e375f8b52
Use completely static-sized buffers
...
(cherry picked from commit 49f90025a0 )
(cherry picked from commit 4007a9d020 )
2018-06-26 15:23:28 -04:00
Witold Kręcicki
cd7bf90a54
Fix socket cmsg buffer usage
...
(cherry picked from commit d79be7dd5e )
(cherry picked from commit da63e95612 )
2018-06-26 15:23:28 -04:00
Mark Andrews
316eebb699
construct a symtab of valid in-view targets then check that the target exists
...
(cherry picked from commit e01a4bcb20 )
2018-06-26 10:53:59 -07:00
Mark Andrews
236ab4c453
fix casecompare return type for ninfo, tkey, txt
...
(cherry picked from commit 3ba1d1e43b )
2018-06-25 13:10:06 +10:00
Evan Hunt
a1690b24bc
prepare 9.11.4rc1
2018-06-21 18:54:43 +02:00
Mark Andrews
09776e3e54
Declare the 'rdata' argument for dns_rdata_tostruct() to be const
...
(cherry picked from commit abb2fd1027 )
2018-06-15 08:52:41 +02:00
Michał Kępień
2c09f7a06c
Reimplement all zone logging functions using dns_zone_logv()
...
In order to decrease code duplication, express the logic contained in
all zone logging functions using dns_zone_logv() calls.
(cherry picked from commit 5c03cd339e )
2018-06-11 12:50:25 +02:00
Michał Kępień
4fab6fec76
Add dns_zone_logv()
...
Add a new libdns function, dns_zone_logv(), which takes a single va_list
argument rather than a variable number of arguments and can be used as a
base for implementing more specific zone logging functions.
(cherry picked from commit bb2dfb3f49 )
2018-06-11 12:50:25 +02:00
Evan Hunt
b75a2b9730
improve readability of radix code
...
- use RADIX_V4, RADIX_V6, RADIX_V4_ECS, and RADIX_V6_ECS as array
indices instead of 0 through 3.
- remove some unused macros
(cherry picked from commit f7f20b1202 )
2018-06-08 12:11:19 -07:00
Evan Hunt
7a00ce2e77
ensure we try to validate glue records so RRSIG TTLs will be capped
2018-06-08 11:41:48 -07:00
Mark Andrews
d1f9dcca00
add cfg_parse_buffer4
...
(cherry picked from commit b313084af2 )
2018-06-08 17:40:32 +10:00
Mukund Sivaraman
441de7dbe3
Add a answer-cookie named config option
...
(cherry picked from commit 2930507357 )
2018-06-08 17:29:28 +10:00
Mark Andrews
34bfd20348
Add support for marking a option as deprecated.
...
(cherry picked from commit befff9452c )
2018-06-08 15:56:01 +10:00
Witold Kręcicki
9b17be187f
Don't fetch DNSKEY when fuzzing resolver
...
(cherry picked from commit cb3208aa43 )
2018-06-06 15:27:27 +02:00
Mark Andrews
dd05287a31
add support -T sigvalinsecs
...
(cherry picked from commit 87a3dc8ab9 )
(cherry picked from commit 69340b5ac5 )
2018-06-06 17:17:48 +10:00
Mark Andrews
298372d8d2
only sign with other keys when deleting a key if there are not already existing signature for the deleted algorithm
...
(cherry picked from commit 0667bf7ae7 )
(cherry picked from commit c1e342cedb )
2018-06-06 17:10:01 +10:00
Mark Andrews
9a5f308287
add named.conf option root-key-sentinel
...
(cherry picked from commit 68e9315c7d )
(cherry picked from commit ee763ef281 )
2018-06-04 17:41:22 -04:00
Mark Andrews
f9d19cab7f
4699. [func] Multiple cookie-secret clauses can now be specified.
...
The first one specified is used to generate new
server cookies. [RT #45672 ]
2018-06-04 13:16:28 -07:00
Mukund Sivaraman
2bbea4513f
Add NSEC3 fromtext/totext unittests
...
(cherry picked from commit b0d9198e03 )
2018-06-04 13:02:44 +10:00
Mukund Sivaraman
0aa9c410d7
Don't insert 2nd space between NSEC3 nexthash and typemap fields
...
(cherry picked from commit d4ea1edd2c )
2018-06-04 13:02:44 +10:00
Mark Andrews
e568d66db3
work around cppcheck false positive
...
(cherry picked from commit cb5802e854 )
2018-05-29 09:45:23 +10:00
Evan Hunt
884e8df7ca
copyrights
2018-05-23 09:55:41 -07:00
Mark Andrews
fed871b720
ISC_SOCKEVENTATTR_TRUNC was not be set
...
(cherry picked from commit 6bff1768cf )
2018-05-18 16:00:36 +10:00
Mark Andrews
4868351c45
look for '\0'
...
(cherry picked from commit d03a81c265 )
2018-05-18 12:45:14 +10:00
Mark Andrews
0256a07b96
add some %f format tests
...
(cherry picked from commit f5233ba5de )
2018-05-18 12:45:14 +10:00
Michał Kępień
803537b991
isc_buffer_*(): if source can be NULL, only call memmove() when length is non-zero
...
Certain isc_buffer_*() functions might call memmove() with the second
argument (source) set to NULL and the third argument (length) set to 0.
While harmless, it triggers an ubsan warning:
runtime error: null pointer passed as argument 2, which is declared to never be null
Modify all memmove() call sites in lib/isc/include/isc/buffer.h and
lib/isc/buffer.c which may potentially use NULL as the second argument
(source) so that memmove() is only called if the third argument (length)
is non-zero.
(cherry picked from commit 6ddbca6f2b )
2018-05-15 09:32:19 +02:00
Michał Kępień
b7b1de0a39
dns_rdataslab_merge(): use dns_rdata_compare() instead of compare_rdata()
...
compare_rdata() was meant to be used as a qsort() callback. Meanwhile,
dns_rdataslab_merge() calls compare_rdata() for a pair of dns_rdata_t
structures rather than a pair of struct xrdata structures, which is
harmless, but triggers an ubsan warning:
rdataslab.c:84:33: runtime error: member access within address <address> with insufficient space for an object of type 'const struct xrdata'
Use dns_rdata_compare() instead of compare_rdata() to prevent the
warning from being triggered.
(cherry picked from commit 9bc6ba0be9 )
2018-05-15 09:32:19 +02:00