SecAction phase:2 skipAfter kills modsecurity

#1
Hi,

I was wondering if LiteSpeed should have any issue with this kind of mod_security directive:

SecAction phase:2,pass,nolog,skipAfter:1234123450,id:1234123411

My problem is that the rule list stops being processed at any such line. I didn't know why mod_security is not working on our LiteSpeed servers only to find out that the above directive is killing it. Rules are processed until any such directive and after it, no rule is processed. I had to comment out all SecAction...skipAfter directives to make it somewhat work.

What do you think is the problem?

Thanks!
 

mistwang

LiteSpeed Staff
#4
What is the target.
SecMarker 1234123450

or

SecRule ... "id:1234123450"

If you use SecMarker, use a non-numeric ID to avoid confusion.
If you use SecRule, make sure the ID value is less than the maximum value of 32bit integer.
 
Top