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

Etw #934

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Etw #934

wants to merge 4 commits into from

Conversation

citronneur
Copy link

Hello libpcap Team,

I would like to propose you a pull request that allow the libpcap to capture ETW on windows platform.
This pull request is part of a project named Winshark that will be presented at SSTIC, that allow Wireshark to capture and analyze ETW.

Have a nice day,

Sylvain

handle->stats_op = pcap_stats_etw;
handle->read_op = pcap_read_op_etw;
handle->snapshot = MAXIMUM_SNAPLEN;
handle->linktype = DLT_USER0;
Copy link
Member

Choose a reason for hiding this comment

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

Don't use a DLT_USER value; send an email to tcpdump-workers@lists.tcpdump.org to request that a DLT_ value be assigned for this purpose.

Copy link
Author

Choose a reason for hiding this comment

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

I'm just sending the email. Thanks for your feedback.

@guyharris
Copy link
Member

This should add pcap-etw.c to the EXTRA_DIST list in Makefile.in, even though it won't be used on UN*X, so that the release tarball will include it.

@citronneur
Copy link
Author

I've added pcap-etw.c into MANIFEST.in but it seems that the build is broken for network reason...

@guyharris
Copy link
Member

I've added pcap-etw.c into MANIFEST.in but it seems that the build is broken for network reason...

Neither Travis nor AppVeyor are reliable CI engines; they both sometimes need to have builds re-tried to get them to finish.

@infrastation
Copy link
Member

As a generic observation, please use a consistent curly braces style, currently the file alternates between Allman and K&R.

Since this is a case of a "try-fixup-fixup-fixup" sequence of commits, if anyone comes to the point of merging this request, please do that as a single squashed commit.

@mcr mcr added this to the release-after-next milestone Aug 21, 2020
@mcr mcr added the windows label Aug 21, 2020
@citronneur
Copy link
Author

Thanks a lot!

@citronneur
Copy link
Author

Rebase commit from PR #978, squash into one commit.
Have a nice day

wiresharkyyh and others added 4 commits January 27, 2022 18:37
Fix time and perf issue

Update: Add extended data for tracelogging capture

Fix: comment mispelling

Fix: rename pcap_snprintf to snprintf

Update: comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

5 participants