tcpdrop for Solaris
Posted by Ceri Davies Mon, 31 Jul 2006 19:29:00 GMT
Some guy asked on comp.unix.solaris for a tool for Solaris that could drop a TCP connection without killing the associated process.
I pointed out that we had tcpdrop(8) from OpenBSD which did this, whereupon Casper Dik informed me of the existence of the TCP_IOC_ABORT_CONN ioctl which does the same job on Solaris.
So I did a dirty port of tcpdrop(8) which you can download if you want.
It’s been tested on Solaris 9, but might not even compile on other versions. You get to keep both pieces if it breaks.