Date: Wed, 10 May 1995 14:49:51 -0600 From: Matt Day <mday@elbereth.org> To: freebsd-hackers@FreeBSD.org Subject: Re: Is this a bug in tcp_input.c ? (fwd) Message-ID: <199505102049.AA13444@park.uvsc.edu>
next in thread | raw e-mail | index | archive | help
Perhaps this is worth investigating. Matt Day <mday@elbereth.org> > Article 14902 of comp.protocols.tcp-ip: > Path: park.uvsc.edu!news.provo.novell.com!nntp.et.byu.edu!gatech!howland.reston.ans.net!newsserver.jvnc.net!nntpserver.pppl.gov!cnn.Princeton.EDU!flagstaff.princeton.edu!dawagner > From: dawagner@flagstaff.princeton.edu (David A. Wagner) > Newsgroups: comp.protocols.tcp-ip > Subject: Is this a bug in tcp_input.c ? > Date: 9 May 1995 04:44:51 GMT > Organization: Princeton University > Lines: 20 > Message-ID: <3oms03$j1v@cnn.Princeton.EDU> > NNTP-Posting-Host: flagstaff.princeton.edu > > In tcp_input.c, look at this section: > > /* > * If a new connection request is received > * while in TIME_WAIT, drop the old connection > * and start over if the sequence numbers > * are above the previous ones. > */ > if (tiflags & TH_SYN && > tp->t_state == TCPS_TIME_WAIT && > SEQ_GT(ti->ti_seq, tp->rcv_nxt)) { > iss = tp->rcv_nxt + TCP_ISSINCR; > > Shouldn't that be a tp->snd_nxt instead of a tp->rcv_nxt ? > > [The variable iss is used as the initial sequence number > for the new connnection, and tcp_iss is ignored.] > > ------------------------------------------------------------------------------- > David Wagner dawagner@princeton.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505102049.AA13444>