The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CSF issues with log files

Discussion in 'General Discussion' started by morrow95, Oct 12, 2006.

  1. morrow95

    morrow95 Well-Known Member

    Joined:
    Oct 8, 2006
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Ok, so I thought CSF would automatically limit the size of the log. I guess not, I now have a HUGE log for it and that isn't good. What do I need to do so the log doesn't get so large.

    If I need to SSH in, what file(s) would I remove so reset the log? Do I just delete these files or what?

    Sorry for the newb questions.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I think if you read closely the configuration page you'll find ways to drop some of the logging. For example:

    Enable logging of dropped connections to blocked ports to syslog, usually /var/log/messages

    Enable logging of dropped connections to blocked IP addresses in csf.deny or by lfd with temporary connection tracking blocks

    Only log reserved port dropped connections (0:1023). Useful since you're not usually bothered about ephemeral port drops

    Also adding ports to:

    Commonly blocked ports that you do not want logging as they tend to just fill up the log file. These ports are specifically blocked (applied to TCP and UDP protocols) for incoming connections

    Should help. ;)
     
Loading...

Share This Page