bind9/bin/named
Aram Sargsyan 716b936045 Implement sig0key-checks-limit and sig0message-checks-limit
Previously a hard-coded limitation of maximum two key or message
verification checks were introduced when checking the message's
SIG(0) signature. It was done in order to protect against possible
DoS attacks. The logic behind choosing the number two was that more
than one key should only be required only during key rotations, and
in that case two keys are enough. But later it became apparent that
there are other use cases too where even more keys are required, see
issue number #5050 in GitLab.

This change introduces two new configuration options for the views,
sig0key-checks-limit and sig0message-checks-limit, which define how
many keys are allowed to be checked to find a matching key, and how
many message verifications are allowed to take place once a matching
key has been found. The latter protects against expensive cryptographic
operations when there are keys with colliding tags and algorithm
numbers, with default being 2, and the former protects against a bit
less expensive key parsing operations and defaults to 16.
2025-02-20 13:35:14 +00:00
..
include add a rndc command to toggle jemalloc profiling 2025-01-25 14:28:41 +03:00
.gitignore Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
bind9.xsl Expose the incoming transfers' rates in the statistics channel 2025-02-20 09:32:55 +00:00
builtin.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
config.c Implement sig0key-checks-limit and sig0message-checks-limit 2025-02-20 13:35:14 +00:00
control.c add a rndc command to toggle jemalloc profiling 2025-01-25 14:28:41 +03:00
controlconf.c Refactor and simplify isc_symtab 2025-02-17 11:43:19 +01:00
dlz_dlopen_driver.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
fuzz.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
geoip.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
log.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
logconf.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
main.c clean up uses of ISC_R_NOMEMORY 2025-01-23 15:54:57 -08:00
Makefile.am Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
named.conf.rst remove {root-}delegation-only 2023-03-23 12:57:01 -07:00
named.rst Finalize removal of memory debug flags size and mctx 2024-12-06 02:29:20 +00:00
os.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
server.c Implement sig0key-checks-limit and sig0message-checks-limit 2025-02-20 13:35:14 +00:00
statschannel.c Expose the incoming transfers' rates in the statistics channel 2025-02-20 09:32:55 +00:00
tkeyconf.c clean up uses of ISC_R_NOMEMORY 2025-01-23 15:54:57 -08:00
transportconf.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tsigconf.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
xsl_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zoneconf.c Implement the min-transfer-rate-in configuration option 2025-02-20 09:32:55 +00:00