Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

CSF issues with log files

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

  1. morrow95

    morrow95 Well-Known Member

    Oct 8, 2006
    Likes Received:
    Trophy Points:
    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

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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. ;)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice