http://bugs.winehq.org/show_bug.cgi?id=22819
Summary: Some applications like Heroes of Might and Magic 2 display loopback. Product: Wine Version: 1.1.44 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: zombie@terralab.com
Some applications like Heroes of Might and Magic 2 display loopback addresses when attempting to initiate a network game. The network game will complain it is running on 127.12.34.56. I have checked /etc/hosts and determined it is not the cause of the problem.
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2010-05-22 20:09:28 --- What is the content of your /etc/hosts file?
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #2 from Zombie Ryushu zombie@terralab.com 2010-05-22 21:40:34 --- (In reply to comment #1)
What is the content of your /etc/hosts file?
192.168.0.4 [myhostname].domain myhostname
127.0.0.1 is not listed
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #3 from Austin English austinenglish@gmail.com 2012-03-19 14:52:47 CDT --- This is your friendly reminder that there has been no bug activity for 650 days. Is this still an issue in current (1.4 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #4 from Zombie Ryushu zombie_ryushu@yahoo.com 2012-03-19 15:17:24 CDT --- This bug is still valid, it can be worked around by disabling lo with ifdown lo
http://bugs.winehq.org/show_bug.cgi?id=22819
Michał Kałużny michalkaluzny@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michalkaluzny@gmail.com
--- Comment #5 from Michał Kałużny michalkaluzny@gmail.com --- I have experienced this bug while trying to start local multiplayer game in Heroes of Might & Magic 3 using OSX host.
This bug was introduced in version 1.5.21, and can be worked around by disabling local loopback adapter (OSX: ifconfig lo0 down)
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 47109 --> http://bugs.winehq.org/attachment.cgi?id=47109 GetAdaptersInfo program
Please attach the output of this program, it may help see the loopback issue. This is a compiled version of this example:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365917%28v=vs.85%2...
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #7 from Michał Kałużny michalkaluzny@gmail.com --- Created attachment 47112 --> http://bugs.winehq.org/attachment.cgi?id=47112 GetAdaptersInfo output under Wine 1.7.8
I've run this tool under 1.7.8, 1.5.21 and 1.5.20 = same output.
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- Did you disable the loopback adapter before running the program?
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #9 from Michał Kałużny michalkaluzny@gmail.com --- No I did not.
I just disabled it now, same output from GetAdaptersInfo as before.
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- Please get a +winsock,+relay. As soon as you starting hosting and see the IP in the screen cancel and attach the log, compress with "bzip2 -9".
The problem may be in gethostbyname and not GetAdaptersInfo.
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #11 from Michał Kałużny michalkaluzny@gmail.com --- Created attachment 47114 --> http://bugs.winehq.org/attachment.cgi?id=47114 +winsock,+relay
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- This is what I was looking for: trace:winsock:WS_gethostbyname "maku-macbook.local" ret 0x13e3698 0024:Ret ws2_32.gethostbyname() retval=013e3698 ret=00511615 0024:Call ws2_32.inet_ntoa(38220c7f) ret=00511622
The IP you see is: 127.12.34.56
That was some hack introduced in wine long ago, I don't know the reason but I'll look for it when I have more time, I have the game but in linux I can't reproduce the issue.
http://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- May be related to bug 15422.
https://bugs.winehq.org/show_bug.cgi?id=22819
Jere Krischel jere@krischel.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jere@krischel.org
--- Comment #14 from Jere Krischel jere@krischel.org --- This issue seems specific to OSX...maybe it's bonjour related?
I wrote this bug up to be more specific about OSX:
https://bugs.winehq.org/show_bug.cgi?id=37271
https://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com --- Please try again in wine 1.7.39, some recent changes could have fixed this. If the problem persists get a new +winsock,+relay.
https://bugs.winehq.org/show_bug.cgi?id=22819
--- Comment #16 from Zombie Ryushu zombie_ryushu@yahoo.com --- Will try.
https://bugs.winehq.org/show_bug.cgi?id=22819
Jamie Taylor jamie.taylor@pobox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jamie.taylor@pobox.com
--- Comment #17 from Jamie Taylor jamie.taylor@pobox.com --- This bug may be fixed by patch 116821. https://source.winehq.org/patches/data/116821
https://bugs.winehq.org/show_bug.cgi?id=22819
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |winsock Ever confirmed|0 |1
--- Comment #18 from Bruno Jesus 00cpxxx@gmail.com --- Confirming in wine 1.8-rc1 using GoG version.
https://bugs.winehq.org/show_bug.cgi?id=22819
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=22819
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/ws2_32-Sort_de | |fault_route
https://bugs.winehq.org/show_bug.cgi?id=22819
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=22819
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |134bf22b8c7b291717f9717f051 | |5dc485f489aaa Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/134bf22b8c7b291717f9717f051...
https://bugs.winehq.org/show_bug.cgi?id=22819
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.13.
https://bugs.winehq.org/show_bug.cgi?id=22819
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=22819
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #21 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.4.