4 Jul 10:49
Disabling rules for one argument
From: Nick Gearls <nickgearls <at> gmail.com>
Subject: Disabling rules for one argument
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-07-04 08:50:36 GMT
Subject: Disabling rules for one argument
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-07-04 08:50:36 GMT
Hello,
I have a rule like
SecRule ARGS "bad pattern" "id:10000,..."
and I'd like to disable it for one specific argument
I tried
SecRule ARGS:name "phase:2,t:none,allow,nolog,ctl:ruleRemoveById=10000"
but it doesn't work
Any idea ?
Thanks,
Nick
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
If I understand correctly, there is no way, for example, to remove a
core rule check for one argument without modifying the core rule,
right ?
How does the ctl:ruleRemoveById rule work exactly ?
I suppose it is evaluated
1. either before the id rule is defined
-> id was not defined
-> ignored
2. or after the id rule is defined
-> the request was already blocked
-> never reached
Regards,
Nick
Ryan Barnett wrote:
>> -----Original Message-----
>> From: Nick Gearls [mailto:nickgearls <at> gmail.com]
>> Sent: Friday, July 04, 2008 11:04 AM
>> To: Ryan Barnett
>> Cc: mod-security-users <at> lists.sourceforge.net
>> Subject: Re: [mod-security-users] Disabling rules for one argument
>>
>> Obviously, I was not specific enough.
>>
RSS Feed