How to reset a TCP connection

cpghost cpghost at
Tue Nov 13 23:58:34 PST 2007

On Tue, 13 Nov 2007 22:09:59 -0500
Robert Huff <roberthuff at> wrote:

> Robert Huff writes:
> >  >  Olivier Nicole writes:
> >  >  
> >  >  >  How can I manually reset an established TCp connection?
> >  >  
> >  >  	Ask Comcast.  :-)
> 	My apologies for being cryptic.
> 	In the United Stated, cable television and Internet provider
> Comcast has recently come under criticism for "managing" bittorrent
> traffic by sending TCP RST packets to those who are over some
> unannounced traffic limit (i.e. hogging the bandwidth).

This reminds me of an old bug ("sniper bug"):

I've had a setup with those NICs on a university network
in the '95, and those machines' TCP/IP stack kept wildly
and seemingly randomly shooting down TCP connections between
unrelated Unix hosts (sic!) with TCP RST packets (we've still
had unswitched Ethernet, even a 10-base-5 yellow snake in
the data center with a few PCs tapped on it). It nearly drove
me nuts until I've intercepted and detected those spurious
TCP RST packets with a sniffer (and at first, the sniffer
machine had also one of those buggy NICs, go figure!)

So Comcast is doing it all over again? Shooting down connections
from the middle? Crazy nasty folks over there!

A short-term fix is to filter out TCP RST packets at the
firewall, and let TCP connections time out, even though it
could waste a lot of kernel memory on busy nodes.


Cordula's Web.

More information about the freebsd-questions mailing list