View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002255 | Spring engine | General | public | 2010-12-10 01:09 | 2010-12-15 10:50 | ||||
Reporter | Licho | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.82.6.1 | ||||||||
Target Version | Fixed in Version | 0.82.7 | |||||||
Summary | 0002255: Spring UDPlistener gets bound to wrong IP if there are multiple addresses - ignores HostIP | ||||||||
Description | UDPListener uses "Any()" as bound address. On machines with multiple IPs (which is springrts.com too - both linux and windows parts) it gets bound to incorrect IP - like local LAN IP. Even if script contains set HostIP, spring still insist on using Any with unpredictable results. Code is here: https://github.com/spring/spring/blob/master/rts/System/Net/UDPListener.cpp#L59 To fix it, make it use HostIP if defined, otherwise Any. This issue causes problems to relay host (workaround solution was possible) and recently to my attempts to move autohosts to windows VM to remove lag (workaround not possible this time). | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
abma (administrator) 2010-12-11 00:11 |
Two users reported this today in #sy: @Licho: MelBot: <Phantasm> Ok, so someone broke either lobby server or TASClient... Not sure which yet and I'm too tired to do anything today. Anyway the problem is that people are getting LAN IP from autohost and Spads nor my config hasn't changed recently, so problem can't be there. <[CN]Doxie> Well... I have no clue why it's suddenly reporting it's local IP to the clients instead of the WAN IP... |
Licho (reporter) 2010-12-11 00:14 |
That was separate issue in uberserver, I fixed that already. |
Licho (reporter) 2010-12-11 00:14 |
(They need to reconnect) |
Kloot (developer) 2010-12-11 00:56 |
implemented, test git-head bitte |
Licho (reporter) 2010-12-12 02:36 |
I tested with spring-dedicated from Spring 0.82+.4.0 (0.82.3-1030-g4cf9786) It didn't seem to work. Do I have correct version? I have "HostIP" in script for dedicated server |
Kloot (developer) 2010-12-12 13:21 |
I forgot to update the dedserv, done now. |
abma (administrator) 2010-12-14 12:13 |
@Licho: did you retry with kloot's changes? |
Licho (reporter) 2010-12-15 02:12 |
Verified, works :) |
abma (administrator) 2010-12-15 10:50 |
kloot implemented/fixed it with https://github.com/spring/spring/commit/42390a434bae6e6066945b24386a77bc3443dff3 |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-12-10 01:09 | Licho | New Issue | |
2010-12-10 02:10 | abma | Description Updated | |
2010-12-11 00:11 | abma | Note Added: 0006054 | |
2010-12-11 00:14 | Licho | Note Added: 0006055 | |
2010-12-11 00:14 | Licho | Note Added: 0006056 | |
2010-12-11 00:56 | Kloot | Note Added: 0006057 | |
2010-12-11 00:56 | Kloot | Status | new => feedback |
2010-12-12 02:36 | Licho | Note Added: 0006063 | |
2010-12-12 13:21 | Kloot | Note Added: 0006064 | |
2010-12-14 12:13 | abma | Note Added: 0006078 | |
2010-12-15 02:12 | Licho | Note Added: 0006079 | |
2010-12-15 10:50 | abma | Note Added: 0006080 | |
2010-12-15 10:50 | abma | Status | feedback => resolved |
2010-12-15 10:50 | abma | Fixed in Version | => 0.82.6.1+git |
2010-12-15 10:50 | abma | Resolution | open => fixed |
2010-12-15 10:50 | abma | Assigned To | => abma |
2010-12-15 10:50 | abma | Assigned To | abma => Kloot |