All Projects → rghose → Kill Close Wait Connections

rghose / Kill Close Wait Connections

Licence: gpl-2.0
Kills all TCP CLOSE_WAIT connections

Programming Languages

perl
6916 projects

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

Copyleft

Originally created by Rahul Ghose
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].