diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-05-27 21:36:34 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-06-01 14:38:53 +0200 |
commit | 52f1452c09ab2ec74aa5898d9ea749f33a71a814 (patch) | |
tree | 6c818d84143b29405edb8a4f8272f12064078f8a /searx/flaskfix.py | |
parent | 9d7456fd6c49fbd96f03f6a5dedd6ba05e924d0a (diff) | |
download | searxng-52f1452c09ab2ec74aa5898d9ea749f33a71a814.tar.gz searxng-52f1452c09ab2ec74aa5898d9ea749f33a71a814.zip |
[mod] limiter: ip_limt - monitore suspicious IPs
To intercept bots that get their IPs from a range of IPs, there is a
``SUSPICIOUS_IP_WINDOW``. In this window the suspicious IPs are stored for a
longer time. IPs stored in this sliding window have a maximum of
``SUSPICIOUS_IP_MAX`` accesses before they are blocked. As soon as the IP makes
a request that is not suspicious, the sliding window for this IP is droped.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/flaskfix.py')
0 files changed, 0 insertions, 0 deletions