Post Reply  Post Thread 
Pages (2): « First < Previous 1 [2] Last »
Mod Security on debian
Author Message
hxbro
Junior Member
*


Posts: 24
Group: Registered
Joined: Feb 2007
Status: Offline
Reputation: 0
Post: #11
RE: Mod Security on debian

You'll have to do a lot of tweaking with the gotroot rules, you'll need to monitor daily your mod security log to see what's been blocked, and tweak the rules to make them work.

04-22-2008 01:57 AM
Find all posts by this user Quote this message in a reply
hYemac



Posts: 1
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #12
RE: Mod Security on debian

having issues .. system debian..

checking for strstr... yes
checking for strtol... yes
configure: looking for Apache module support via DSO through APXS
configure: found apxs at /usr/bin/apxs
configure: checking httpd version
configure: error: apache is too old
./configure: line 5051: exit: mmn: numeric argument required
./configure: line 5051: exit: mmn: numeric argument required

does are the inputs on

./configure && make && make install

thank you..

05-03-2008 11:08 AM
Find all posts by this user Quote this message in a reply
hxbro
Junior Member
*


Posts: 24
Group: Registered
Joined: Feb 2007
Status: Offline
Reputation: 0
Post: #13
RE: Mod Security on debian

apache is out of date, you should be running 2.x at least I think, preferably 2.2.x

What version of debian and apache are you running?

Do you update your system regularly using :

apt-get update && apt-get upgrade

?

05-03-2008 11:02 PM
Find all posts by this user Quote this message in a reply
Quemeros
Junior Member
*


Posts: 25
Group: Registered
Joined: Nov 2007
Status: Offline
Reputation: 0
Post: #14
RE: Mod Security on debian

I finish install mod_security but... now Apache reports that it are: "Apache/2.2.0 (Fedora) mod_fastcgi/2.4.2"... but the server si (like my signature say) a Debian Etch 2.2.4 :S (last remember)... it is normal :S?


OS: Debian Etch r3.0 Amd64
IspCP: RC4 (AWStats: Static) + AMaVis + SSL

This post was last modified: 05-08-2008 10:47 AM by Quemeros.

05-08-2008 10:45 AM
Find all posts by this user Quote this message in a reply
mafia



Posts: 4
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #15
RE: Mod Security on debian

bonjour

je viens install le mod security

voila erreur

ebian:/tmp# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...apache2: Syntax error on line 195 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/conf.d/mod-security2.conf: Include takes one argument, Name of the config file to be included
failed!
debian:/tmp#

/etc/apache2/conf.d/mod-security2.conf
include /etc/modsecurity2 /*. conf

merci

05-10-2008 04:09 AM
Find all posts by this user Quote this message in a reply
Zothos
Member
****
Dev Team

Posts: 484
Group: Dev Team
Joined: Feb 2007
Status: Offline
Reputation: 5
Post: #16
RE: Mod Security on debian

include /etc/modsecurity2 /*. conf -> include /etc/modsecurity2/*. conf


Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

05-10-2008 04:52 AM
Find all posts by this user Quote this message in a reply
mafia



Posts: 4
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #17
RE: Mod Security on debian

je fait quoi j ai pas compris merci

05-10-2008 06:25 PM
Find all posts by this user Quote this message in a reply
greatman
Junior Member
*


Posts: 17
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #18
RE: Mod Security on debian

ton include est mal fait il doit etre comme sa: include /etc/modsecurity/*.conf

P.S: T'aura plus de chance dans le forum fr que dans le english Tongue

Yesterday 02:15 AM
Find all posts by this user Quote this message in a reply
fulltilt
Member
***


Posts: 364
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 3
Post: #19
RE: Mod Security on debian

i need to exclude a rule in useragents.conf for a cron script:

Code:
#Blocks scripts
SecRule HTTP_User-Agent lwp

but this rule have no ID - how can i set this in exclude.conf ...
Can i use "lwp" instead of a ID Number here?

Code:
#cron
<LocationMatch "/cron_jobs/main_cron.php">
  SecRuleRemoveById lwp
</LocationMatch>


Regards
Ralph

OS : Debian 4.0 Etch 32bit
ispCP Version: trunk-20080203
Update von VHCS2 latest
Activated : AWStats static
Mods : none
Yesterday 08:41 PM
Find all posts by this user Quote this message in a reply
Pages (2): « First < Previous 1 [2] Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |