https://bugs.winehq.org/show_bug.cgi?id=53104
Bug ID: 53104 Summary: Wireshark can't start capturing packets Product: Wine Version: 7.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wpcap Assignee: wine-bugs@winehq.org Reporter: rpisl@seznam.cz Distribution: ---
Created attachment 72539 --> https://bugs.winehq.org/attachment.cgi?id=72539 Patch for wpcap
While testing bug 53066 I just wanted to find out what would be needed to make Wireshark working in Wine. There are two obvious problems:
1. pcap_create() doesn't translate interface identifier to the real name 2. pcap_dispatch() is not implemented
I fixed these problems, however, packet window still remains empty after capture is started while the temporary capture file is filled with captured packets. If this temporary file is later opened, Wireshark shows all packets captured.
Attached is the patch if someone wants to push this further. "setcap cap_net_raw,cap_net_admin=eip wine64-preloader" is needed to give Wine permissions to capture packets.
https://bugs.winehq.org/show_bug.cgi?id=53104
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch, source URL| |https://1.eu.dl.wireshark.o | |rg/win64/Wireshark-win64-3. | |6.5.exe
https://bugs.winehq.org/show_bug.cgi?id=53104
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |556077e674ce4a44bf1ae2ea2e4 | |dd5b2501ce175 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Roman Pišl rpisl@seznam.cz --- Fixed by https://source.winehq.org/git/wine.git/commit/556077e674ce4a44bf1ae2ea2e4dd5...
Follow-up bug 53323.
https://bugs.winehq.org/show_bug.cgi?id=53104
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #2 from temp82@luukku.com --- did you accidentally fill regression field when supposed to fill fixed sha field?
https://bugs.winehq.org/show_bug.cgi?id=53104
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |556077e674ce4a44bf1ae2ea2e4 | |dd5b2501ce175 Regression SHA1|556077e674ce4a44bf1ae2ea2e4 | |dd5b2501ce175 |
https://bugs.winehq.org/show_bug.cgi?id=53104
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.13.