Mark Andrews
1722728c80
enforce known SSHFP finger print lengths
2019-05-09 08:11:43 +10:00
Mark Andrews
b274f3fad7
enforce DS hash exists
2019-04-10 13:36:08 +10:00
Mark Andrews
82d4931440
for rkey flags MUST be zero
2019-04-09 13:55:30 +10:00
Mark Andrews
2592e91516
check flags for no key in fromwire for *KEY
2019-04-09 13:55:30 +10:00
Mark Andrews
473987d8d9
Disallow empty ZONEMD hashes
...
This change is the result of discussions with the authors of
draft-wessels-dns-zone-digest.
2019-03-22 06:49:01 +11:00
Tony Finch
0f219714e1
cleanup: use dns_secalg_t and dns_dsdigest_t where appropriate
...
Use them in structs for various rdata types where they are missing.
This doesn't change the structs since we are replacing explicit
uint8_t field types with aliases for uint8_t.
Use dns_dsdigest_t in library function arguments.
Improve dnssec-cds with these more specific types.
2019-03-08 18:37:50 +11:00
Mark Andrews
a9fadafecd
fix AMTRELAY name
2019-02-08 13:54:13 +11:00
Evan Hunt
3183663dd4
Add support for ZONEMD
2019-02-07 12:34:14 -08:00
Mark Andrews
66922ee7af
Add support for ATMRELAY
2019-02-07 10:28:19 -08:00
Mark Andrews
5e8b772ad1
Ensure base64/base32/hex fields in DNS records that should be non-empty are.
2019-01-09 18:04:21 +11:00
Mark Andrews
f4ceb12b69
create dns_rdatatype_atcname to split records that can appear along side CNAME from DNSSEC; dns_rdatatype_iszonecutauth allowed too many types
2018-12-14 12:48:55 +11:00
Ondřej Surý
e69dc0dbc7
Remove RSAMD5 support
2018-12-11 11:32:24 +01:00
Ondřej Surý
29c45200e7
Add extra return failure after INSIST(0) in default branch
2018-11-08 12:22:17 +07:00
Ondřej Surý
4eaf927571
Use larger buffers on snprintf buffer overflow false positives
2018-11-08 12:21:53 +07:00
Ondřej Surý
b2b43fd235
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
2018-11-08 12:21:53 +07:00
Mark Andrews
cf83016682
compare_nxt compared records with identical next fields case insensitively
2018-10-30 14:51:39 +11:00
Ondřej Surý
7fd3dc63de
Add generic message digest API (isc_md) to replace specific MD functions md5/sha1/sha256
2018-10-25 08:15:42 +02:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Mark Andrews
63c9ec367f
use tlsa and smime structs to set common values
2018-08-01 18:15:08 -04:00
Mark Andrews
6e06d3e7c6
remove re-initalisation of common structure
2018-07-12 09:37:13 +10:00
Mark Andrews
3ba1d1e43b
fix casecompare return type for ninfo, tkey, txt
2018-06-24 22:48:59 -04:00
Ondřej Surý
27593e65dc
Remove support for obsoleted ECC-GOST (GOST R 34.11-94) algorithm
2018-06-05 09:14:14 +02:00
Mukund Sivaraman
d4ea1edd2c
Don't insert 2nd space between NSEC3 nexthash and typemap fields
2018-06-04 12:21:48 +10:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +02:00
Michał Kępień
172d0c401e
Address GCC 8 -Wformat-truncation warnings
2018-05-10 10:35:01 +02:00
Tony Finch
286a7b6b9a
Allow TTL values when configuring TTLs and time intervals.
...
Options updated to use ttlvals: max-cache-ttl, max-ncache-ttl,
max-policy-ttl, fstrm-set-reopen-interval, interface-interval, and
min-update-interval.
2018-04-13 11:46:06 -07:00
Witold Kręcicki
c8aa1ee9e6
libdns refactoring: get rid of multiple versions of dns_dt_create, dns_view_setcache, dns_zt_apply, dns_message_logfmtpacket, dns_message_logpacket, dns_ssutable_checkrules and dns_ttl_totext
2018-04-06 08:04:41 +02:00
Michał Kępień
4f96cebce3
Replace getquad() with inet_pton()
...
getquad() was implemented back in 2001 to warn about IPv4 addresses in
non-dotted-quad form being used. As change 4900 (GL #13 ) removed all
uses of inet_aton(), which allowed such forms, with inet_pton(), which
does not allow them, there is no point in keeping getquad() around as it
now only prints an extra warning when the parser comes across an IP
address in a form which is not acceptable anyway. Replace all uses of
getquad() with inet_pton(AF_INET, ...).
2018-03-06 09:49:30 +01:00
Ondřej Surý
a11e23b5ed
Replace all usage of inet_aton() with inet_pton()
2018-02-23 13:57:10 +01:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mark Andrews
eaddb0c686
use %u instead of %d
2018-02-16 10:20:38 +11:00
Tinderbox User
ffac31097d
update copyright notice / whitespace
2018-01-30 23:45:59 +00:00
Mark Andrews
3ae586b857
4879. [bug] dns_rdata_caa:value_len is was small. [RT #47086 ]
2018-01-30 10:58:56 +11:00
Mark Andrews
9d5a0abe81
4841. [bug] Address -fsanitize=undefined warnings. [RT #46786 ]
2017-12-06 21:00:14 +11:00
Tinderbox User
3bfc28a0d0
update copyright notice / whitespace
2017-11-13 23:45:33 +00:00
Mark Andrews
e2f9dcfd86
more DNS_NAME_INITABSOLUTE cases
2017-11-14 00:21:50 +11:00
Michał Kępień
417218837e
[master] Add support for DOA
...
4761. [protocol] Add support for DOA. [RT #45612 ]
2017-10-06 12:22:08 +02:00
Tinderbox User
ca0ae70046
update copyright notice / whitespace
2017-10-03 23:45:48 +00:00
Mark Andrews
a009d03a1a
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132 ]
2017-10-03 14:54:19 +11:00
Tinderbox User
e880197f31
update copyright notice / whitespace
2017-09-27 23:45:52 +00:00
Mark Andrews
d386eb54c6
switch to using snprintf from sprintf
2017-09-28 07:15:46 +10:00
Evan Hunt
534c43860e
[master] update copyrights
2017-09-11 17:47:12 -07:00
Evan Hunt
3e66721b35
[master] add missing rrtypes to genzones
...
4711. [test] Some RR types were missing from genzones.sh.
[RT #45782 ]
2017-09-11 09:34:41 -07:00
Tinderbox User
f562de3f71
update copyright notice / whitespace
2017-08-24 23:47:03 +00:00
Mark Andrews
07741d43c8
4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
...
messages. [RT #44804 ]
2017-08-25 08:38:19 +10:00
Tinderbox User
9ab5ec1d72
update copyright notice / whitespace
2017-07-21 23:46:06 +00:00
Mark Andrews
4bf32aa587
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
2017-07-21 11:52:24 +10:00
Mark Andrews
df17290113
4468. [bug] Address ECS option handling issues. [RT #43191 ]
2016-09-14 08:22:15 +10:00
Mark Andrews
bb900e62bf
4436. [func] Return TLSA records as additional data for MX and SRV
...
lookups. [RT #42894 ]
2016-08-12 10:03:23 +10:00