https://bugs.winehq.org/show_bug.cgi?id=51818
Bug ID: 51818 Summary: Reporting packet length is always 0 Product: Wine Version: 6.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wpcap Assignee: wine-bugs@winehq.org Reporter: marc_aurel@me.com Distribution: ---
Created attachment 70703 --> https://bugs.winehq.org/attachment.cgi?id=70703 same source for linux/mac/win
Source code for an example program is attached.
I compiled it on linux, mac and windows and it is always working as expected meaning it produces a terminal output like:
listening on Pseudo-device that captures on all interfaces... 14:47:05,000000 len:62 Destiny MAC: 00:00:00:00:00:00: Source MAC: 00: 00: 00: 00: 00: 00:
etc (blanked out the mac addresses)
Wheres running the windows .exe in wine always reports a packet length of 0 (I tested on wine 6.18(linux)/6.16(linux)/6.0(linux/mac)). Modifying the program to show the packet content leads to a segfault in wine but works just fine again on win/linux/mac (which is kinda expected I guess since it thinks the packets are empty).
Running native/wine versions side by side you can see that it is capturing the same packets, which are clearly not empty.