mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-05 08:18:17 +00:00
Compare commits
1 Commits
Xe/documen
...
Xe/chrome-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9339016910 |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user