Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DCamma committed Mar 18, 2024
1 parent 279d153 commit e759362
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ It's designed to propose the following rules:

|Priority|Rule Name|Notes|
|----------|----------|------|
|0 | whitelisted_ips_v4| Automatically download and whitelist bots IPV4s (see variables) and whitelist any list of IPV4 ranges|
|1 | whitelisted_ips_v6| Automatically download and whitelist bots IPV6s (see variables) and whitelist any list of IPV6 ranges|
|2 | rate_limit_everything_apart_from_CH| This rule is meant to be a failsafe switch in case of attack. Change "count" to "block" in the console if you are under attack and want to rate limit to a low number of requests every country except Switzerland |
|3 | count_requests_from_ch| |
|4-9 | | Free priority range for additional rules |
|10-19 | AWS Managed rule groups | Each group could contain multiple labels, please refer to the [doc](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-list.html)|
|20-29 | AWS managed rule labels| For a list of labels is possible to define an action: block, captcha or challenge. In all cases is possible to define a rate limit or directly apply the action |
|30-49 | country_rates| Geographical rules|
|50 | everybody_else_limit| The blocking limit for all country_codes which are not covered by the country_rates rule|
|60-69 | AWS managed rule labels| Additional priority range reserved for AWS Managed rule labels |
|70 | limit_search_requests_by_countries| |
|71-89 | block_uri_path_string| |
|90-109 | block_articles| |
|110-129 | block_regex_pattern| |
|0 | limit_search_requests_by_countries | |
|1-9 | block_uri_path_string | |
|10-19 | block_articles | |
|20-29 | block_regex_pattern | |
|30-39 free | Free priority range for additional rules |
|40 | whitelisted_ips_v4 | Automatically download and whitelist bots IPV4s (see variables) and whitelist any list of IPV4 ranges|
|41 | whitelisted_ips_v6 | Automatically download and whitelist bots IPV6s (see variables) and whitelist any list of IPV6 ranges|
|42 | Rate_limit_everything_apart_from_CH | This rule is meant to be a failsafe switch in case of attack. Change "count" to "block" in the console if you are under attack and want to rate limit to a low number of requests every country except Switzerland |
|43 | count_requests_from_ch |
|44-49 | free | Free priority range for additional rules |
|50-59 | AWS Managed rule groups | Each group could contain multiple labels, please refer to the [doc](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-list.html)|
|60-69 | AWS managed rule labels rate limit | For a list of labels is possible to define an action: block, captcha or challenge. In all cases is possible to define a rate limit or directly apply the action |
|70-79 | country_rates | Geographical rules|
|80 | everybody_else_limit | The blocking limit for all country_codes which are not covered by the country_rates rule|

## Waf logging

Expand Down

0 comments on commit e759362

Please sign in to comment.