Comments (3)
That's what I thought.
I started writing it with a free API key and that returns 10k IPs, all with a confidence level of 100%.
I then got a paid key and set it up on 2 servers at 75% confidence which returns approximately 77k results.
When I checked the logs this morning, I found that verified bingbot IPs had been blocked several times.
Their confidence level is in the 80s, so I've set confidence back to 90 and 63k results to err on the safe side.
My bash knowledge is nonexistent but running the script is quick and hardly uses any resources. I tried to add a bit of a fallback if there's no response from the API, but I think it will fail/cause issues if it returns anything other than the plain text list of IPs (As I found out when I requested the json response by mistake).
Hopefully, someone else will find it useful.
from nginx-ultimate-bad-bot-blocker.
I got this working:
https://github.com/robwent/abuseipdb-bad-bot-blocker
I get the feeling it's already integrated at some level as there are a lot of duplicate IPs after running it.
Contribute to robwent/abuseipdb-bad-bot-blocker development by creating an account on GitHub.
from nginx-ultimate-bad-bot-blocker.
Hi @robwent abuse ipdb is already included in the daily updates but limited to the 1000 top IP's only without any API key or subscription. So this script you referenced, when used with a subscription to Abuse IPDB, would give you much more IP's but YES you will get many duplicate [warn] notices from Nginx but they are merely [warn] notices and are simply to be ignored as they do not affect Nginx operations in any way whatsoever.
from nginx-ultimate-bad-bot-blocker.
Related Issues (20)
- https://www.letsencrypt.org (CertBot renewal is being blocked 444) HOT 3
- [User-Agent] Axios is a popular http library used in Nodejs HOT 1
- [INSTALLATION] integrated w/ engintron, but does not work
- Updated BingBot IP Ranges HOT 7
- [User-Agent] BrandVerity HOT 1
- [User-Agent] AwarioBot HOT 3
- [User-Agent] Bytespider, Bytedance didn't get to block after install bad bot blocker
- linkfluence HOT 4
- AwarioBot Addition HOT 1
- [INSTALLATION] nginx -t return warn HOT 1
- Whitelist Yahoo HOT 2
- [User-Agent] InternetMeasurement
- [BUG] Nginx logs shows permissions denied error to /etc/nginx/conf.d/globalblacklist.conf HOT 1
- New "super rate limiting" zone (1r/m) in addition of the current one (2r/s) HOT 14
- blacklist-ips.conf does not do anything for me
- [User-Agent] GeedoProductSearch
- [User-Agent] Information Security Team InfraSec Scanner
- [INSTALLATION] Fail2ban/crowdsec and their interaction with this project, worth it? HOT 1
- [BUG] (Please add a way to uninstall completely) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-ultimate-bad-bot-blocker.