1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 19:00:10 +01:00
searxng/docs/admin
Markus Heiser 1ec325adcc [mod] limiter -> botdetection: modularization and documentation
In order to be able to meet the outstanding requirements, the implementation is
modularized and supplemented with documentation.

This patch does not contain functional change, except it fixes issue #2455

----

Aktivate limiter in the settings.yml and simulate a bot request by::

    curl -H 'Accept-Language: de-DE,en-US;q=0.7,en;q=0.3' \
         -H 'Accept: text/html'
         -H 'User-Agent: xyz' \
         -H 'Accept-Encoding: gzip' \
         'http://127.0.0.1:8888/search?q=foo'

In the LOG:

    DEBUG   searx.botdetection.link_token : missing ping for this request: .....

Since ``BURST_MAX_SUSPICIOUS = 2`` you can repeat the query above two time
before you get a "Too Many Requests" response.

Closes: https://github.com/searxng/searxng/issues/2455
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-05-29 14:54:56 +02:00
..
answer-captcha [doc] answer CAPTCHA from server's IP 2023-05-22 10:46:10 +02:00
engines [mod] limiter -> botdetection: modularization and documentation 2023-05-29 14:54:56 +02:00
answer-captcha.rst [doc] answer CAPTCHA from server's IP 2023-05-22 10:46:10 +02:00
api.rst [theme] peel out oscar from SearXNG development 2022-04-30 13:20:27 +02:00
arch_public.dot [doc] update documentation of the installation procedures 2022-07-30 13:39:35 +02:00
architecture.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
buildhosts.rst [fix] typos/grammar in docs 2023-04-21 06:51:44 +02:00
index.rst [doc] answer CAPTCHA from server's IP 2023-05-22 10:46:10 +02:00
installation-apache.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
installation-docker.rst [fix] typos/grammar in docs 2023-04-21 06:51:44 +02:00
installation-nginx.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
installation-scripts.rst [fix] typos/grammar in docs 2023-04-21 06:51:44 +02:00
installation-searxng.rst [docs] corrections from @tiekoetter's review 2022-07-30 13:39:35 +02:00
installation-uwsgi.rst move searx.shared.redisdb to searx.redisdb 2022-12-10 09:26:38 +01:00
installation.rst [fix] typos/grammar in docs 2023-04-21 06:51:44 +02:00
plugins.rst [mod] documentation: change the jinja context doesn't depend on searx.webapp 2020-12-27 10:00:35 +01:00
update-searxng.rst [doc] slight improvements to the doc of the settings (base_url) 2023-02-17 12:08:58 +01:00