bind9/lib/dns
Mark Andrews e09eb2ff21 Fix OID check for PRIVATEOID keys and signatures
We were failing to account for the length byte before the OID.
See RFC 4034.

   Algorithm number 254 is reserved for private use and will never be
   assigned to a specific algorithm.  The public key area in the DNSKEY
   RR and the signature area in the RRSIG RR begin with an unsigned
   length byte followed by a BER encoded Object Identifier (ISO OID) of
   that length.  The OID indicates the private algorithm in use, and the
   remainder of the area is whatever is required by that algorithm.
   Entities should only use OIDs they control to designate their private
   algorithms.

(cherry picked from commit ca7355b7d0)
2025-04-09 20:07:31 +00:00
..
include Add static ede context into each validator layer 2025-04-02 16:42:23 +00:00
rdata Fix OID check for PRIVATEOID keys and signatures 2025-04-09 20:07:31 +00:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
acl.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
adb.c Fix gaining adbname reference 2025-03-21 00:29:45 +00:00
badcache.c Improve the badcache cleaning by adding LRU and using RCU 2024-11-27 17:07:03 +00:00
byaddr.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
cache.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
callbacks.c add setup/commit functions to rdatacallbacks 2024-03-08 15:36:56 -08:00
catz.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
client.c Split and simplify the use of EDE list implementation 2025-01-30 12:37:55 +00:00
clientinfo.c refactor dns_clientinfo_init(); use separate function to set ECS 2023-02-07 23:48:22 -08:00
compress.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
db.c Limit the additional processing for large RDATA sets 2025-01-15 13:57:27 +01:00
db_p.h Rewrite the GLUE cache in QP zone database 2025-01-06 14:00:47 +01:00
dbiterator.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
diff.c Incrementally apply AXFR transfer 2024-11-26 07:17:06 +00:00
dispatch.c Dispatch: carefully check if the server name for SNI is a hostname 2025-03-31 15:07:55 +03:00
dlz.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dns64.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dnsrps.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dnssec.c Don't check DNS_KEYFLAG_NOAUTH 2025-03-24 23:52:02 -07:00
dnstap.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dnstap.proto Update the dnstap protobuf definition 2024-04-26 16:08:46 +03:00
ds.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dst_api.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dst_internal.h Create keys with PKCS#11 URI instead of object 2024-01-25 14:48:07 +01:00
dst_openssl.h Report file and line when converting OpenSSL errors 2023-04-03 12:06:04 +10:00
dst_parse.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
dst_parse.h Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
dyndb.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ecs.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ede.c Don't copy EDE codes if source is same as destination 2025-04-02 16:42:23 +00:00
fixedname.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
forward.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
gen.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
geoip2.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
gssapi_link.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
gssapictx.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
hmac_link.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ipkeylist.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
iptable.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
journal.c Optimize memory layout of core structs 2024-12-09 09:04:28 +01:00
kasp.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
key.c Don't check DNS_KEYFLAG_NOAUTH 2025-03-24 23:52:02 -07:00
keydata.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
keymgr.c Update Retired and Removed if we update lifetime 2025-03-20 13:57:45 +00:00
keystore.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
keytable.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
log.c remove {root-}delegation-only 2023-03-23 12:57:01 -07:00
Makefile.am Split and simplify the use of EDE list implementation 2025-01-30 12:37:55 +00:00
master.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
masterdump.c Print the expiration time of the stale records (not ancient) 2025-02-04 18:07:59 +01:00
message.c Remove check for missing RRSIG records from getsection 2025-02-21 03:00:29 +00:00
name.c Optimize memory layout of core structs 2024-12-09 09:04:28 +01:00
nametree.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ncache.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
nsec.c Drop single-use RETERR macro 2024-12-10 08:47:25 +00:00
nsec3.c dns_nsec3_addnsec3() can fail when iterating back 2025-03-17 09:27:09 +00:00
nta.c Split and simplify the use of EDE list implementation 2025-01-30 12:37:55 +00:00
openssl_link.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
openssl_shim.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
openssl_shim.h Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
opensslecdsa_link.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
openssleddsa_link.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
opensslrsa_link.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
order.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
peer.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
private.c Apply more SET_IF_NOT_NULL() changes 2024-12-13 13:50:05 +00:00
probes.d Do not destroy IXFR journal in xfrin_end() 2023-12-20 17:21:14 +01:00
qp.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
qp_p.h Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
qpcache.c Fix invalid cache-line padding for qpcache buckets 2025-03-25 09:59:02 +00:00
qpcache_p.h rename qpdb to qpcache 2024-03-08 15:36:56 -08:00
qpzone.c qpzone find() function could set foundname incorrectly 2025-03-17 09:27:09 +00:00
qpzone_p.h stub dns_qpmulti-based zone database implementation 2024-03-06 20:57:31 -08:00
rbt-cachedb.c Expand the usage of mark_ancient() helper functions 2025-02-03 15:53:34 +01:00
rbt-zonedb.c rbtdb zone find() function could set foundname incorrectly 2025-03-17 09:27:09 +00:00
rbt.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rbtdb.c Fix "CNAME and other data" detection 2025-02-14 13:41:11 +11:00
rbtdb_p.h Expand the usage of mark_ancient() helper functions 2025-02-03 15:53:34 +01:00
rcode.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rdata.c Fix OID check for PRIVATEOID keys and signatures 2025-04-09 20:07:31 +00:00
rdatalist.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rdataset.c Check whether a rejected rrset is different 2025-02-19 18:29:34 -08:00
rdatasetiter.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rdataslab.c Check whether a rejected rrset is different 2025-02-19 18:29:34 -08:00
remote.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
request.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
resconf.c Fix parsing of unknown directives in resolv.conf 2024-12-10 00:49:06 +00:00
resolver.c fix the fetchresponse result for CNAME/DNAME 2025-03-26 11:59:48 +01:00
result.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rootns.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rpz.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rriterator.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
rrl.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
sdlz.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
skr.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
soa.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ssu.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
ssu_external.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
time.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
tkey.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
transport.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
tsig.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
tsig_p.h remove dns__tsig_algallocated() 2023-06-14 08:14:38 +00:00
ttl.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
update.c Revert "Attach dnssecsignstats, rcvquerystats, and requeststats" 2024-12-08 12:03:12 +01:00
validator.c Add static ede context into each validator layer 2025-04-02 16:42:23 +00:00
view.c Apply more SET_IF_NOT_NULL() changes 2024-12-13 13:50:05 +00:00
xfrin.c Expose the incoming transfers' rates in the statistics channel 2025-02-20 11:05:09 +00:00
zone.c Don't check DNS_KEYFLAG_NOAUTH 2025-03-24 23:52:02 -07:00
zone_p.h Refactor findzonekeys 2024-01-25 14:48:07 +01:00
zonekey.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
zoneverify.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
zt.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00