|
|
Choosing A Webhost: |
Problem with REQUEST_BODY SecRule (not catching/denying): msg#00128apache.mod-security.user
Hello All I'm still working on migrating boxes from 1.x to 2.x and overall, everything is working great. I'm having a weird issue with a custom rule though, and hoping that someone might be able to get me a nudge in the right direction. I'm using a stripped down and modified blacklist.conf from gotroot. http://www.gotroot.com/mod_security+rules I'm having trouble with the following: SecDefaultAction "log,deny,phase:1,status:403" SecRule REQUEST_BODY "(abc|efg|123)" for whatever reason, this is not being caught and denied with 403. I use this rule to help on comment spam. I have another layer behind this that is catching the spam (that's how I know the body has the words in the rule, etc.. because I get mailed the report from the spam catch) I use to have the following rule: SecFilterSelective POST_PAYLOAD "(abc|efg|123)" I had to change the exact regEx, since it was getting caught on pharma ban on the mailing list. Just substitute the abc, efg and 123 with the 'usual' pharma crap you get in spam. And it worked flawlessly. Any ideas? Current versions: apache-2.0.58-r2 mod_security-2.1.1 Thanks in advance. hanji ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Simple installation question, Albert E. Whale |
|---|---|
| Next by Date: | Re: Problem with REQUEST_BODY SecRule (notcatching/denying), Ryan Barnett |
| Previous by Thread: | Simple installation question, Albert E. Whale |
| Next by Thread: | Re: Problem with REQUEST_BODY SecRule (notcatching/denying), Ryan Barnett |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |