https://bugs.winehq.org/show_bug.cgi?id=40173
Bug ID: 40173 Summary: traffic watcher complians "This program works only on Ethernet networks." on wine with wpcap Product: Wine Version: 1.9.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wpcap Assignee: wine-bugs@winehq.org Reporter: zhangjianqiu_133@yeah.net Distribution: ---
Created attachment 53674 --> https://bugs.winehq.org/attachment.cgi?id=53674 Log for wine relay trace
When running traffic watcher on wine (with pcap supported), An err Msgbox pops out shows "This program works only on Ethernet networks." and when use
WINEDEBUG=+relay,+wpcap,+tid wine xxx.exe it shows this, which I think is wrong
0009:trace:wpcap:wine_pcap_datalink (0x7d8c1b08) 0009:Ret wpcap.pcap_datalink() retval=00000071 ret=004078a7
The retval here seems to make no sense\
The app can be get via sourceforge:
https://sourceforge.net/projects/trafficwatcher/files/
The bug above is tested with ver 2.0.1
The attachment is the result of cutting full log with cat log | grep wpcap
https://bugs.winehq.org/show_bug.cgi?id=40173
VOID001 zhangjianqiu_133@yeah.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zhangjianqiu_133@yeah.net
https://bugs.winehq.org/show_bug.cgi?id=40173
zhangjianqiu13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zhangjianqiu13@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40173
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #1 from André H. nerv@dawncrow.de --- Created attachment 54933 --> https://bugs.winehq.org/attachment.cgi?id=54933 patch
0x71 is: LINKTYPE_LINUX_SLL 113 DLT_LINUX_SLL Linux "cooked" capture encapsulation.
The application expects: LINKTYPE_ETHERNET 1 DLT_EN10MB IEEE 802.3 Ethernet (10Mb, 100Mb, 1000Mb, and up); the 10MB in the DLT_ name is historical.
Could you please try the attached patch?
https://bugs.winehq.org/show_bug.cgi?id=40173
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #2 from André H. nerv@dawncrow.de --- confirming the bug by looking at the trafficwatcher source code
https://bugs.winehq.org/show_bug.cgi?id=40173
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- This may work after 622b0e29a6efae8f45dd00a1d728512987252c9f since we don't list cooked interfaces anymore. Please test.