Add 'Opera' to 'generic-browser' bot policy rule (#220)

After deploying Anubis bot traffic is drastically reduced but I still
see a lot of requests from User-Agents that claim to be 'Opera' like so:

"Opera/9.90.(Windows NT 6.0; mt-MT) Presto/2.9.173 Version/10.00"
"Opera/8.46.(X11; Linux i686; fo-FO) Presto/2.9.161 Version/11.00"

Add 'Opera' to the generic-browser rule to also challenge them.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Co-authored-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Michael Jeanson 2025-04-18 13:57:02 -04:00 committed by GitHub
parent 095e18d0c8
commit af831f0d7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -675,7 +675,7 @@
}, },
{ {
"name": "generic-browser", "name": "generic-browser",
"user_agent_regex": "Mozilla", "user_agent_regex": "Mozilla|Opera",
"action": "CHALLENGE" "action": "CHALLENGE"
} }
], ],

View File

@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Whitelisted [DuckDuckBot](https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot/) in botPolicies - Whitelisted [DuckDuckBot](https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot/) in botPolicies
- Improvements to build scripts to make them less independent of the build host - Improvements to build scripts to make them less independent of the build host
- Improved the OpenGraph error logging - Improved the OpenGraph error logging
- Added `Opera` to the `generic-browser` bot policy rule
- Added FreeBSD rc.d script so can be run as a FreeBSD daemon. - Added FreeBSD rc.d script so can be run as a FreeBSD daemon.
- Allow requests from the Internet Archive - Allow requests from the Internet Archive
- Added example nginx configuration to documentation - Added example nginx configuration to documentation