[DRAFT] Test if tcpdump.exe works #1130
[DRAFT] Test if tcpdump.exe works #1130fxlb wants to merge 12 commits intothe-tcpdump-group:masterfrom
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]