• Stars
    star
    162
  • Rank 232,284 (Top 5 %)
  • Language
    Perl
  • License
    GNU General Publi...
  • Created about 10 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Kills all TCP CLOSE_WAIT connections

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