Kills all TCP CLOSE_WAIT connections
Switch branches/tags
Nothing to show
Clone or download
rghose Merge pull request #7 from basil-lion/patch-1 ipv6 dirty fix
Latest commit f20d323 Jan 23, 2018
Failed to load latest commit information.
LICENSE Initial commit Nov 14, 2014 Updates the README Apr 7, 2015 ipv6 dirty fix Nov 27, 2017

This script will remove all existing close-wait connections on the server


$ apt-get install libnet-rawip-perl libnet-pcap-perl libnetpacket-perl


$ ./

To install permanently you can do the following:

$ mv /usr/bin/kill_close_wait_connections
$ chmod +x /usr/bin/kill_close_wait_connections
$ kill_close_wait_connections