CnCNet / xna-cncnet-client

XNA / MonoGame based client for playing classic Command & Conquer games both online and offline with a CnCNet game spawner.
Other
223 stars 86 forks source link

Replace TAL.DE.EU.GameSurge.net with LAN-Team.DE.EU.GameSurge.net #489

Closed ThiefMaster closed 3 months ago

ThiefMaster commented 8 months ago

In particular the hardcoded IP (195.8.250.180) is problematic; I already updated the DNS so the old one points to its replacement. You may also want to remove other servers that no longer exist.

SadPencil commented 4 months ago
Burstfire.UK.EU.GameSurge.net|GameSurge London, UK|6667,6668,7000
ColoCrossing.IL.US.GameSurge.net|GameSurge Chicago, IL|6660,6666,6667,6668,6669
Gameservers.NJ.US.GameSurge.net|GameSurge Newark, NJ|6665,6666,6667,6668,6669,7000,8080
Krypt.CA.US.GameSurge.net|GameSurge Santa Ana, CA|6666,6667,6668,6669
NuclearFallout.WA.US.GameSurge.net|GameSurge Seattle, WA|6667,5960
Portlane.SE.EU.GameSurge.net|GameSurge Stockholm, Sweden|6660,6666,6667,6668,6669
Prothid.NY.US.GameSurge.Net|GameSurge NYC, NY|5960,6660,6666,6667,6668,6669,6697
TAL.DE.EU.GameSurge.net|GameSurge Wuppertal, Germany|6660,6666,6667,6668,6669
208.167.237.120|GameSurge IP 208.167.237.120|6660,6666,6667,6668,6669,7000,8080
192.223.27.109|GameSurge IP 192.223.27.109|6660,6666,6667,6668,6669,7000,8080
108.174.48.100|GameSurge IP 108.174.48.100|6660,6666,6667,6668,6669,7000,8080
208.146.35.105|GameSurge IP 208.146.35.105|6660,6666,6667,6668,6669,7000,8080
195.8.250.180|GameSurge IP 195.8.250.180|6660,6666,6667,6668,6669,7000,8080
91.217.189.76|GameSurge IP 91.217.189.76|6660,6666,6667,6668,6669,7000,8080
195.68.206.250|GameSurge IP 195.68.206.250|6660,6666,6667,6668,6669,7000,8080
irc.gamesurge.net|GameSurge|6667

This is the current IRC servers. Could you directly address the changes here?

ThiefMaster commented 3 months ago

Why do you need to hardcode any IPs or server names? Any reason against just using the DNS round-robin (irc.gamesurge.net)?

Ideally you'd use irc.gamesurge.net (with a fresh DNS lookup at least when a connection to the previous server fails), and any port from 6660,6666,6667,6668,6669 (they are open on all servers) with a preference on the standard 6667.

SadPencil commented 3 months ago

Why do you need to hardcode any IPs or server names? Any reason against just using the DNS round-robin (irc.gamesurge.net)?

Ideally you'd use irc.gamesurge.net (with a fresh DNS lookup at least when a connection to the previous server fails), and any port from 6660,6666,6667,6668,6669 (they are open on all servers) with a preference on the standard 6667.

I don't think irc.gamesurge.net is sufficient. It only have 5 IPv4 addresses no matter the dns client is from?

Name:    irc.gamesurge.net
Addresses:  162.248.94.123
          128.140.107.226
          192.223.27.109
          195.68.206.250
          188.240.145.60
SadPencil commented 3 months ago

Yeah you are right. Besides Krypt.CA.US.GameSurge.net all other IP addresses are in irc.gamesurge.net

Name:    Krypt.CA.US.GameSurge.net
Address:  209.11.244.82

I'll try removing all but irc.gamesurge.net in https://github.com/CnCNet/xna-cncnet-client/pull/487

By the way the client does not depends on DNS round-robin. It sends ICMP ping to all servers and start trying connecting from the fastest to the slowest/not responded (due to, national firewalls or something) servers.

SadPencil commented 3 months ago

Closed as completed via d3486ad0c8966bf21ffff280c1efe1c90eecbc7f