On Linux we can kill an Established TCP Connection using tcpkill
command.
For example, to drop all connection to/from a particular IP:
tcpkill host ipaddr
Or similary to kill all connection using port 21 at ethernet-1, by:
tcpkill -i eth1 port 21
Similarly, i want to know what is the command to kill certain connection on windows, precisely windows 7. Like i can see a list of active connections by netstat -n
, now i am wondering how to drop a particular or group of connections?