Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block Bad User Agents #21

Closed
harvest316 opened this issue Feb 24, 2014 · 1 comment
Closed

Block Bad User Agents #21

harvest316 opened this issue Feb 24, 2014 · 1 comment

Comments

@harvest316
Copy link

Hi guys.

Do you think we could add a bad user agent / bad IP list to this, to make sure we're properly covering all the bases?

Perhaps we can pull from one of these:
https://github.com/bluedragonz/bad-bot-blocker/
http://perishablepress.com/2013-user-agent-blacklist/
http://perishablepress.com/6g-beta/

Paul

@alrra
Copy link
Member

alrra commented Mar 24, 2014

@harvest316 sorry for the delayed answer.

https://github.com/bluedragonz/bad-bot-blocker/

Yandex/Baidu

Unless your website is written in Russian or Chinese, you probably don't get any traffic from them. They mostly just waste bandwidth and consume resources.

I'm surprised they decided to block Yandex and Baidu. These two search engines have quite a significant market share. Also, yandex.com is in English!

Do you think we could add a bad user agent / bad IP list to this, to make sure we're properly covering all the bases?

@harvest316 it won't be a good default. IMHO, the decision should be left to the developers, as they can better decide what to block based on the requests their server is getting and/or their own preferences.

Also, the UA strings / IPs of the malicious bots can change quite often, so if the list is not consistently updated (maybe through some automatic process, or by the developers), it can become quite useless very fast.

@alrra alrra closed this as completed Mar 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants