[Bug 53104] New: Wireshark can't start capturing packets

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jun 5 06:45:00 CDT 2022


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 at winehq.org
          Reporter: rpisl at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list