I'd like to do what TCPView does from the command line, for example, closing a connection used by a particular process (without ending the process). Is there a way to do this?
|
feedback
|
|
http://nirsoft.net/utils/cports.html - see "Closing a connection from Command-line" section (I've not tried it). | |||
|
feedback
|
|
You could use hping3 to send a tcp reset from the same source port to the same destination ip/port as the connection you'd like to close. | |||
feedback
|
|
Tcpkill from dsniff performs a bruteforce on the tcp sequence to send RST to the target flow. Use it with
| |||
feedback
|