Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No duplicate acks #7

Merged
merged 3 commits into from
Dec 23, 2023
Merged

No duplicate acks #7

merged 3 commits into from
Dec 23, 2023

Conversation

soypat
Copy link
Owner

@soypat soypat commented Dec 23, 2023

Seqs now avoids sending duplicate acknowledgments during connection established state.

This leads to cleaner wireshark captures where actual problems in the connection can be more easily visualized.

tcb.state = StateCloseWait
tcb.pending[1] = FlagFIN // Queue FIN for after the CloseWait ACK.

dataToAck := seg.DATALEN > 0
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line contains the logic to prevent duplicate acks. The rest of the PR contains tests added, and some RFC compliant changes such as challenge ack and RST handling.

@soypat soypat merged commit 6892d4d into main Dec 23, 2023
1 check passed
@soypat soypat deleted the nodup branch December 23, 2023 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant