Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Problem with REQUEST_BODY SecRule (not catching/denying): msg#00128

apache.mod-security.user

Subject: Problem with REQUEST_BODY SecRule (not catching/denying)

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>
Google Custom Search

Recently Viewed:
video.h264.deve...    technology.erps...    drivers.hostap/...    user-groups.lin...    games.railroad-...    handhelds.linux...    lang.harbour.de...    recreation.radi...    culture.publica...    xfree86.devel/2...    music.john-cage...    otrs.cvs/2003-0...    network.e-smith...    asplinux.suppor...    qnx.openqnx.dev...    ietf.nfsv4/2005...    editors.vim/200...    kde.devel.kopet...    web.zope.zwiki....    freebsd.devel.m...    java.xdoclet.de...    php.simpletest....    bacula.user/200...    security.virus....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation