M1 | M2 | 055 | 001
|Summary:||Remote Server Administration|
|Component:||Server||Assignee:||Odamex Bug Reporter <odamex-bug-reporter>|
|Version:||(old) 0.5.0 - 0.5.5|
Description Kyle 2010-02-25 23:00:07 UTC
Apart from the built-in rcon, I've been looking for other ways to remotely administer the server, so far the closest I've gotten is the following script: mknod odasrv.io p odasrv -background 1 < odasrv.io echo "wakey wakey" > odasrv.io then any commands directed at the FIFO will be issued as commands server side, a netcat server can also be set up to allow this to be remote. There are two caveats with this method, the first being that it has no method of authentication, the other being that netcat closes as soon as its supply of input is cut off (i.e. as soon as the other connection is canceled). Proposal: Upon launch, odasrv listens to port 23 (or other as specified) for incoming telnet connections. Upon connect to this port, it prompts for the rcon password, if the password checks out, it whitelists the ip until a disconnect command is issued, any further text sent through telnet connection would be interpreted as commands in the server. Eventually, a simple BBS-style system could be put in place for the telnet connection, allowing a simple but attractive way to remote admin a server without having to run the odamex client.