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

fix(dc-wireshark): parse all packet types in TCP #2252

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

camshaft
Copy link
Contributor

Description of changes:

This change renamed the dissect::udp_segment function to dissect::segment and calls it from both UDP and TCP now. This ensures that all packet types are handled. It also can make it easier to diagnose issues if, for example, TCP is transmitting Control or Datagram packets.

Testing:

I've added some sample pcaps to show it working for UnknownPathSecret packets.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@camshaft camshaft marked this pull request as ready for review June 14, 2024 22:26
@camshaft camshaft enabled auto-merge (squash) June 14, 2024 22:33
@camshaft camshaft merged commit 3cd4c28 into main Jun 14, 2024
129 of 131 checks passed
@camshaft camshaft deleted the camshaft/dc-wireshark-tcp branch June 14, 2024 22:47
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.

2 participants