ngrep icon indicating copy to clipboard operation
ngrep copied to clipboard

ngrep on windows

Open avi301 opened this issue 7 years ago • 2 comments

i'm tryin to compile the solution with visual studio and getting multiple error messages: image windows versions: 8.1 and server 2016 winpcap installed and also the dev pack. trying to lock for same errors and cannot find anything. thanks

avi301 avatar Dec 06 '18 22:12 avi301

FYI ngrep is an old product, been around almost 20 years now. I don't use it regularly on the Windows platform, but every few years I update it to keep up with the different things MSFT does. Keeping up has been challenging however, so if you discover how to work past these things, I'd love a patch FWIW.

I think the root problem you've encountered is probably due to me not updating for additions I made on the *nix side in the last major release (i.e. USE_VLAN_HACK). Most of the messages look like warnings, which probably can be effectively ignored (though I'd guess they'll be easy to fix by #defineing any renamed/deprecated functions. Under win32/support is a file called config.h (usually autogenerated on *nix by a configure script). The fix for what you've identified here is probably to just put in any of the missing #defines manually from config.h.in FYI I'd set USE_VLAN_HACK to 0.

LMK how it goes! Thanks for the report.

jpr5 avatar Dec 06 '18 23:12 jpr5