tcpdump mailing list archives

Re: libpcap for windows


From: Phoebe K <kphoebe88 () gmail com>
Date: Sun, 18 Aug 2013 12:11:57 -0700

Thanks Guy! I actually did try the win -pcap first. I  tried building SILK
with the option --with-libpcap=XXX giving the location of the libwpcap.a
library(which I got from the developer's pack) and it still complained that
it couldn't find lwpcap.

So not sure what else I can try. That's when I thought I should try libpcap
directly.

Phoebe


On Sat, Aug 17, 2013 at 11:28 PM, Guy Harris <guy () alum mit edu> wrote:


On Aug 17, 2013, at 9:14 PM, Phoebe K <kphoebe88 () gmail com> wrote:

I am trying to use SILK/YAF and it needs libpcap. I downloaded wireshark
and hence lwpcap, but silk is still complaining that it cannot find
libpcap.

How do I build libpcap for windows (Cygwin)?

You can't; it's not supported.  Libpcap expects the OS to provide a packet
capture mechanism for it to use, and Windows doesn't provide one.

libpcap-for-Windows is WinPcap; it includes drivers to provide a packet
capture mechanism.

CERT only seems to provide SiLK in source-code form:

        http://tools.netsa.cert.org/silk/download.html

They mention Cygwin here:

        http://tools.netsa.cert.org/silk/index.html

It presumably uses WinPcap on Cygwin; to build a program that uses
WinPcap, you need the WinPcap developer's pack:

        http://www.winpcap.org/devel.htm

in addition to the WinPcap binaries.
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: