winpcap on linux

11.6k Views Asked by At

I am trying to port an Windows executable to Linux using wine. I am at a point where I can run the executables but it returns some error saying it can't load "npf" driver. Is there a way to also port winpcap on Linux? The application I was trying to port is depending on winpcap library.

Thanks

3

There are 3 best solutions below

0
On

winpcap is essentially a set of a Windows driver and two DLL's, wich enables applications to send&receive raw network packets to&from the network cards, and originally was a tool to have the same features than tcdump in Uxix/Linux in WIndows. So, maybe a solution a wrapper in Linux of the "libpcap(capture) and libnet(send)" libraries, providing a winpcap binary compatibility? Playonlinux guys can help?

1
On

libpcap? It is the original version of pcap that was then made into winpcap...

1
On

winpcap depends on the custom Windows drivers to provide access to the raw streams, it's not possible to port that as-is to wine.