v1.20.0-pre1 #698
Xe
announced in
Announcements
Replies: 1 comment
-
Known issue: #600, Anubis can sometimes false-block the Git client. To fix this, import the Git client allow rule from the standard library: - import: (data)/clients/git.yaml Be sure to do this before your default CHALLENGE rule if you have one. Alternatively, you can use this policy file that is about to be released as -pre2: bots:
- import: (data)/bots/ai-robots-txt.yaml
- import: (data)/bots/cloudflare-workers.yaml
- import: (data)/bots/headless-browsers.yaml
- import: (data)/bots/us-ai-scraper.yaml
- import: (data)/crawlers/googlebot.yaml
- import: (data)/crawlers/bingbot.yaml
- import: (data)/crawlers/duckduckbot.yaml
- import: (data)/crawlers/qwantbot.yaml
- import: (data)/crawlers/internet-archive.yaml
- import: (data)/crawlers/kagibot.yaml
- import: (data)/crawlers/marginalia.yaml
- import: (data)/crawlers/mojeekbot.yaml
- import: (data)/clients/git.yaml
- import: (data)/common/keep-internet-working.yaml
- name: generic-browser
user_agent_regex: >-
Mozilla|Opera
action: CHALLENGE
dnsbl: false
thresholds:
- name: minimal-suspicion
expression: weight <= 0
action: ALLOW
- name: mild-suspicion
expression:
all:
- weight > 0
- weight < 10
action: CHALLENGE
challenge:
algorithm: metarefresh
difficulty: 1
report_as: 1
- name: moderate-suspicion
expression:
all:
- weight >= 10
- weight < 20
action: CHALLENGE
challenge:
algorithm: fast
difficulty: 2
report_as: 2
- name: extreme-suspicion
expression: weight >= 20
action: CHALLENGE
challenge:
algorithm: fast
difficulty: 4
report_as: 4 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
v1.20.0 prerelease 1: Thancred Waters
The big ticket items are as follows:
metarefresh
(#95)robots2policy
CLI utility to convert robots.txt files to Anubis challenge policies using CEL expressions (#409)A lot of performance improvements have been made:
allocations
And some cleanups/refactors were added:
/test-error
endpoint and update the testing endpoint/make-challenge
to only be enabled indevelopment
--xff-strip-private
flag/envvar to toggle skipping X-Forwarded-For private addresses or not--strip-base-prefix
flag/envvar to strip the base prefix from request paths when forwarding to target serversRequest weight is one of the biggest ticket features in Anubis. This enables Anubis to be much closer to a Web Application Firewall and when combined with custom thresholds allows administrators to have Anubis take advanced reactions. For more information about request weight, see the request weight section of the policy file documentation.
TL;DR when you have one or more WEIGHT rules like this:
You can configure custom thresholds like this:
These thresholds apply when no other
ALLOW
,DENY
, orCHALLENGE
rule matches the request.WEIGHT
rules add and remove request weight as needed:Of note: the default "generic browser" rule assigns 10 weight points:
Adjust this as you see fit.
What's Changed
New Contributors
Full Changelog: v1.19.1...v1.20.0-pre1
This discussion was created from the release v1.20.0-pre1.
Beta Was this translation helpful? Give feedback.
All reactions