You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx
Markus Heiser 80af38d37b [mod] increase SUSPICIOUS_IP_WINDOW from one day to 30 days
In my tests I see bots rotating IPs (with endless IP lists).  If such a bot has
100 IPs and has three attempts (SUSPICIOUS_IP_MAX = 3) then it can successfully
send up to 300 requests in one day while rotating the IP.  To block the bots for
a longer period of time the SUSPICIOUS_IP_WINDOW, as the time period in which an
IP is observed, must be increased.

For normal WEB-browsers this is no problem, because the SUSPICIOUS_IP_WINDOW is
deleted as soon as the CSS with the token is loaded.

SUSPICIOUS_IP_WINDOW = 3600 * 24 * 30
  Time (sec) before sliding window for one suspicious IP expires.

SUSPICIOUS_IP_MAX = 3
  Maximum requests from one suspicious IP in the :py:obj:`SUSPICIOUS_IP_WINDOW`."""

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
..
answerers [fix] issue reported by pylint 22.1.0 3 years ago
botdetection [mod] increase SUSPICIOUS_IP_WINDOW from one day to 30 days 1 year ago
data Update searx.data - update_engine_descriptions.py 1 year ago
enginelib [fix] searxng_extra/update/update_engine_descriptions.py (part 1) 1 year ago
engines use logger.warning 1 year ago
infopage [fix] minor typo in de/search-syntax page 2 years ago
metrics [fix] prepare for pylint 2.14.0 2 years ago
network [mod] Shuffle httpx's default ciphers of a SSL context randomly. 2 years ago
plugins [fix] limiter: replace real_ip by IPv4/v6 network 1 year ago
search use logger.warning 1 year ago
static [build] /static 1 year ago
templates/simple [mod] limiter -> botdetection: modularization and documentation 1 year ago
tools [mod] limiter: add config file /etc/searxng/limiter.toml 1 year ago
translations [translations] update from Weblate 1 year ago
__init__.py [format.python] initial formatting of the python code 3 years ago
autocomplete.py [mod] remove obsolete EngineTraits.supported_languages 2 years ago
babel_extract.py [mod] move category and names of constants to searx/searxng.msg 3 years ago
compat.py [fix] pyright repported errors 2 years ago
exceptions.py [doc] Add doc-strings to searx.exceptions 2 years ago
external_bang.py [mod] external bang: go to main instead of search page when query is empty 1 year ago
external_urls.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
flaskfix.py [format.python] initial formatting of the python code 3 years ago
locales.py use logger.warning 1 year ago
preferences.py [fix] ClientPref - don't raise exception if Accept-Language is invalid 1 year ago
query.py [mod] replace searx.languages by searx.sxng_locales 2 years ago
redisdb.py move searx.shared.redisdb to searx.redisdb 2 years ago
redislib.py [mod] redislib - optimize LUA script registration. 2 years ago
results.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
searxng.msg [mod] clarify the difference of the default category and subgrouping 2 years ago
settings.yml [mod] donation_url: disable by default 1 year ago
settings_defaults.py [mod] replace searx.languages by searx.sxng_locales 2 years ago
settings_loader.py [fix] categories can't be removed from UI (categories_as_tabs) 2 years ago
sxng_locales.py Update searx.data - update_engine_traits.py 1 year ago
unixthreadname.py [format.python] initial formatting of the python code 3 years ago
utils.py [mod] replace utils.match_language by locales.match_locale 2 years ago
version.py [fix] version format string generated by 'git show' 1 year ago
webadapter.py [mod] move language recognition to get_search_query_from_webapp 1 year ago
webapp.py [mod] limiter -> botdetection: modularization and documentation 1 year ago
webutils.py [mod] in the preference page, show !bang of subgrouping categories 2 years ago