.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
ip_lists.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.botdetection
 
namespace  searx.botdetection.ip_lists
 

Functions

Tuple[bool, str] searx.botdetection.ip_lists.pass_ip (IPv4Address|IPv6Address real_ip, config.Config cfg)
 
Tuple[bool, str] searx.botdetection.ip_lists.block_ip (IPv4Address|IPv6Address real_ip, config.Config cfg)
 
Tuple[bool, str] searx.botdetection.ip_lists.ip_is_subnet_of_member_in_list (IPv4Address|IPv6Address real_ip, str list_name, config.Config cfg)
 

Variables

 searx.botdetection.ip_lists.logger = logger.getChild('ip_limit')
 
list searx.botdetection.ip_lists.SEARXNG_ORG