Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 1997 15:39:24 -0700
From:      Don Lewis <Don.Lewis@tsc.tdk.com>
To:        Jim Shankland <jas@flyingfox.com>, richard@a42.deep-thought.org
Cc:        hackers@FreeBSD.ORG
Subject:   Re: FreeBSD TCP stack and RST processing [subj changed]
Message-ID:  <199710012239.PAA16119@salsa.gv.tsc.tdk.com>
In-Reply-To: Jim Shankland <jas@flyingfox.com> "Re: FreeBSD TCP stack and RST processing [subj changed]" (Oct  1,  9:08am)

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 1,  9:08am, Jim Shankland wrote:
} Subject: Re: FreeBSD TCP stack and RST processing [subj changed]
} I took a look at the code in 2.2.2-RELEASE, and it sure looks as though
} it should not exhibit the behavior you described:  if a RST packet
} arrives on a connection in the SYN_RECEIVED state, the tcb is closed --
} there should be no retries.

Nope, it looks broken too.

        case TCPS_SYN_RECEIVED:
        case TCPS_SYN_SENT:
		[ deleted ]
                if (tiflags & TH_RST) {
                        if (tiflags & TH_ACK)
                                tp = tcp_drop(tp, ECONNREFUSED);
                        goto drop;
                }

If a RST arrives without TH_ACK set, the packet is just dropped.

			---  Truck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710012239.PAA16119>