URL:
<http://savannah.gnu.org/support/?106959>
Summary: Sending Reset in Established State, how to choose
the seqno?
Project: Savannah Administration
Submitted by: None
Submitted on: Tue 04 Aug 2009 03:19:01 AM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Assigned to: None
Originator Email:
Operating System: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I have a problem in debuging lwip.
In my project, i will send Reset when i could not receive coresponding Ack
within 4 minutes in establshed state.How can I choose the seqno of the Reset?
In the Code, I find that the seqno is pcb->snd_nxt. But I think because the
segment do not receive its Ack, so the seqno of Reset should be the seqno of
the segment last sent.
For example:
The segment have a seqno "100" and length "1000",so when it is sent, the
snd_nxt should be 1100. In 4 minutes, I could not receive its Ack. I decide to
send Reset. According to the Lwip code, the seqno of Reset is 1100. But I
think it should be 100.
Need your help and Thanks very much!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?106959>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/