unbound/libunbound
Robert Edmonds fceb4e8585
Mesh reply counters (#1374)
* Statistics counter for number of queries dropped by limit on reply addresses

Request list entries can be associated with multiple pending "reply
addresses". Basically each request list entry keeps its own list of
clients that should receive the response once the recursion is finished.
This requires keeping allocations around for each client, and there is
a global limit on the number of *additional* reply addresses that can
be allocated. (Each new request list entry seems to get its own initial
reply address which is not counted against the limit.)

This commit adds a statistics counter "num_queries_replyaddr_limit" that
counts the number of incoming client queries that have been dropped due
to the restriction on allocating additional reply addresses. This allows
distinguishing these drops from other kinds of drops.

* Statistics counter for number of mesh reply entries

Request list entries can be associated with multiple pending "reply
addresses". Since there is a limit on the number of additional reply
addresses that can be allocated which can cause incoming queries to be
dropped if exceeded, it would be nice to be able to track this number.

This commit basically exports the mesh_area's internal counter
`num_reply_addrs` as "threadX.requestlist.current.replies" /
"total.requestlist.current.replies".
2025-11-13 09:33:05 +01:00
..
python Replace deprecated $function by new $action 2025-09-08 10:11:49 +02:00
context.c - Fix alloc-size and calloc-transposed-args compiler warnings. 2024-09-06 16:01:30 +02:00
context.h ipset-pf-support, simplification of code. 2024-07-02 09:08:27 +02:00
libunbound.c ipset-pf-support, move startup and destartup to the front of the module 2024-07-03 13:53:44 +02:00
libworker.c - Fix for consistent use of local zone CNAME alias for configured auth 2025-06-17 15:03:29 +02:00
libworker.h - Fix #3817: core dump happens in libunbound delete, when queued 2018-03-15 13:32:19 +00:00
ubsyms.def - ub_ctx_set_tls call for libunbound that enables DoT for the machines 2019-01-28 08:22:08 +00:00
unbound-event.h Fix issue #851: reserved identifier violation 2023-03-21 13:51:51 +01:00
unbound.h Mesh reply counters (#1374) 2025-11-13 09:33:05 +01:00
worker.h - Update ratelimit code for recent serviced_query changes and more 2022-01-29 23:49:38 +01:00