protonscr

IPv6 support for SteamCMD update server

steamopen SteamCMD
ValveSoftware/steam-for-linux#11417 · opened 2024-11-03 by mganter · updated 2025-02-23 · 1 comments · github
Mmganter 2024-11-03 github

Your system information

  • Distribution (e.g. Ubuntu): Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-45-generic x86_64)

Please describe your issue in as much detail as possible:

SteamCMD cannot start on IPv6 only Server, as there is probably no AAAA DNS-Record on the domain for the update server.
(In Wiki in the manual install there is the server steamcdn-a.akamaihd.net referenced which has no AAAA Record)

I installed SteamCMD with apt and executed it.

$ steamcmd
Redirecting stderr to '/root/.local/share/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
[----] Verifying installation...
[  0%] Downloading Update...
[  0%] Checking for available update...
[----] !!! Fatal Error: Steamcmd needs to be online to update.   Please confirm your network connection and try again.
threadtools.cpp (3294) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x5f9773f0/0x0xf6a45b'

DNS Lookup results in some CNAME records (which dont have AAAA either)

$ dig steamcdn-a.akamaihd.net AAAA

; <<>> DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu <<>> steamcdn-a.akamaihd.net AAAA
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54530
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 3

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;steamcdn-a.akamaihd.net.       IN      AAAA

;; ANSWER SECTION:
steamcdn-a.akamaihd.net. 33     IN      CNAME   steamcdn-a.akamaihd.net.edgesuite.net.
steamcdn-a.akamaihd.net.edgesuite.net. 33 IN CNAME a1843.g1.akamai.net.

;; AUTHORITY SECTION:
g1.akamai.net.          948     IN      SOA     n0g1.akamai.net. hostmaster.akamai.com. 1730651630 1000 1000 1000 1800

;; ADDITIONAL SECTION:
a1843.g1.akamai.net.    33      IN      A       184.24.77.156
a1843.g1.akamai.net.    33      IN      A       184.24.77.162

;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Sun Nov 03 16:34:42 UTC 2024
;; MSG SIZE  rcvd: 224

Steps for reproducing this issue:

  1. Start Ubuntu 24.04.1 LTS
  2. Execute: sudo apt update and sudo apt upgrade
  3. Execute: sudo apt install steamcmd
  4. Execute: steamcmd
Sskid9000 2025-02-23 github

It's even worse than that, steamcmd request via DNS SPECIFIALLY an A record to reach it's servers, so even in an env with DNS64 and NAT64 it wouldn't work.......

Would need either to dualstack or setup 464xlat which is a pain...

Here is a tcpdump on my end :

tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on ens18, link-type EN10MB (Ethernet), snapshot length 262144 bytes
14:25:20.121714 IP6 <REDACTED>.53347 > dns64.cloudflare-dns.com.domain: 19503+ A? client-download.steampowered.com. (50)
14:25:20.167581 IP6 dns64.cloudflare-dns.com.domain > <REDACTED>.53347: 19503 NXDomain 1/1/0 CNAME update.client.steamcontent.akadns.net. (164)
14:25:20.167988 IP6 <REDACTED>.35579 > dns64.cloudflare-dns.com.domain: 49253+ A? client-download.steampowered.com.gamindustri.fr. (65)
14:25:20.186639 IP6 dns64.cloudflare-dns.com.domain > <REDACTED>.35579: 49253 0/1/0 (119)
14:25:20.220352 IP6 <REDACTED>.50583 > dns64.cloudflare-dns.com.domain: 10283+ PTR? 4.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.7.4.0.0.7.4.6.0.6.2.ip6.arpa. (90)
14:25:20.240037 IP6 dns64.cloudflare-dns.com.domain > <REDACTED>.50583: 10283 1/0/0 PTR dns64.cloudflare-dns.com. (128)
14:25:20.240586 IP6 <REDACTED>.43819 > dns64.cloudflare-dns.com.domain: 14726+ PTR? 6.0.0.0.6.7.0.0.4.6.9.6.b.6.3.7.2.0.3.2.4.b.e.2.c.7.6.0.1.0.0.2.ip6.arpa. (90)
14:25:20.258911 IP6 dns64.cloudflare-dns.com.domain > <REDACTED>.43819: 14726 NXDomain 0/1/0 (165)
14:25:20.371874 IP6 <REDACTED>.50078 > dns64.cloudflare-dns.com.domain: 23806+ A? media.steampowered.com. (40)
14:25:20.443441 IP6 dns64.cloudflare-dns.com.domain > <REDACTED>.50078: 23806 4/0/0 CNAME cdn.akamai.steamstatic.com.edgesuite.net., CNAME a1843.b.akamai.net., A 92.123.180.10, A 92.123.180.11 (155)
14:25:20.622931 IP6 <REDACTED>.51906 > dns64.cloudflare-dns.com.domain: 28363+ A? client-download.steampowered.com. (50)
14:25:20.640428 IP6 dns64.cloudflare-dns.com.domain > <REDACTED>.51906: 28363 NXDomain 1/1/0 CNAME update.client.steamcontent.akadns.net. (164)
14:25:20.640805 IP6 <REDACTED>.58240 > dns64.cloudflare-dns.com.domain: 40330+ A? client-download.steampowered.com.gamindustri.fr. (65)
14:25:20.660090 IP6 dns64.cloudflare-dns.com.domain > <REDACTED>.58240: 40330 0/1/0 (119)

Nothing extracted yet.