Skip to main content

How can I permanently block IP?

Comments

4 comments

  • keat63
    The chances are that these are zombies, which like a virus will propogate, so blocking them permanently would be a wasted effort. Besides If there are too many IP's then how would you know which ones to permanently block. Personally, I'd increase the block count in CSF until they go away. or if you can see a country pattern, use a Country Code block for a day or two.
    0
  • quizknows
    Your answer is in the documentation of csf.deny: # Note: If you add the text "do not delete" to the comments of an entry then # DENY_IP_LIMIT will ignore those entries and not remove them Simply append 'do not delete' somewhere on the deny line, i.e.
    123.123.123.123 # do not delete
    0
  • Mangoose
    Your answer is in the documentation of csf.deny: # Note: If you add the text "do not delete" to the comments of an entry then # DENY_IP_LIMIT will ignore those entries and not remove them Simply append 'do not delete' somewhere on the deny line, i.e.
    123.123.123.123 # do not delete

    Are you not actually doing that 'do not delete' by adding an IP to the blacklist in the cPHulk Brute Force Protection
    0
  • cPanelMichael
    Are you not actually doing that 'do not delete' by adding an IP to the blacklist in the cPHulk Brute Force Protection

    Hello :) cPHulk and CSF are two separate entities. Not everyone that uses CSF enables cPHulk, but yes it's true you can add an IP address to the black list in cPHulk if you want to block it in cPHulk permanently.. Thank you.
    0

Please sign in to leave a comment.