http://bugs.winehq.org/show_bug.cgi?id=33272
Bug #: 33272 Summary: Pinging 0.0.0.0 returns success, when it should return failure. Product: Wine Version: 1.5.26 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: metalgrid@mail.bg Classification: Unclassified
Greetings. Slackware64-current with wine-1.5.26, wineserver and wine-preloader are with capabilities of opening raw sockets (setcap cap_net_raw+ep /usr/bin/wineserver; setcap cap_net_raw+ep /usr/bin/wine-preloader). Pinging a random IP address or website with a ping tool (Like the free Colasoft Ping Tool) works as it should, but pinging 0.0.0.0 returns 0ms ping responses, while it should return timeouts. If you need any logfiles or traces, tell me so I can dump them and provide them. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=33272
Iskren Todorov metalgrid@mail.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
http://bugs.winehq.org/show_bug.cgi?id=33272
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winsock Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=33272
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2013-03-25 18:24:58 CDT --- Are you using IcmpSendEcho?
http://bugs.winehq.org/show_bug.cgi?id=33272
--- Comment #2 from Iskren Todorov metalgrid@mail.bg 2013-03-26 07:37:44 CDT --- I don't know if the program (Colasoft Ping Tool) is, but I tested the following: Compile the example program from http://msdn.microsoft.com/en-us/library/windows/desktop/aa366050(v=vs.85).as... with wineg++ -m32 icmpsendecho.cpp -lws2_32 -liphlpapi and ran the resulting executable
./icmpsendecho.exe 0.0.0.0 Sent icmp message to 0.0.0.0 Received 1 icmp message response Information from this response: Received from 127.0.0.1 Status = 0 Roundtrip time = 0 milliseconds
I hope this info is useful.
http://bugs.winehq.org/show_bug.cgi?id=33272
--- Comment #3 from Iskren Todorov metalgrid@mail.bg 2013-03-26 07:48:51 CDT --- I can't find the edit button, I just sniffed the traffic and it seems that wine substitutes the 0.0.0.0 with the loopback address 127.0.0.1, so I'm simply pinging myself. Here's the tcpdump output: tcpdump -i lo icmp -n tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes 14:48:09.401500 IP 127.0.0.1 > 127.0.0.1: ICMP echo request, id 21554, seq 256, length 40 14:48:09.401535 IP 127.0.0.1 > 127.0.0.1: ICMP echo reply, id 21554, seq 256, length 40
http://bugs.winehq.org/show_bug.cgi?id=33272
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|winsock |iphlpapi Ever Confirmed|0 |1
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com 2013-03-26 08:08:50 CDT --- If you use the ping utility in Windows the address 0.0.0.0 returns an invalid address. If you use the ping utility in Linux the address is converted in 127.0.0.1 as you stated.
http://bugs.winehq.org/show_bug.cgi?id=33272
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com Assignee|wine-bugs@winehq.org |00cpxxx@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=33272
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=33272
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1470d7b4cc607976b7d379d5ce5 | |94f65b3ca3c5b Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- Fixed by 1470d7b4cc607976b7d379d5ce594f65b3ca3c5b, thanks for the report.
https://bugs.winehq.org/show_bug.cgi?id=33272
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.11.