.oO SearXNG Developer Documentation Oo.
|
Go to the source code of this file.
Namespaces | |
namespace | searx |
namespace | searx.botdetection |
namespace | searx.botdetection.link_token |
Functions | |
searx.botdetection.link_token.is_suspicious (IPv4Network|IPv6Network network, flask.Request request, bool renew=False) | |
searx.botdetection.link_token.ping (flask.Request request, str token) | |
str | searx.botdetection.link_token.get_ping_key (IPv4Network|IPv6Network network, flask.Request request) |
bool | searx.botdetection.link_token.token_is_valid (token) |
str | searx.botdetection.link_token.get_token () |
Variables | |
int | searx.botdetection.link_token.TOKEN_LIVE_TIME = 600 |
int | searx.botdetection.link_token.PING_LIVE_TIME = 3600 |
str | searx.botdetection.link_token.PING_KEY = 'SearXNG_limiter.ping' |
str | searx.botdetection.link_token.TOKEN_KEY = 'SearXNG_limiter.token' |
searx.botdetection.link_token.logger = logger.getChild('botdetection.link_token') | |