aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Jeanson <mjeanson@multivax.ca>2025-04-18 13:57:02 -0400
committerGitHub <noreply@github.com>2025-04-18 17:57:02 +0000
commitaf831f0d7fa6ed23a7818771e7d2a492c9329dc6 (patch)
tree7e02493c561a094f14f7d32d13d37a329ef38dd1
parent095e18d0c839f5a1a21faaaf1a8e188a62ac705c (diff)
downloadanubis-af831f0d7fa6ed23a7818771e7d2a492c9329dc6.tar.xz
anubis-af831f0d7fa6ed23a7818771e7d2a492c9329dc6.zip
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>
-rw-r--r--data/botPolicies.json2
-rw-r--r--docs/docs/CHANGELOG.md1
2 files changed, 2 insertions, 1 deletions
diff --git a/data/botPolicies.json b/data/botPolicies.json
index 0852f50..7d6e4cb 100644
--- a/data/botPolicies.json
+++ b/data/botPolicies.json
@@ -675,7 +675,7 @@
},
{
"name": "generic-browser",
- "user_agent_regex": "Mozilla",
+ "user_agent_regex": "Mozilla|Opera",
"action": "CHALLENGE"
}
],
diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md
index 8280533..ebcd35c 100644
--- a/docs/docs/CHANGELOG.md
+++ b/docs/docs/CHANGELOG.md
@@ -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
- Improvements to build scripts to make them less independent of the build host
- 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.
- Allow requests from the Internet Archive
- Added example nginx configuration to documentation