-
Notifications
You must be signed in to change notification settings - Fork 908
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
Bittorrent: improve detection of UTPv1 #2259
Conversation
IvanNardi
commented
Jan 12, 2024
•
edited
Loading
edited
- fix header length check: we must take into account optional extension header
- it seems the check on UTPv1 header is weak only in the DATA case: wait for multiple packets only in that case
6902fb7
to
3bb0f62
Compare
* fix header length check: we must take into account optional extension header * it seems the check on UTPv1 header is weak only in the DATA case: wait for multiple packets only in that case
3bb0f62
to
528ee42
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Btw, what was the problem? I've got a s390x Alpine Linux VM, so I guess I can tinker with this stuff at my leisure. |
The pcap attached in #2260 returns different results only on s390x CI test |
Ok, I'll create a PR when I figure out what's wrong. |
I have seen similar issues for years so I don't think that the issue is the newer code.... |