-
Notifications
You must be signed in to change notification settings - Fork 851
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
[DRAFT] Test if tcpdump.exe works #1130
base: master
Are you sure you want to change the base?
Conversation
39c7fbf
to
96385b8
Compare
The tcpdump.exe don't run:
(Same when using "Debug".) |
-1073741515 == 0xffffffffc0000135, both values yield search results discussing location of Windows libraries and setting of |
Thanks, and missing DLLs also. |
Investigation with |
And as a 32-bit value, it's 0xc0000135, which is, according to the list of NT status values, |
Yes - in both cases, I think the intent is to have commercial applications using WinPcap or Npcap pay for the ability to silently install the driver and libraries as part of their installer, to help support the project. That's definitely the case for Npcap. Note that, in order to do capture tests, the WinPcap/Npcap driver would also have to be installed. For reading capture files, that might not be necessary, so that may be OK for tcpdump tests. |
Any way to build without the capture function ? (Because currently |
"Build" as in "build libpcap" or "build" as in "build tcpdump"? Libpcap can be built without capture support - if using CMake, passing Then you'd want to build tcpdump to link with the libpcap that you built.
Tcpdump's going to need some libpcap library, even if you're only building it to run the tests. |
Next test: extract |
If (please check that first) the licence does not forbid it, you could extract the required files once on a Windows PC, put them here and let the CI script download them from there into the correct place of the CI filesystem instead of the installers. |
Copying is not enough. Installation required. |
Yes, sure. |
[skip ci]
[skip ci]