mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-09-07 11:44:55 -04:00
data: disable generic-bot-catchall by default (#322)
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
84b28760b3
commit
3f1ce2d7ac
@ -670,16 +670,6 @@
|
|||||||
"user_agent_regex": "HeadlessChromium",
|
"user_agent_regex": "HeadlessChromium",
|
||||||
"action": "DENY"
|
"action": "DENY"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "generic-bot-catchall",
|
|
||||||
"user_agent_regex": "(?i:bot|crawler)",
|
|
||||||
"action": "CHALLENGE",
|
|
||||||
"challenge": {
|
|
||||||
"difficulty": 16,
|
|
||||||
"report_as": 4,
|
|
||||||
"algorithm": "slow"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "generic-browser",
|
"name": "generic-browser",
|
||||||
"user_agent_regex": "Mozilla|Opera",
|
"user_agent_regex": "Mozilla|Opera",
|
||||||
|
@ -645,14 +645,14 @@ bots:
|
|||||||
path_regex: ^/robots.txt$
|
path_regex: ^/robots.txt$
|
||||||
action: ALLOW
|
action: ALLOW
|
||||||
|
|
||||||
# Punish any bot with "bot" in the user-agent string
|
# # Punish any bot with "bot" in the user-agent string
|
||||||
- name: generic-bot-catchall
|
# - name: generic-bot-catchall
|
||||||
user_agent_regex: (?i:bot|crawler)
|
# user_agent_regex: (?i:bot|crawler)
|
||||||
action: CHALLENGE
|
# action: CHALLENGE
|
||||||
challenge:
|
# challenge:
|
||||||
difficulty: 16 # impossible
|
# difficulty: 16 # impossible
|
||||||
report_as: 4 # lie to the operator
|
# report_as: 4 # lie to the operator
|
||||||
algorithm: slow # intentionally waste CPU cycles and time
|
# algorithm: slow # intentionally waste CPU cycles and time
|
||||||
|
|
||||||
- name: generic-browser
|
- name: generic-browser
|
||||||
user_agent_regex: >
|
user_agent_regex: >
|
||||||
|
@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Added headers support to bot policy rules
|
- Added headers support to bot policy rules
|
||||||
- Moved configuration file from JSON to YAML by default
|
- Moved configuration file from JSON to YAML by default
|
||||||
- Added documentation on how to use Anubis with Traefik in Docker
|
- Added documentation on how to use Anubis with Traefik in Docker
|
||||||
|
- Disable `generic-bot-catchall` rule because of its high false positive rate in real-world scenarios
|
||||||
|
|
||||||
## v1.16.0
|
## v1.16.0
|
||||||
|
|
||||||
|
@ -132,6 +132,8 @@ Rules can also have their own challenge settings. These are customized using the
|
|||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="json" label="JSON" default>
|
<TabItem value="json" label="JSON" default>
|
||||||
|
|
||||||
|
This rule has been known to have a high false positive rate in testing. Please use this with care.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"name": "generic-bot-catchall",
|
"name": "generic-bot-catchall",
|
||||||
@ -148,6 +150,8 @@ Rules can also have their own challenge settings. These are customized using the
|
|||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="yaml" label="YAML">
|
<TabItem value="yaml" label="YAML">
|
||||||
|
|
||||||
|
This rule has been known to have a high false positive rate in testing. Please use this with care.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Punish any bot with "bot" in the user-agent string
|
# Punish any bot with "bot" in the user-agent string
|
||||||
- name: generic-bot-catchall
|
- name: generic-bot-catchall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user