Confused about security options

Discussion in 'General' started by wpwood3, Oct 14, 2007.

  1. wpwood3

    wpwood3 New Member

    I will be setting up a new CentOS 5 / Perfect Setup/ ISPConfig server. Currently, I'm running a test server with a similar setup just to experiment before going live with the real thing.

    10 minutes after putting my test server online I was hit with port scans and within 8 hours there were 40,000 attempts to login via FTP and SSH.
    All of that got me thinking about security!

    I've read HowTos here regarding Bastille/PSAD, Snort & Base and others.
    Is there a consensus as far as recommended security packages to install?
    Obviously, I don't want to go overboard and have the security conflicting with my basic server operation, bogging things down or causes problems with updates.

    Given my setup, is there a minimum security setup I should consider beyond just the CentOS 5 / Perfect Setup/ ISPConfig server?

    Thanks in advance for any inputs!
     
    Last edited: Oct 14, 2007
  2. wpwood3

    wpwood3 New Member

    After lots of Googling

    It appears to me that 2 essential Linux security tools are Snort and Ossec.

    Snort does network intrusion prevention
    Ossec does host intrusion prevention

    There doesn't seem to be excessive overlap between the two packages so they should work together.

    Both appear to work with Base as the web front end but, I have no clue how you would install and integrate the 3 packages.

    Has anyone installed Snort, Ossec & Base? I would like to know and certainly would love to see a HowTo. Hint hint. :D
     
  3. wpwood3

    wpwood3 New Member

  4. falko

    falko Super Moderator Howtoforge Staff

  5. wpwood3

    wpwood3 New Member

    I installed snort, base and barnyard. Everything seemed to go well but I'm not getting any results in base. It shows all zeros. :(
     
  6. wpwood3

    wpwood3 New Member

    Solved!

    I finally got Base working!

    The problem was a sensor number mismatch:
    barnyard.conf had sensor_id 1
    the sensor "sid" in the mysql database was set to 2

    I simply changed the sid from 2 to 1 in the database and Base came to life!
     

Share This Page