Jump to content


xact

Member Since 24 Feb 2010
OFFLINE Last Active Oct 21 2018 11:12 AM
-----

Posts I've Made

In Topic: cant connect to others

23 May 2017 - 10:17 AM

Yes, the server must listen on a random UDP port for that and the game needs updates too, it's tricky :D But you have no other choice (except using a VPN, but that's not really a good solution).

 

Yeah, but there's a way to fix it. I've already tried some scenarios. But it requires multiple manipulation of packets :D.


In Topic: cant connect to others

22 May 2017 - 02:06 PM

That's really weird indeed.

But more and more providers put their users behind NAT because of the ipv4 exhaustion. Most of the time you end up behind a "PortRestrictedCone" NAT where the public port doesn't match the source port.

 

If it turns out that Red Alert 2 can't handle such cases then it's a bigger problem. It should be easy to update the server to handle such cases though, from what I know, Red Alert 2 is using random source ports, that means the server actually has to share not only the ip, but also the port of each player.

The server could override the port and share the public port instead.

 

Everything looks like it's all about NAT problems, you guys should at least run a test and paste your results in here. Maybe it's something else, but it's impossible to tell without running tests 

It's not that easy...

Providers use Carrier Grade Nat, you can't just use the opened tcp port as udp port, as the NAT-Device makes the assignement of the ports.

You'd need a udp listener on the server. On connecting, the game must send a connection request to the udp server port, to get the offical udp source port of the client and keep the client/server connection up to use the same port as udp game port again. When the connections between players is done, the dummy connection between server and client can be destroyed.

So you'd have to dll inject game (awwwwh  :crybaby: ) and also in server (easy going).


In Topic: XWIS connection FIX!

20 May 2017 - 09:38 AM

I think tunnelbear would work too, it tries to use the same public port as the source port (if available)

 

 

 

Not a DNS issue, nor ipv6 issue. More like DS-Lite / NAT

 

http://xwis.net/forums/index.php/topic/183788-cant-connect-to-others/page-6#entry1600342

http://xwis.net/forums/index.php/topic/183788-cant-connect-to-others/page-6#entry1600344

 

If the public port doesn't match the source port it will fail, some VPN's can solve such issues, some not

 

I agree with you


In Topic: XWIS connection FIX!

17 May 2017 - 12:44 PM

Yeah you could add the hostname ip's to the host file. If another connection resolves the connection name would indicate a DNS issue IMO

 

No, it doesn't matter who resolves the hostname. The routing table is crucial.


In Topic: Game Ranger

16 May 2017 - 12:55 PM

Hey guys, take a look at http://ngwol.ga. It's and new server , free to play, very easy handling and we're looking for players right now. It has full ladder support for RA2 and YR.

Maybe we can get back the people from Gameranger.