Compare commits

...

1 Commits

Author SHA1 Message Date
Xe Iaso
9339016910 chore(default-config): add chromey version number check
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-11-03 16:24:33 -05:00
3 changed files with 21 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- 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 abuse@tencent.com 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".
## v1.23.0: Lyse Hext