FOnline Development > Questions and Answers
Admin Panel?
(1/1)
Powerack:
Hello,
i viewed FOnlineServer.exe. Here is link to "Admin Panel". How to use it? Or exist any app to use admin panel functions? I have S2 Reloaded server.
Thanks for reply.
Wipe:
--- Code: (Server.cfg) ---# Admin panel listening port
# 0 to disable
AdminPanelPort=0
# Keys for accesses
# Aviable four access mode: client (default on login), tester, moder, admin
Access_admin=VerySecretPassword
AccessNames_admin=SomeFancyName
--- End code ---
Telnet to server using AdminPanelPort you set, enter VerySecretPassword, enjoy. You'd have (limited) access to hardcoded ~commands, mostly those which does not need Critter object to run.
AdminPanel is pretty meh, and most servers (if not all) don't use it, even on dev machine. And if you like to check server log often, you'll see lot of spam comming from it. Bigger issues was the fact that scripts have zero control over connected user, and if you want to use most important ~run command, you have to be pretty careful what functions you call - Critter& argument is null (sic!) when executed from AdminPanel :D
There's .dll version of similiar functionality in 2238 sources (DevConnect.cpp, devconnect.fos) which moved most of logic into scripts, and enabled two-way interaction. It's stuck in eternal Proof-Of-Concept stage but maybe will give you some ideas.
C4N:
Any subsystem relying on telnet for remote tasks shouldn't be accessible from outside an isolated network inside same server's network, without a replacement for that admin panel or a firewall to only allow that feature to work from a specific network, it should be just disabled and forgotten.
Navigation
[0] Message Index
Go to full version