TransWikia.com

Unable to get the server IP address via CS:GO "status" command in linux

Arqade Asked on March 26, 2021

I got this after running the status command in the CS:GO console:

] status
Connected to =[A:1:176517124:15634]:0
hostname: Valve CS:GO EU West Server (srcds006.131.40)
version : 1.37.6.8 secure
os      :  Linux
type    :  official dedicated
map     : cs_office
players : 8 humans, 5 bots (16/0 max) (not hibernating)

What does [A:1:176517124:15634]:0 mean?

I guessed it could be in fact something like this(these are the only valid combinations):

176.51.71.24:15634

17.65.171.24:15634

17.65.17.124:15634

176.51.7.124:15634

But the whois command proved that I’m wrong.

I expected to get something like what mentioned in this answer.

Any idea?

One Answer

That string is a SteamID for a Steam Datagram Relay enabled server. It is intended to hide the public IP address from players on the server, along with some other benefits, such as authentication, encryption, rate-limiting, protection from DOS attacks, and in some cases better ping.

Support for SDR was added to CSGO in 2016 according to this Reddit post by a Valve employee. Presumably, all CS:GO Public Matchmaking servers have migrated to SDR and do not expose the public IP address to players connected to it. In the same Reddit post, the author comments:

You can tell that you are playing over SDR because the connect address will not be an IP address like xxx.xxx.xxx.xxx, it will look like “=[A:n:nnnnnnn]”

To answer your title question, the server IP address can be obtained on Linux (and Windows) using the "status" command, unless the server is using SDR, in which case the SteamID will be displayed instead of the IP address.

If the server is using SDR then you are unlikely to obtain the IP address using "white hat" methods, since one of the fundamental purposes of SDR is to keep the IP address secret from general knowledge.

Correct answer by sirreldar on March 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP