3skcassoc / sich

Cossacks 3 multiplayer server
Do What The F*ck You Want To Public License
15 stars 2 forks source link

xkeys, xadmin, xecho #1

Open gurland opened 6 years ago

gurland commented 6 years ago

What are those modules? How to use it or how to work with it? In current release I'm getting this traceback:

2018.08.27 13:46:06 | info  | xkeys      | disabled
2018.08.27 13:46:06 | info  | xadmin     | disabled
2018.08.27 13:46:06 | info  | xecho      | listening at udp:0.0.0.0:31523
2018.08.27 13:46:06 | info  | sich       | listening at tcp:0.0.0.0:31523
3skcassoc commented 6 years ago

xkeys: Checks if a key, received on user authentication, is valid. On startup, it is trying to read file "keys.store":

xadmin: Implements a telnet admin console. Can be enabled in config.store:

-- content of config.store
return {
    admin = {
        host = "127.0.0.1",
        port = 12345,
    },
}

There is no authorization, so better to restrict access only to a localhost. To connect, open a terminal and execute telnet 127.0.0.1 12345. When connected, type help to see the list of available commands.

xecho: Simple UDP server, replying back to incoming broadcast requests. Used by tools/c3servers.wlua to find Sich servers in the local network. Enabled by default, to disable add echo = false into config.