diff --git a/etc/anubis/botPolicy.yaml b/etc/anubis/botPolicy.yaml index 2274a85..23cebc7 100644 --- a/etc/anubis/botPolicy.yaml +++ b/etc/anubis/botPolicy.yaml @@ -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