closing connections with immediate effect effect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI,

How can i close connections from a particular IP with immediate effect after i dropped it using iptables. Still there are lot of connections in state FIN_WAIT1..

I blocked the ip Y.Y.Y.Y in x.x.x.x .

This is the output am getting on system:-
root@host [~]# netstat -alpn | grep :80 | grep Y.Y.Y.Y
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22091       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22102       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22103       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22100       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22101       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22108       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22182       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22180       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22179       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22177       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22191       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22189       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22187       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22197       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22195       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22193       FIN_WAIT1   -
tcp        0    465 x.x.x.x:80         Y.Y.Y.Y:22206       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22207       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22204       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22205       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22200       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22201       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22151       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22144       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22158       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22159       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22157       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22154       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22155       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22152       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22153       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22166       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22167       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22175       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22172       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22170       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22171       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22168       FIN_WAIT1   -
tcp        0    481 x.x.x.x:80         Y.Y.Y.Y:22169       FIN_WAIT1   -


. Thanks in advance:-)

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux