Subject: Re: Fix for "land" bug committed
To: None <current-users@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 11/20/1997 22:36:33
On Thu, 20 Nov 1997 22:26:59 -0800 
 Jason Thorpe <thorpej@nas.nasa.gov> wrote:

 > I have just committed a fix for the "land" bug.  Here is the relevant
 > commit message:
 > 
 > thorpej
 > Thu Nov 20 22:18:32 PST 1997
 > Update of /cvsroot/src/sys/netinet
 > In directory netbsd1:/var/slash-tmp/cvs-serv14385
 > 
 > Modified Files:
 >         tcp_input.c 
 > Log Message:
 > In tcp_input(), if the PCB we lookup for an incoming packet is a listen
 > socket:
 > - If we received a SYN,ACK, send an RST.
 > - If we received a SYN, and the connection attempt appears to come from
 >   itself, send an RST, since it cannot possibly be valid.

...and I have changed it to just just drop the packet in the latter
case.  Jason really needs to go home.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939