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 / lfd Temorary Time Settings (TTL)

Discussion in 'Security' started by regex, Jul 24, 2012.

  1. regex

    regex Member

    Joined:
    Jul 24, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello everyone,

    Greetings from New Zealand.
    I have been lurking for a while, finding answers to many questions. :)

    Here is one that might be obvious for some of you.
    In the csf / lfd firewall configuration, I cannot find the Temporary Times Settings,
    i.e., where to specify how long a temporary block should be.
    I have been thinking of increasing the time of temporary blocks to about a week.

    The configuration refers to the TTL of temporary blocks. For instance, it says that "LF_PERMBLOCK_INTERVAL needs to be at least LF_PERMBLOCK_COUNT multiplied by the longest temporary time setting (TTL) for blocked IPs".

    But I cannot find the TTL for blocked IPs.

    Maybe it is staring at me, or is it specified somwhere else?

    Looking forward to your insights.

    Wishing you all a beautiful day
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hi regex,

    Would it be possible to post this on CSF forum? That's their product, so they know these settings best:

    CSF forums

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. regex

    regex Member

    Joined:
    Jul 24, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Tristan,

    Yes, certainly. Thank you for sharing that link.
    I noticed a great number of csf / lfd questions here, so it didn't seem inappropriate. I also thought that the IP block TTL configuration might perhaps live somewhere outside of the firewall (in Apache for instance).

    Since I don't cross-post and am in no rush, if that's okay with you, I will wait for an answer. If none comes for a week or so, I will try somewhere else.

    Wishing you a fun day. :)
     
  4. basshook

    basshook Active Member

    Joined:
    Jul 27, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    151
    Not sure if this is what your looking for but I found this in the csf+lfd readme.txt file for using shell commands:

     
    #4 basshook, Jul 24, 2012
    Last edited: Jul 24, 2012
  5. regex

    regex Member

    Joined:
    Jul 24, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you, basshook.
    That looks like a good command-line option.

    I think I'll go on the csf forum to ask about the GUI (WHM) option.
    Wishing you all a beautiful weekend.
     
Loading...

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