Block IP if triggered a critical modsecurity rule repeatedly
Hello World,
[COLOR=rgb(44, 130, 201)]I want to automate IP blocking if certain IP keep trigger CRITICAL modsecurity rule!
[COLOR=rgb(184, 49, 47)]e.g: IP 1.1.1.1 have triggered more than 10 critical rule in a day = action: IP block
[COLOR=rgb(0, 0, 0)]Best Regards[COLOR=rgb(0, 0, 0)]
-
You would need to edit the rule or add a new one, the documentation here may be helpful: ModSecurity Tools | cPanel & WHM Documentation as well as modsecurity's own documentation here Making Rules " OWASP CRS Documentation 3.0.0-rc1 documentation 0 -
You can consider this option in csf [QUOTE]# - Enable failure detection of repeated Apache mod_security rule triggers
0 - Enable failure detection of repeated Apache mod_security rule triggers
Please sign in to leave a comment.
Comments
2 comments