A Cloudflare Firewall Rules ruleset to block malicious crawlers, spam referrers, and other bad internet traffic.
Cloudflare Block Bad Bot Ruleset is a ruleset for Cloudflare Firewall Rules that blocks malicious web crawlers, spam referrers, adware, malware, and other harmful internet traffic. It helps website owners reduce unwanted and potentially dangerous automated traffic by filtering requests based on User-Agent strings and IP addresses.
Website administrators and developers using Cloudflare who want to add an extra layer of protection against bad bots and automated threats without configuring complex WAF rules manually.
It provides a pre-configured, community-maintained ruleset that is easy to deploy via Cloudflare's Firewall Rules interface, saving time and offering protection inspired by popular bot-blocking projects like nginx-badbot-blocker.
:vertical_traffic_light: Block malicious crawlers with Cloudflare Firewall Rules
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers ready-to-use Cloudflare Firewall Rules, saving configuration time, as demonstrated in the usage screenshot and rule files.
Includes rules to allow legitimate crawlers like search engines, preventing accidental blocking of beneficial traffic, mentioned in the Good Bot rule file.
Blocks specific IP ranges such as Aliyun Yundun, adding an IP-based security layer beyond User-Agent filtering, based on known CIDR lists.
Leverages insights from projects like nginx-badbot-blocker, ensuring rules are tested and community-vetted for common threats.
Primarily filters based on User-Agent strings, which can be easily faked, reducing effectiveness against sophisticated bots, as cautioned in the Precautions section.
Only compatible with Cloudflare Firewall Rules, locking users into the Cloudflare ecosystem and making it unusable with other hosting or CDN providers.
Requires periodic manual updates to the ruleset to address new threats, unlike automated security services that adapt dynamically, as noted in the Todo list for future enhancements.