]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: More tests for the dynamic block's sliding window 9976/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 15 Jan 2021 11:01:30 +0000 (12:01 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 15 Jan 2021 11:01:30 +0000 (12:01 +0100)
commitc340d2097dd2c35ac9ab48ddce6b3f0b4c55795d
tree562ec429a1f1641bb3cf95d584c1287ee4cc122b
parent5b5b480bd4eebeef759b58f3b3889e731689da39
dnsdist: More tests for the dynamic block's sliding window

Check that we do not look at queries older than our sliding window,
but also that we correctly trigger a block with a huge peak of
queries not followed by any more queries.
pdns/dnsdistdist/test-dnsdistdynblocks_hh.cc