Subject: CVS commit: [netbsd-1-6] src/sys/netinet
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 04/20/2004 20:26:57
Module Name:	src
Committed By:	jmc
Date:		Tue Apr 20 20:26:57 UTC 2004

Modified Files:
	src/sys/netinet [netbsd-1-6]: tcp_var.h

Log Message:
Pullup patch (requested by itojun in ticket #1680)

If a segment is received with RST set and the segment is completely to the
left of the receive window, ignore it.  Add some additional comments to
the code that deals with received segemnts that are completely to the right
of the receive window.  If an invalid SYN is received, force an ACK and
drop it; if the other side really sent the SYN; it'll respond with a reset.
Respond to RST by ACK, as suggested in NISCC recommendation.
Rate-limit ACKs against RSTs and SYNs.
If SYN is coming and RCV.NXT == SEG.SEQ, then ACK with value - 1.


To generate a diff of this commit:
cvs rdiff -r1.90.4.2 -r1.90.4.3 src/sys/netinet/tcp_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.