Linux 上的 winpcap

发布于 2024-10-17 17:11:41 字数 143 浏览 9 评论 0原文

我正在尝试使用 wine 将 Windows 可执行文件移植到 Linux。我现在可以运行可执行文件,但它返回一些错误,指出无法加载“npf”驱动程序。有没有办法在 Linux 上移植 winpcap?我尝试移植的应用程序取决于 winpcap 库。

谢谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

唱一曲作罢 2024-10-24 17:11:41

libpcap?它是pcap的原始版本,然后被制作成winpcap......

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

西瓜 2024-10-24 17:11:41

winpcap 依赖于自定义 Windows 驱动程序来提供对原始流的访问,不可能将其按原样移植到 wine。

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.

老娘不死你永远是小三 2024-10-24 17:11:41

winpcap本质上是一组Windows驱动程序和两个DLL,它使应用程序能够向网卡发送原始网络数据包和从网卡接收原始网络数据包,最初是一个与WIndows中的Uxix/Linux中的tcdump具有相同功能的工具。
那么,也许是 Linux 中“libpcap(capture) 和 libnet(send)”库的包装器的解决方案,提供 winpcap 二进制兼容性? playonlinux的大佬可以帮忙吗?

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文