Trouble excluding params with ARGS_NAMES

Jamie Burchell <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <[email protected]>
Hi there

For reasons that are totally escaping me, I can't get the below exclusion rule to work:

SecRuleUpdateTargetById 920000-943999 "!ARGS_NAMES:/password/"

However, using this rule does work:

SecRuleUpdateTargetById 920000-943999 "!ARGS:/password/"

I had thought that the first version of this rule would exclude any parameter containing the word "password", but it does not seem to be working. The second version of the rule does work, but presumably will also match on any parameter value containing the word "password", which isn't really what I wanted. What am I doing wrong?

Thanks in advance
Jamie

mod_security: 2.9.2
CRS: 3.3.0

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.