-
Notifications
You must be signed in to change notification settings - Fork 727
handle FIN flag in order of the sequence numbers #2002
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
base: dev
Are you sure you want to change the base?
handle FIN flag in order of the sequence numbers #2002
Conversation
|
Changing base branch to |
|
@matthiasklein the |
|
@seladb I corrected the number of messages in the test. The 31 extracted certificates still have exactly the same content. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #2002 +/- ##
========================================
Coverage 83.45% 83.46%
========================================
Files 311 311
Lines 54578 54581 +3
Branches 11808 11607 -201
========================================
+ Hits 45549 45554 +5
+ Misses 7830 7794 -36
- Partials 1199 1233 +34
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Matthias Klein <[email protected]>
…ages count after TcpReassembly changes Note: the 31 extracted certificates still have exactly the same content. Signed-off-by: Matthias Klein <[email protected]>
4866a54 to
8fb159b
Compare
|
@seladb I have corrected the source code indentations that were complained about. Can you run the tests again? |
|
@matthiasklein can you please walk me through this fix? |
|
@seladb Yes, it is as you assumed: if the FIN packet has the correct sequence number, it is treated as before. If the sequence number of the FIN packet is not as expected, it is added to the fragment list and only processed when it is in order based on the sequence number. This ensures that we receive the complete data for all of our problem transmissions. |
This change resolves #1979
All 14 of my “faulty” transmissions that I had recorded are decoded correctly with this change.