1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-14 08:40:11 +01:00
searxng/docs/admin/engines
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
..
command-line-engines.rst [docs] revision of the section 'Command Line Engines' 2021-06-04 15:05:58 +02:00
index.rst [doc] slightly reorder the chapters & improve TOCs for better navigation 2023-04-16 15:21:26 +02:00
nosql-engines.rst [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
private-engines.rst [docs] move blog article "private engines" to admin/engines/ 2021-06-04 15:05:58 +02:00
recoll.rst [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
search-indexer-engines.rst [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00
searx.engines.xpath.rst [docs] move article "XPath Engine" to to admin/engines/ 2021-06-04 15:04:38 +02:00
settings.rst [mod] limiter -> botdetection: modularization and documentation 2023-05-29 14:54:56 +02:00
sql-engines.rst [fix] typos / reported by @kianmeng in searx PR-3366 2022-09-27 18:32:14 +02:00