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/botdetection
Markus Heiser f3763d73ad [mod] limiter: blocklist and passlist (ip_lists)
A blocklist and a passlist can be configured in /etc/searxng/limiter.toml::

    [botdetection.ip_lists]
    pass_ip = [
      '51.15.252.168',  # IPv4 of check.searx.space
    ]

    block_ip = [
      '93.184.216.34',  # IPv4 of example.org
    ]

Closes: https://github.com/searxng/searxng/issues/2127
Closes: https://github.com/searxng/searxng/pull/2129
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
..
__init__.py [fix] limiter: replace real_ip by IPv4/v6 network 1 year ago
_helpers.py [mod] limiter: blocklist and passlist (ip_lists) 1 year ago
http_accept.py [fix] limiter: replace real_ip by IPv4/v6 network 1 year ago
http_accept_encoding.py [fix] limiter: replace real_ip by IPv4/v6 network 1 year ago
http_accept_language.py [fix] limiter: replace real_ip by IPv4/v6 network 1 year ago
http_connection.py [fix] limiter: replace real_ip by IPv4/v6 network 1 year ago
http_user_agent.py [fix] limiter: replace real_ip by IPv4/v6 network 1 year ago
ip_limit.py [mod] limiter: blocklist and passlist (ip_lists) 1 year ago
ip_lists.py [mod] limiter: blocklist and passlist (ip_lists) 1 year ago
limiter.py [mod] limiter: blocklist and passlist (ip_lists) 1 year ago
limiter.toml [mod] limiter: blocklist and passlist (ip_lists) 1 year ago
link_token.py [mod] limiter: blocklist and passlist (ip_lists) 1 year ago