failban permanent ban

Discussion in 'General' started by lano, Jul 23, 2009.

  1. lano

    lano Member

    I know I saw similar thread somewhere on the forum, but I couldn't find it.

    Is there any way to manualy add attackers IP for permanent ban?
    For the last two weeks some very persistent attackers try to login to pureftpd, and since they have static IP's, I would like to ban them permanently.

    Thanks, David
     
  2. Mark_NL

    Mark_NL Member

    have a look at:

    man fail2ban-client

    and the file /etc/fail2ban/jail.conf for available JAILS.

    you can also just poke a line directly in iptables with:

    Code:
    iptables -A INPUT -s <offending ip> -j DROP
     

Share This Page