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

feat(wireshark-dcquic): add wireshark plugin #2239

Merged
merged 11 commits into from
Jun 12, 2024
Merged

feat(wireshark-dcquic): add wireshark plugin #2239

merged 11 commits into from
Jun 12, 2024

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented Jun 10, 2024

Description of changes:

This change adds a wireshark for debugging s2n-quic-dc traffic.

Testing:

The dc-wireshark jobs were added to the ci workflow to show it building/properly linking against libwireshark. This is done for both macos and linux.

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

@camshaft camshaft force-pushed the dc-quic-wireshark branch 10 times, most recently from 0dffb1d to 483f851 Compare June 11, 2024 21:31
@camshaft camshaft marked this pull request as ready for review June 11, 2024 21:58
dc/wireshark/README.md Outdated Show resolved Hide resolved
dc/wireshark/build.rs Outdated Show resolved Hide resolved
dc/wireshark/.gitignore Outdated Show resolved Hide resolved

#[cfg(not(test))]
#[path = "full.rs"]
mod sys_impl;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add a comment about the difference between minimal vs. full? Or maybe in generate-bindings.rs? It's not entirely clear to me why cfg(test) lets us pull in a subset of this, I'd expect tests to not bring in any externs (at least I think I had that working)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I can add a comment.

I was still seeing linker errors on macos, even with the flags, but maybe that went away with other changes? Let me see.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah nope. I get linker errors when running cargo bolero test as well.

@camshaft camshaft enabled auto-merge (squash) June 12, 2024 20:06
@camshaft camshaft merged commit aef5f4d into main Jun 12, 2024
129 of 131 checks passed
@camshaft camshaft deleted the dc-quic-wireshark branch June 12, 2024 20:24
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