Giter Site home page Giter Site logo

cloudflare-rules's Introduction

Cloudflare Rules

Rules of Cloudflare Firewall for Block Bad Bot and Exploiting. Made by Safeness

  • Important: If you have any problems or questions, please contact Cloudflare support. These rules are general for review and it happens that they do not work stably on all sites, so you have to edit them yourself for your sites. They do not guarantee you complete protection, but only help to cope with common attacks.

1. Bad Bot - Action Block (open)

  • Blocks popular bad User Agent
  • Blocks connections by port (usually only bots do this)
  • Blocks outdated versions HTTP (1.0)
  • Blocks bad threats flagged by cloudflare
  • Blocks bad method requests
  • Blocks suspicious X-Forwarded-For
  • Blocks requests from the Tor network
  • Blocks ASN list of most known proxy scraping sites
  • Blocks non-standard cookies

2. Exploiting Fix (Beta) - Action Block (open)

  • Blocking queries with SQL vulnerabilities
  • Blocking queries with XSS vulnerabilities
  • Block popular PHP vulnerabilities

...

3. Method Fix (In Developing) - Action Block (open)

  • Blocks unusual attack methods that we have detected

4. Threat Check (Optional) - Action Challenge (open)

  • Checking for outdated versions HTTP (1.1, 1.2)
  • Checking countries that allow a lot of malicious traffic
  • Checking bad threats flagged by cloudflare
  • Checking for insecure requests (Not SSL requests)
  • Checking requests of unknown origin (Not have referer)

How to use?

Copy the expression and paste it into your expression builder image

Not enough Cloudflare?

Would you like to support me financially?

  • My Bitcoin wallet - 14AA4FAdUYnTVTx5pSQjq2h8UJoA8Na89R
  • My Litecoin wallet - MSevKqUirTvQTkGxYechhNmBgAtDiZJq2x

cloudflare-rules's People

Contributors

socolsrt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.