PDA

View Full Version : failban permanent ban


lano
23rd July 2009, 12:21
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

Mark_NL
23rd July 2009, 13:26
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:

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