Article View: comp.protocols.tcp-ip
Article #15523Re: How to kill TCP connection in LAST_ACK state
From: Lance Visser
Date: Sun, 29 May 1994 02:35
Date: Sun, 29 May 1994 02:35
24 lines
1740 bytes
1740 bytes
In <2s4bqf$lup@tdc.dircon.co.uk> pmiles@tdc.dircon.co.uk (Peter Miles) writes: +>It is possible (and if so how?) to kill off, manually or otheriwse, a tcp +>connection which is the LAST_ACK state (as shown by netstat)? LAST_ACK means both sides of the connection have sent FINs to each other. The side in LAST_ACK is waiting for the FIN it sent to be ack'ed. The only way I can think to kill it off is to somehow forge a TCP packet with the reset bit set and send it to the connection stuck in FIN_WAIT from another host. You could build a command that would take the necessary ip addresses and tcp ports as arguements to do it if you had raw access to the network. It could be done, but it would be a pain to write. +>The client side does not appear to be sending a FIN before closing +>its side of a telnet/rlogin connection. If that were the case, you would be in ESTABLISHED, FIN_WAIT_1 or FIN_WAIT_2, not LAST_ACK.
Technical Details
Message-ID:
<visser.770178933@cnn.eng.convex.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!demon!bt!pipex!howland.reston.ans.net!cs.utexas.edu!convex!convex!cnn.eng.convex.com!visserReferences:
<2s4bqf$lup@tdc.dircon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1122ea,e993a0e56d51bc60 X-Google-Attributes: gid1122ea,public X-Google-Thread: f9325,e993a0e56d51bc60 X-Google-Attributes: gidf9325,public X-Google-ArrivalTime: 1994-05-28 20:28:28 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!demon!bt!pipex!howland.reston.ans.net!cs.utexas.edu!convex!convex!cnn.eng.convex.com!visser From: visser@convex.com (Lance Visser) Newsgroups: comp.protocols.tcp-ip,biz.sco.general Subject: Re: How to kill TCP connection in LAST_ACK state Date: 29 May 94 02:35:33 GMT Organization: CONVEX News Network, Engineering (cnn.eng), Richardson, Tx USA Lines: 26 Message-ID: <visser.770178933@cnn.eng.convex.com> References: <2s4bqf$lup@tdc.dircon.co.uk> NNTP-Posting-Host: dhostwo.convex.com