Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2008
    Posts
    9

    Default mod_security2 rules

    On another post I saw that cpaneltodd had recommended that a member use the modsec2 rules listed below. I was wondering if those rules would interfere with cpanel or any of its components? Also if the rules below are loaded, would you disable the default rules that cpanel installs and only use the 2 below? Thanks!

    http://www.gotroot.com/downloads/ftp.../rootkits.conf
    http://www.gotroot.com/downloads/ftp...he2/rules.conf

  2. #2
    Member
    Join Date
    Jan 2008
    Posts
    9

    Default

    Also what about:

    jitp.conf
    recons.conf
    useragents.conf
    proxy.conf

    Will any of these or the ones above break cpanel's functionality?

  3. #3
    Member
    Join Date
    Jan 2008
    Posts
    27

    Default

    cPanel should have access via the 127.0.0.1 address and should be allowed via the rule:

    SecRule REMOTE_ADDR "^127.0.0.1$" nolog,allow

    in the modsec2.conf file included with the ModSec.pm.tar.gz component of easyapache3.

  4. #4
    Member
    Join Date
    Jan 2008
    Posts
    9

    Default

    Is it safe to use these rules without worry about breaking anything in cpanel?

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 01-10-2011, 06:47 AM
  2. How to disable mod_security2 for one folder
    By casey in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-20-2009, 12:09 AM
  3. Rules for mod_security2
    By casey in forum cPanel and WHM Discussions
    Replies: 20
    Last Post: 05-29-2008, 05:36 AM
  4. HOW: Create my own mod_security2 rules?
    By SuperBaby in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-21-2008, 12:55 PM
  5. mod_security2 EA3
    By webvision in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-15-2007, 05:02 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube