mirror of
https://git.nerdvpn.de/NerdVPN.de/invidious
synced 2026-02-14 22:51:42 +01:00
Update anubis config
This commit is contained in:
@@ -32,6 +32,10 @@ bots:
|
||||
user_agent_regex: frontend-instances-scraper
|
||||
remote_addresses: ["172.182.196.51/32"]
|
||||
|
||||
- name: unauthorized-uptime-checks
|
||||
user_agent_regex: UptimeRobot
|
||||
action: DENY
|
||||
|
||||
- name: allow-git-clients
|
||||
action: ALLOW
|
||||
expression:
|
||||
@@ -117,9 +121,10 @@ bots:
|
||||
- '"Accept-Language" in headers'
|
||||
action: CHALLENGE
|
||||
challenge:
|
||||
algorithm: preact
|
||||
difficulty: 4
|
||||
report_as: 4
|
||||
#algorithm: preact
|
||||
#difficulty: 4
|
||||
algorithm: metarefresh
|
||||
difficulty: 1
|
||||
|
||||
# Catch all generic browsers
|
||||
- name: generic-browser
|
||||
@@ -129,7 +134,6 @@ bots:
|
||||
challenge:
|
||||
algorithm: fast
|
||||
difficulty: 5
|
||||
report_as: 5
|
||||
|
||||
# Deny the rest
|
||||
- name: catch-all
|
||||
@@ -144,7 +148,7 @@ openGraph:
|
||||
store:
|
||||
backend: valkey
|
||||
parameters:
|
||||
url: ""
|
||||
url: "unix:///redis-server.sock?db=14"
|
||||
|
||||
status_codes:
|
||||
CHALLENGE: 200
|
||||
@@ -164,7 +168,6 @@ thresholds:
|
||||
challenge:
|
||||
algorithm: preact
|
||||
difficulty: 4
|
||||
report_as: 4
|
||||
|
||||
- name: moderate
|
||||
expression:
|
||||
@@ -175,7 +178,6 @@ thresholds:
|
||||
challenge:
|
||||
algorithm: fast
|
||||
difficulty: 4
|
||||
report_as: 4
|
||||
|
||||
- name: high
|
||||
expression:
|
||||
@@ -186,7 +188,6 @@ thresholds:
|
||||
challenge:
|
||||
algorithm: fast
|
||||
difficulty: 5
|
||||
report_as: 5
|
||||
|
||||
# Whoever ends up here needs to fucking choke
|
||||
- name: impossible
|
||||
@@ -195,4 +196,3 @@ thresholds:
|
||||
challenge:
|
||||
algorithm: fast
|
||||
difficulty: 6
|
||||
report_as: 6
|
||||
|
||||
Reference in New Issue
Block a user