kill-close-wait-connections

by rghose

Kills all TCP CLOSE_WAIT connections

130 Stars 53 Forks Last release: Not found GNU General Public License v2.0 13 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.