1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00
searxng/searx/botdetection
Markus Heiser 38431d2e14 [fix] correct determination of the IP for the request
For correct determination of the IP to the request the function
botdetection.get_real_ip() is implemented.  This fonction is used in the
ip_limit and link_token method of the botdetection and it is used in the
self_info plugin.

A documentation about the X-Forwarded-For header has been added.

[1] https://github.com/searxng/searxng/pull/2357#issuecomment-1566211059

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-06-01 14:38:53 +02:00
..
__init__.py [fix] correct determination of the IP for the request 2023-06-01 14:38:53 +02:00
_helpers.py [mod] botdetection - improve ip_limit and link_token methods 2023-06-01 14:38:53 +02:00
http_accept_encoding.py [mod] botdetection - improve ip_limit and link_token methods 2023-06-01 14:38:53 +02:00
http_accept_language.py [mod] botdetection - improve ip_limit and link_token methods 2023-06-01 14:38:53 +02:00
http_accept.py [mod] botdetection - improve ip_limit and link_token methods 2023-06-01 14:38:53 +02:00
http_connection.py [mod] botdetection - improve ip_limit and link_token methods 2023-06-01 14:38:53 +02:00
http_user_agent.py [mod] botdetection - improve ip_limit and link_token methods 2023-06-01 14:38:53 +02:00
ip_limit.py [fix] correct determination of the IP for the request 2023-06-01 14:38:53 +02:00
limiter.py [mod] botdetection - improve ip_limit and link_token methods 2023-06-01 14:38:53 +02:00
limiter.toml [fix] correct determination of the IP for the request 2023-06-01 14:38:53 +02:00
link_token.py [fix] correct determination of the IP for the request 2023-06-01 14:38:53 +02:00