Page 1 of 1

Conflicting address reply from pingpong servers

Posted: Fri Jun 09, 2017 11:04 pm
by AlienX
Hi,
I have searched on the forum for a solution to this, every search i find currently has the two IP Addresses the same, but the ports are different... Mine is the ports are the same but the IP Addresses are different (wtf?)

Code: Select all

   7.380 Info ServerRouter.cpp:581: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
   7.382 Info UDPSocket.cpp:39: Opening socket for broadcast
   7.424 Warning ServerRouter.cpp:469: Received own adddress message reply with conflicting address (got 109.108.144.36:34290, expected 109.108.144.40:34290)
   7.424 Warning ServerMultiplayerManager.cpp:563: Determining own address has failed. Best guess: 109.108.144.40:34290
Any ideas why each pingpong server are seeing a different IP Address?

108.109.144.40 is not even in the subnet of the 109.108.144.36 as seen here: 108.109.144.33 - 108.109.144.38 | 255.255.255.248 | /29

** Edit **
Oh also the correct IP is 109.108.144.36:34290, which it doesnt even use :|

Re: Conflicting address reply from pingpong servers

Posted: Sat Jun 10, 2017 11:01 am
by mexmer
this can happen, if you are behind nat, that uses range for assign and randomizes ip with each connection.

you can check on webs like https://www.whatismyip.com/ if ip switching happens, if so, you will need to reconfigure router to use semistatic mapping.

this can also happen, if you are connecting trough mobile data (3g/lte/gprs), since mobile carriers use such method.

Re: Conflicting address reply from pingpong servers

Posted: Sat Jun 10, 2017 11:02 am
by AlienX
Anyone able to assist on this, or explain how the pingpong servers work so I can better understand why the Wrong IP is being seen?

Re: Conflicting address reply from pingpong servers

Posted: Sat Jun 10, 2017 11:21 am
by AlienX
mexmer wrote:this can happen, if you are behind nat, that uses range for assign and randomizes ip with each connection.

you can check on webs like https://www.whatismyip.com/ if ip switching happens, if so, you will need to reconfigure router to use semistatic mapping.

this can also happen, if you are connecting trough mobile data (3g/lte/gprs), since mobile carriers use such method.
Hey, thanks for your reeponse.

The firewall has a single WAN interface with two WAN IP addresses, however what concerns me is that the two IPs that are being returned are not part of the same subnet at all, one is being routed to. 36, the other is on the firewall as an interface.

I'll dig a bit deeper, I've checked ip checkers and the IP address never seems to change from 36.
Also what's more odd is that when I masquerade the internal LAN range to a different IP address, one of the pingpong servers responds correctly.

The server used to be on. 40 before I had my subnet split into two /29's

Perhaps its a waiting game, or a caching issue on the pingpong side?

Re: Conflicting address reply from pingpong servers

Posted: Sat Jun 10, 2017 11:55 am
by mexmer
maybe you have some lingering translations in NAT table then?
since from what i understand, your game connects pingpong server, then server sends request for aditional connect, but second one came from different IP, which suggests that something on your side changed ip address.

Re: Conflicting address reply from pingpong servers

Posted: Sat Jun 10, 2017 12:47 pm
by AlienX
Highly possible.
I'll see if i can clear the state table on the firewall, perhaps that will help.

Thanks again for your help.

Re: Conflicting address reply from pingpong servers

Posted: Sat Jun 10, 2017 3:59 pm
by AlienX
I've had time now to look into this again, and it's just magically working now without any changes..

Meh, whatever lol.