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
kill_close_wait_connections.pl ipv6 dirty fix
Latest commit f20d323 Jan 23, 2018
Permalink
Failed to load latest commit information.
LICENSE Initial commit Nov 14, 2014
README.md Updates the README Apr 7, 2015
kill_close_wait_connections.pl kill_close_wait_connections.pl ipv6 dirty fix Nov 27, 2017

README.md

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

Debian

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

Usage

$ ./kill_close_wait_connections.pl

To install permanently you can do the following:

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