![](https://seccdn.libravatar.org/avatar/0724cd2fec38c7b6f662bb7fda14c68c.jpg?s=120&d=mm&r=g)
16 Jun
2002
16 Jun
'02
03:57
On Sat, 2002-06-15 at 23:20, Alberto Santana wrote:
Any way to kill his connection to the server, in other words, kick him out and maybe keep him away for a few hours.
iptables -I INPUT -s source -i interface -j DROP;sleep #h;iptables -D INPUT -s source -i interface -j DROP Where source is his ip address. # is the number of hours and interface is the interface to which you want him denied. For example: iptables -I INPUT -s 192.168.10.2 -i ppp0 -j DROP;sleep 4h;iptables -D INPUT -s 192.168.10.2 -i interface -j ppp0 If you are using ipchains, just substitute iptables with ipchains. Charles -- "Never make any mistaeks." (Anonymous, in a mail discussion about to a kernel bug report.)