Winpcap on linux

I am trying to port a Windows executable to Linux using wine. I am at a point where I can run executables, but it returns some error saying that it cannot load the "npf" driver. Is there a way to port winpcap to Linux as well? The application I'm trying to run depends on the winpcap library.

thank

+3
source share
3 answers

Libpcap? This is the original version of pcap, which was then made in winpcap ...

+4
source

winpcap depends on user Windows drivers, to provide access to raw streams, it is impossible to port as it is for wine.

+1
source

winpcap is essentially a set of Windows drivers and two DLLs that allow applications to send and receive raw network packets from network cards and were originally a tool for using the same functions as tcdump on Uxix / Linux on WIndows. So, maybe the solution is a Linux wrapper for the libpcap (capture) and libnet (send) libraries that provide winpcap binary compatibility? Can Playonlinux guys help?

0
source

Source: https://habr.com/ru/post/1792361/


All Articles