Block bad, possibly even malicious web crawlers (automated bots) using Cloudflare Firewall Rules
使用 Cloudflare Firewall Rules 拦截恶意网络爬虫(自动机器人)和其它恶意流量
Cloudflare Block Bad Bot Ruleset projects stop and block Bad Bot, Spam Referrer, Adware, Malware and any other kinds of bad internet traffic ever reaching your web sites. Inspired by nginx-badbot-blocker & worked with Cloudflare Firewall Rules.
Cloudflare Block Bad Bot Ruleset 可以阻止恶意爬虫、垃圾引荐来源、广告、恶意软件以及任何其他类型的恶意互联网流量到达您的网站。灵感来自 nginx-badbot-blocker 并与 Cloudflare Firewall Rules 搭配使用。
Cloudflare Block Bad Bot Ruleset mainly based on User-Agent, which is known to all that could be changed easily. So the project can not replace the Web Application Firewall.
Cloudflare Block Bad Bot Ruleset 主要基于 User-Agent,但是众所周知 User-Agent 可以伪装,所以本项目并不能取代正规的 Web Application Firewall。
| Rule Name | Action | What For |
|---|---|---|
| Allow Legitimate Services | Skip | Match known good bot. 匹配已知的正常爬虫 |
| Block Malicious Traffic | Block | Block some known bad bot. 阻挡一些已知的恶意代理和漏洞探测 |
| Block Known Bad ASNs | Block | Based on known bad ASN numbe. 匹配一些已知的恶意ASN号 |
| Strict Rule | Challenge | Strict rules, but there may be false positives. 严格的规则,但可能会有误报 |
- Announcing Firewall Rules | Cloudflare Blog
- Cloudflare Firewall Rules | Cloudflare Documentations
- nginx-badbot-blocker | GitHub
- nginx-ultimate-bad-bot-blocker | GitHub
- Cloudflare-WAF-Expressions | GitHub
- cloudflare_waf_multi_zone_ci_exmaple | GitHub
Cloudflare Block Bad Bot Ruleset Made By Sukka Modified By DreamFerry, Released under the GPL License.
