RE: regarding sending of a reset packet....

"Bhuvaneswari R.P" <bhuvanarp@future.futsoft.com> Tue, 05 March 2002 12:40 UTC

Reply-To: <bhuvanarp@future.futsoft.com>
From: "Bhuvaneswari R.P" <bhuvanarp@future.futsoft.com>
To: <tcp-impl@grc.nasa.gov>
Subject: RE: regarding sending of a reset packet....
Date: Tue, 5 Mar 2002 18:10:05 +0530
Message-Id: <001f01c1c442$e14ba040$1606140a@future.futsoft.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
In-Reply-To: <001801c1c402$65104bb0$ec0f10ac@roc.com>
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01C1C470.FB03DC40"
Sender: owner-tcp-impl@grc.nasa.gov
Precedence: bulk
Status: RO
Content-Length: 4332
Lines: 115

As per my knowledge, SYN/FIN bit will never be set along with RST bit in an
outgoing TCP packet.

-regards,
Bhuvaneswari
  -----Original Message-----
  From: owner-tcp-impl@grc.nasa.gov [mailto:owner-tcp-impl@grc.nasa.gov]On
Behalf Of bhaskar
  Sent: Tuesday, 5 March 2002 10:28 AM
  To: tcp-impl@grc.nasa.gov
  Subject: regarding sending of a reset packet....


  hi,

    in the case of segment arrives ( rfc 793 pg. no 64 ),  when tcp is in the
closed state, if a reset packet has to be sent out,
    the rfc specifies the cases when the ack flag is set in the incoming packet.

    what happens if a syn flag is set or a fin is set along with ack in the
incoming packet... what should be the sequence number in that case of the
outgoing reset packet ??

    to elaborate my doubt,

    suppose for an incoming packet of tcp length 60 and ack num is 500, let us
suppose, and the flags set are ack, and syn. what should be the sequence number
of the reset packet that has to be sent out.  since the syn occupies one
sequence number, should the seq. no be 60 + 500 + 1 or just 60 + 500.

  thanx in advance,
  uday.