Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 00:28:45 +1000 (Australia/ACT)
From:      Darren Reed <avalon@caligula.anu.edu.au>
To:        wollman@csail.mit.edu (Garrett Wollman)
Cc:        =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, Jesper Wallin <jesper@www.hackunite.net>, freebsd-security@freebsd.org
Subject:   Re: packets with syn/fin vs pf_norm.c
Message-ID:  <200507051428.j65ESjJu001522@caligula.anu.edu.au>
In-Reply-To: <17096.38921.588487.576918@khavrinen.csail.mit.edu> from "Garrett Wollman" at Jul 03, 2005 09:59:37 PM

next in thread | previous in thread | raw e-mail | index | archive | help
In some mail from Garrett Wollman, sie said:
> 
> <<On Mon, 04 Jul 2005 02:53:33 +0200, des@des.no (Dag-Erling Smørgrav) said:
> 
> > It is not invalid for a TCP segment to have both SYN and FIN set.  See
> > for instance RFC 1644.
> 
> RFC 793 is perhaps the better reference, followed by RFC 1025.

No, you're wrong on this.

Packets for TCP with SYN + FIN set are valid under T/TCP.
T/TCP is documented under RFC 1644.  To claim that these, earlier,
documents render it ... "dead" is to argue that SACK and all other
TCP enhancements since also fall into that bucket.

Very few people use T/TCP, although I believe FreeBSD is the only
one of the BSDs that has done anything serious with it.  pf is wrong
to unconditionally clear the FIN flag.  So there are a number of
options here:
- fix pf to not remove the FIN flag in FreeBSD
- don't use T/TCP
- don't use scrub in pf
- don't use pf

I think this is a bug in the scrub implementation and should be
fixed.

Darren



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