SRCDS Steam group


specifying ports (steam/vac etc.)
#1
Hi all,

how can I specify all ports srcds is using? The game port can be set with -port or +port, but there are two more ports assigned (for steam/vac and the other for whatever). How can I assign them to a defined port number?

Thanks in advance!

EDIT: -sport or -steamport do not work, I just tested both!
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#2
I think its -sourceport http://forums.steampowered.com/forums/showthread.php?t=619423 they seem to be using a cracked version but i think for steam that applies for what you are asking.
My name is Valentinez Alkalinella Xifax Sicidabohertz Gombigobilla Blue Stradivari Talentrent Pierre Andri Charton-Haymoss Ivanovici Baldeus George Doitzel Kaiser the Third - Don't hesitate to call.
Reply
#3
no, that doesn't work either, unfortunately. thanks anyway...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#4
Good question BehaartesEtwas ... difficult name btw Smile

I realy think valve should do a major overhaul of the port used. Make it more easy for us server admins to protect the servers. Guess is security is your main consern in this question.
Reply
#5
Don't know. I think it takes first non-busy one.
Out of curiosity, why do you need it
Best Regards,
Stinkyfax
Reply
#6
because sometimes ports collide. it doesn't matter if the vac port srcds wants to assign is already taken, because it just picks another one then. but if one starts servers in a different order, it might happen that a port which shall be assigned as a client port for one server is already taken as vac port by another...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#7
+port 27015 +tv_port 27016 +clientport 27017

+replay_port was there but now has been removed again.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#8
thanks, that helps, but only partially. if I start the server like this:
Code:
./srcds_run -game cstrike +port 12345 +map de_dust2 +clientport 12346 +tv_port 12347

it gets the 3 specified ports associated, but also a 4th one:

Code:
css ~ # netstat --inet --listen -u -p -n | grep 10227
udp        0      0 0.0.0.0:12345           0.0.0.0:*                           10227/srcds_linux  
udp        0      0 0.0.0.0:12346           0.0.0.0:*                           10227/srcds_linux  
udp        0      0 0.0.0.0:12347           0.0.0.0:*                           10227/srcds_linux  
udp        0      0 0.0.0.0:26906           0.0.0.0:*                           10227/srcds_linux

can I somehow fix the last port as well?
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#9
Hit it with a rock.
Reply
#10
(12-04-2011, 07:50 PM)loopyman Wrote:  Hit it with a rock.

now my hard disk is broken. must have missed the port ;-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#11
Critical Hit!
Reply
#12
can you connect to last port with telnet and find out WTH is it for?
Best Regards,
Stinkyfax
Reply
#13
If you are able to restore the rocked hard disk this value descriptions might give an answer:
Code:
cvar list
--------------
clientport                               : 27027    :                  : Host game client port
hostport                                 : 27025    :                  : Host game server port
matchmakingport                          : 27025    :                  : Host Matchmaking port
systemlinkport                           : 27030    :                  : System Link port
tv_port                                  : 27020    :                  : Host SourceTV port
replay_fileserver_offload_port           : 21       : , "sv", "cl"     : Port number for FTP server where session blocks will be offloaded.
replay_fileserver_offload_proxy_port     : 8080     : , "sv", "cl"     : The port of the proxy server.
replay_fileserver_port                   : 80       : , "rep", "norecord", "cl" : The port for the Web server hosting replays.  For example, if your replays are stored at 'http://123.123.123.123:4567/tf/replay
logaddress_add                           : cmd      :                  : Set address and port for remote host <ip:port>.
logaddress_del                           : cmd      :                  : Remove address and port for remote host <ip:port>.
logaddress_delall                        : cmd      :                  : Remove all udp addresses being logged to
logaddress_list                          : cmd      :                  : List all addresses currently being used by logaddress.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#14
Thanks, but this does not help either, unfortunately. CSS does not have a matchmaking system and also does not seem to use the systemlinkport. The other CVARs are for outgoing connections only...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#15
I took the list from a css server...
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)