mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 08:35:31 +00:00
[master] bug in rrl slip
3545. [bug] RRL slip behavior was incorrect when set to 1. [RT #33111]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
3545. [bug] RRL slip behavior was incorrect when set to 1.
|
||||||
|
[RT #33111]
|
||||||
|
|
||||||
3544. [contrib] check5011.pl: Script to report the status of
|
3544. [contrib] check5011.pl: Script to report the status of
|
||||||
managed keys as recorded in managed-keys.bind.
|
managed keys as recorded in managed-keys.bind.
|
||||||
Contributed by Tony Finch <dot@dotat.at>
|
Contributed by Tony Finch <dot@dotat.at>
|
||||||
|
@@ -756,6 +756,8 @@ debit_rrl_entry(dns_rrl_t *rrl, dns_rrl_entry_t *e, double qps, double scale,
|
|||||||
}
|
}
|
||||||
if (slip != 0 && e->key.s.rtype != DNS_RRL_RTYPE_ALL) {
|
if (slip != 0 && e->key.s.rtype != DNS_RRL_RTYPE_ALL) {
|
||||||
if (e->slip_cnt++ == 0) {
|
if (e->slip_cnt++ == 0) {
|
||||||
|
if ((int) e->slip_cnt >= slip)
|
||||||
|
e->slip_cnt = 0;
|
||||||
if (isc_log_wouldlog(dns_lctx, DNS_RRL_LOG_DEBUG3))
|
if (isc_log_wouldlog(dns_lctx, DNS_RRL_LOG_DEBUG3))
|
||||||
debit_log(e, age, "slip");
|
debit_log(e, age, "slip");
|
||||||
return (DNS_RRL_RESULT_SLIP);
|
return (DNS_RRL_RESULT_SLIP);
|
||||||
|
Reference in New Issue
Block a user