[tcpdump-workers] libpcap for windows

2013-08-17 Thread Phoebe K
Hi,

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)? I downloaded the latest
version from tcpdump.org, but it appears to be looking for linux header
files when I try to do ./configure.

Phoebe
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Re: [tcpdump-workers] libpcap for windows

2013-08-17 Thread Guy Harris

On Aug 17, 2013, at 9:14 PM, Phoebe K  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