tpoechtrager / wc-ng

WC-NG - Cube 2: Sauerbraten Modification
Other
21 stars 3 forks source link

extinfo sporadically sends requests to main server port #2

Closed pisto closed 6 years ago

pisto commented 8 years ago

I could finally verify that the extinfo fetcher in-game sporadically sends requests to the main server port, instead of serverport + 1:

2016-02-03 11:17:26.579167 IP 68.150.217.125.60969 > 10.19.0.5.1025: UDP, length 13 2016-02-03 11:17:24.402162 IP 68.150.217.125.60969 > 10.19.0.5.1025: UDP, length 13 2016-02-03 11:17:22.944155 IP 68.150.217.125.60969 > 10.19.0.5.1024: UDP, length 13 2016-02-03 11:17:22.212179 IP 68.150.217.125.60969 > 10.19.0.5.1025: UDP, length 13 2016-02-03 11:17:20.046150 IP 68.150.217.125.60969 > 10.19.0.5.1025: UDP, length 13

(my server runs on port 1024).

tpoechtrager commented 8 years ago

How would that even be possible? Have a look at serverbrowser.cpp:673 (already +1'd) and extinfo.cpp:459.

pisto commented 8 years ago

I have no idea how that would be possible.