Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

Miscellaneous Utilities : Close a connection from the cmd line?

$
0
0
Author: MisterJ
Subject: Close a connection from the cmd line?
Posted: 01 April 2013 at 8:02pm

cookieJones, Wireshark is a free interface tracer.  I am a rank armature, but have found it very useful on several occasions.  It is found here.  There is a free utility called TCPKill that will do issue the RST but it is Linux only.  I also found references to TCPKillNT but could not find the code.  I do not know about the TCP reset flag except the Netsh command to reset the TCP stack which is much more than you want.  I would assume that a programmer would be able to write a script (eg, VBS...) to issue the RST to an IP via a local port.  Enjoy, J.
 
EDIT:  Here is the Wireshark trace of the Close Connection using TCPView:
18 7.518062000 192.168.233.129 82.131.160.82 TCP 54 1173 > 80 [RST, ACK] Seq=213 Ack=3883 Win=0 Len=0
 
My machine (192.168.233.129) is sending a RST from port 1173 to 82.131.160.82:80.


Edited by MisterJ - 7 hours 30 minutes ago at 8:30pm

Viewing all articles
Browse latest Browse all 10386

Trending Articles