You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iam tried to use negation on operator eg. !@ipmatch, but not work.
If i use this rule SecRule REMOTE_ADDR "!@ipmatch 172.16.71.132" \ "msg:'DENY TEST',\ id:1,\ t:none,\ deny"
but in debug log operator starting without ! [4] (Rule: 1) Executing operator "@ipmatch" with param "172.16.71.132" against REMOTE_ADDR.
And question is, negation is not implemented?
The text was updated successfully, but these errors were encountered:
Sorry for the delay. In fact, the `negation' variation was not enabled to the ipmatch operator. Recent change s on the libModSecurity code (owasp-modsecurity/ModSecurity@8757840) enables the negation variation to all the operators.
Hi,
iam tried to use negation on operator eg. !@ipmatch, but not work.
If i use this rule
SecRule REMOTE_ADDR "!@ipmatch 172.16.71.132" \ "msg:'DENY TEST',\ id:1,\ t:none,\ deny"
but in debug log operator starting without !
[4] (Rule: 1) Executing operator "@ipmatch" with param "172.16.71.132" against REMOTE_ADDR.
And question is, negation is not implemented?
The text was updated successfully, but these errors were encountered: