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 b8c7c2c9aa [mod] botdetection - improve ip_limit and link_token methods
- counting requests in LONG_WINDOW and BURST_WINDOW is not needed when the
  request is validated by the link_token method [1]

- renew a ping-key on validation [2], this is needed for infinite scrolling,
  where no new token (CSS) is loaded. / this does not fix the BURST_MAX issue in
  the vanilla limiter

- normalize the counter names of the ip_limit method to 'ip_limit.*'

- just integrate the ip_limit method straight forward in the limiter plugin /
  non intermediate code --> ip_limit now returns None or a werkzeug.Response
  object that can be passed by the plugin to the flask application / non
  intermediate code that returns a tuple

[1] https://github.com/searxng/searxng/pull/2357#issuecomment-1566113277
[2] https://github.com/searxng/searxng/pull/2357#discussion_r1208542206
[3] https://github.com/searxng/searxng/pull/2357#issuecomment-1566125979

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
..
answerers
botdetection [mod] botdetection - improve ip_limit and link_token methods 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 1 year ago
metrics
network
plugins [mod] botdetection - improve ip_limit and link_token methods 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
autocomplete.py
babel_extract.py
compat.py
exceptions.py
external_bang.py [mod] external bang: go to main instead of search page when query is empty 1 year ago
external_urls.py
flaskfix.py
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
redisdb.py
redislib.py
results.py
searxng.msg
settings.yml [mod] donation_url: disable by default 1 year ago
settings_defaults.py
settings_loader.py
sxng_locales.py Update searx.data - update_engine_traits.py 1 year ago
unixthreadname.py
utils.py
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 1 year ago