Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions data/botPolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ bots:
weight:
adjust: -5

# Chrome should send versions of form 130.0.0.0 in its user agent string.
- name: chrome-version-simplified
expression:
all:
- userAgent.contains("Chrome")
- userAgent.matches("Chrome/1[3-9][0-9]\\.0\\.0\\.0")
action: WEIGH
weight:
adjust: -5

- name: should-have-accept
expression: '!("Accept" in headers)'
action: WEIGH
Expand Down
10 changes: 10 additions & 0 deletions data/meta/default-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,16 @@
weight:
adjust: -5

# Chrome should send versions of form 130.0.0.0 in its user agent string.
- name: chrome-version-simplified
expression:
all:
- userAgent.contains("Chrome")
- userAgent.matches("Chrome/1[3-9][0-9]\\.0\\.0\\.0")
action: WEIGH
weight:
adjust: -5

- name: should-have-accept
expression: '!("Accept" in headers)'
action: WEIGH
Expand Down
1 change: 1 addition & 0 deletions docs/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

- Fix `SERVE_ROBOTS_TXT` setting file after the double slash fix broke it.
- Remove the default configuration rule to block Tencent cloud. If users see abuse from Tencent cloud IP ranges, please contact [email protected] and mention that you are using Anubis to protect your services. Please include source IP address, source port, timestamp, target IP address, target port, request headers (including the User-Agent header), and target endpoints/patterns.
- Add a deweighing rule that removes 5 weight points if a client uses Google Chrome and the version number in the user agent is "chromey enough".

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

deweighing is not a recognized word. (unrecognized-spelling)

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error documentation

chromey is not a recognized word. (unrecognized-spelling)

## v1.23.0: Lyse Hext

Expand Down
Loading