mod_security 2.5.5 not working after install
Subject: mod_security 2.5.5 not working after install
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-06-19 19:19:14 GMT
I've followed the directions to install mod_security and the core rules, but I must have missed something since it's not working. When trying to tiger mod_security in testing I tried “curl http://site.com/cmd.exe” and “curl –A ‘paros’ http://site.com” expecting something to get an entry in the modsec_audit.log, but it’s empty.
I’ve look through the archives a bit, but couldn’t find anything too useful, but hopefully I’ve provided the information below that will be helpful in troubleshooting this. I plan to up the SecDebugLogLevel to 9 to see if anything shows up, but I can’t take down the web server for testing till later. Any other suggestions would be awesome.
Thanks in advance for anyone who can help me troubleshoot.
-- System and file info –
# httpd -v
Server version: Apache/2.0.52
Server built: Jan 5 2006 12:31:31
# uname -a
Linux saddleback.aravo.network 2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006 i686 i686 i386 GNU/Linux
# cat /etc/redhat-release
CentOS release 4.3 (Final)
# ls -l /usr/lib/libxml2*
-rw-r--r-- 1 root root 1203320 Jan 14 04:01 /usr/lib/libxml2.a
-rwxr-xr-x 1 root root 801 Jan 14 04:00 /usr/lib/libxml2.la
lrwxrwxrwx 1 root root 17 Jun 18 19:04 /usr/lib/libxml2.so -> libxml2.so.2.6.16
lrwxrwxrwx 1 root root 17 Jun 18 18:17 /usr/lib/libxml2.so.2 -> libxml2.so.2.6.16
-rwxr-xr-x 1 root root 965920 Jan 14 04:01 /usr/lib/libxml2.so.2.6.16
# ls -l /usr/lib/liblua*
-rwxr-xr-x 1 root root 196832 Feb 1 05:26 /usr/lib/liblua5.1.a
-rwxr-xr-x 1 root root 156261 Feb 1 05:26 /usr/lib/liblua5.1.so
-- Apache config info --
# grep -i security /etc/httpd/conf/httpd.conf | grep -v \#
LoadModule security2_module modules/mod_security2.so
Include conf/modsecurity/*.conf
# grep LoadFile /etc/httpd/conf/httpd.conf
LoadFile /usr/lib/libxml2.so.2
LoadFile /usr/lib/liblua5.1.so
-- ModSecurity Conf --
# grep SecRuleEngine /etc/httpd/conf/modsecurity/modsecurity_crs_10_config.conf
SecRuleEngine On
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ mod-security-users mailing list mod-security-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-security-users
RSS Feed