-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expirevar not working #315
Comments
Hello @iliuta , The ModSecurity-nginx project is only for the ModSecurity nginx connector. It has less activity because most of the work related to a use of ModSecurity with nginx occurs in the ModSecurity project ( https://github.com/SpiderLabs/ModSecurity ). Check your ModSecurity version. The expirevar action had not yet been implemented in versions 3.0.0 through 3.0.10. The functionality is present, however, in ModSecurity v3.0.11, which was published earlier this month. |
Thanks @martinhsv |
Version 1.0.3 would be the version of the Connector (the ModSecurity-nginx project). If you are not sure what version of ModSecurity 3.0.x you are using there are a few different ways you can tell, including:
|
Thanks again @martinhsv for this useful information. |
|
Thanks @airween |
Hi,
I'm not sure this project is still maintained but I give a try.
I'm trying to block agressive attacks using core rule set REQUEST-912-DOS-PROTECTION.conf with my nginx ingress controller installation.
It looks like once a couple IP + user agent is blocked, then it never expires.
tx.dos_block_timeout is not taken into account.
While desperately searching on the internet for an explanation, some agree that expirevar is not working properly.
Is there any solution I can apply? Thanks.
The text was updated successfully, but these errors were encountered: