bind9/bin
Aram Sargsyan c7f79a0353
Add a quota for SIG(0) signature checks
In order to protect from a malicious DNS client that sends many
queries with a SIG(0)-signed message, add a quota of simultaneously
running SIG(0) checks.

This protection can only help when named is using more than one worker
threads. For example, if named is running with the '-n 4' option, and
'sig0checks-quota 2;' is used, then named will make sure to not use
more than 2 workers for the SIG(0) signature checks in parallel, thus
leaving the other workers to serve the remaining clients which do not
use SIG(0)-signed messages.

That limitation is going to change when SIG(0) signature checks are
offloaded to "slow" threads in a future commit.

The 'sig0checks-quota-exempt' ACL option can be used to exempt certain
clients from the quota requirements using their IP or network addresses.

The 'sig0checks-quota-maxwait-ms' option is used to define a maximum
amount of time for named to wait for a quota to appear. If during that
time no new quota becomes available, named will answer to the client
with DNS_R_REFUSED.
2024-06-10 17:33:08 +02:00
..
check switch default zone database from "qp" to "qpzone" 2024-03-08 15:36:56 -08:00
confgen Remove isc__tls_setfatalmode() function and the calls 2024-02-08 08:01:58 +01:00
delv Add a quota for SIG(0) signature checks 2024-06-10 17:33:08 +02:00
dig Re-enable EDNS if an EDNS flag gets set to 1 by +ednsflags 2024-03-16 16:07:55 +11:00
dnssec Fail if there are non apex DNSKEYs 2024-05-16 10:28:27 +10:00
named Add a quota for SIG(0) signature checks 2024-06-10 17:33:08 +02:00
nsupdate complete removal of isc_loop_current() 2024-04-02 10:35:56 +02:00
plugins Remove 'inst != NULL' from cleanup check in plugin_register 2023-04-04 23:51:22 +00:00
rndc Rework isccc_ccmsg to support multiple messages per tcp read 2024-04-18 20:08:44 +02:00
tests Add a quota for SIG(0) signature checks 2024-06-10 17:33:08 +02:00
tools Emit and read correct DoT and DoH dnstap entries 2024-04-26 16:12:29 +03:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00