summaryrefslogtreecommitdiff
path: root/searx/botdetection/limiter.toml
diff options
context:
space:
mode:
Diffstat (limited to 'searx/botdetection/limiter.toml')
-rw-r--r--searx/botdetection/limiter.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/searx/botdetection/limiter.toml b/searx/botdetection/limiter.toml
new file mode 100644
index 000000000..71a231e8f
--- /dev/null
+++ b/searx/botdetection/limiter.toml
@@ -0,0 +1,22 @@
+[real_ip]
+
+# Number of values to trust for X-Forwarded-For.
+
+x_for = 1
+
+# The prefix defines the number of leading bits in an address that are compared
+# to determine whether or not an address is part of a (client) network.
+
+ipv4_prefix = 32
+ipv6_prefix = 48
+
+[botdetection.ip_limit]
+
+# To get unlimited access in a local network, by default link-lokal addresses
+# (networks) are not monitored by the ip_limit
+filter_link_local = false
+
+# acrivate link_token method in the ip_limit method
+link_token = false
+
+