Skip to content
Platform status
Servergilde

Security

The agent runs on your server and has rights there. This page explains how it works, what it transfers, what it may run and how you remove it again.

Your server FreeBSD or Linux Game server Database Agent Servergilde Data center DE Reports Alerts Jobs for the agent outgoing only incoming blocked

How the agent works

  • ConnectionThe agent connects to the platform's API on its own, at the address shown next to the code in the panel. It opens no port and accepts no connections.
  • Sign-inDuring installation the agent swaps the one-time code from the panel for its own key for this server. The code is invalid after that. In the panel you can block the key at any time.
  • RightsThe agent runs as root because it has to read processes, logs and ports of all services and run approved actions. Without an approval it only reads. It does not start a shell and only calls fixed programs.
  • JobsThe panel can only send jobs from a fixed list. Every job is signed with Ed25519, is valid for 10 minutes and only for this one server. The agent checks the signature with the key it stores at sign-in and rejects duplicate or expired jobs. There is no job that runs arbitrary commands.
  • SourceThe source code of the agent is public, and every version has a checksum.

What is transferred

The agent transfers measurements, services, player counts and findings. It does not transfer the contents of your databases or files. Backups only come to us if you choose our storage (Plus plan and up), and only encrypted. We do not have the key.

DataTransferredNote
Player counts per serviceyesonly the number, no names
Status, uptime, CPU and memory of the servicesyesfor display, history and alerts
System valuesyesload, memory, usage of the partitions, operating system version, listening ports
Results of the server checkyesfinding and rating, for example "MySQL listens on 0.0.0.0:3306", no file contents
Yang totals, names of the 10 characters with the most Yang, names of suspicious charactersPro plan, if you switch it ononly with economy tracking switched on in the agent config, for the analysis and the dupe warning. No database contents beyond that.
Backups of the databasesonly with our storagethey stay on your server and, if you want, also in a second location: our storage or your own SFTP or S3 storage. They are encrypted and the key stays with you.
Passwords of root, database and game accountsno
SSH keysno
Accounts, inventories and IP addresses of playersno
Server files, quests, clientnowe do not host game files

Allow list

Which actions the agent may run is defined in the file freigaben.conf on your server. It belongs to root. At first everything is off. You approve single actions with serverwerk_agent.py freigabe <action> an and block them again with aus. The change applies immediately. If the file is writable by others, everything counts as off. The panel can neither read nor change it, it only gets the list of approved actions from the agent.

After installation nothing is approved. The check and monitoring still work fully, because they only read.

Jobs that are not approved are rejected by the agent and written to /var/log/serverwerk/aktionen.log with time and sender.

  • FreeBSD/usr/local/etc/serverwerk/freigaben.conf
  • Linux/etc/serverwerk/freigaben.conf

An example. If a line is missing, the action is blocked.

[freigaben] dienst_neustart = an dienst_stopp = aus dienst_start = aus sicherung_jetzt = an sicherung_zurueck = aus luecke_schliessen = an modul_einspielen = aus

Here the agent may restart services, but not stop or start them. It may back up right away, but not restore. It may close gaps found by the check, but not install modules.

Change with serverwerk_agent.py freigabe <action> an or aus. The change applies immediately, no reload is needed. The option names in the file stay German for now.

Agent updates

You install updates yourself: the install script without a code downloads the current version, checks the SHA-256 checksum and restarts the service. The agent does not update itself.

Signed updates with a key stored during setup are planned. Until then the checksum protects against transfer errors, but not against a platform that has been tampered with.

To update, run the script without a code. It downloads the checksum, compares it and stops if it does not match:

# sh serverwerk-install.sh --url https://servergilde.com

Compare it yourself: the checksum of the current version is at https://servergilde.com/agent/serverwerk_agent.py.sha256, the installed one is shown by sha256 -q /usr/local/libexec/serverwerk/serverwerk_agent.py (FreeBSD) or sha256sum /opt/serverwerk-agent/serverwerk_agent.py (Linux).

Uninstall

The command stops the service and removes the program, the configuration with the key, the status file and the log.

After that you remove the server in the panel. We then delete its measurements after 30 days. Backups on your server stay there. Copies in our storage are deleted as soon as the server is removed.

Uninstall instructions

# sh serverwerk-install.sh --entfernen

Data with us

  • LocationThe panel and the API are in a data center in Germany.
  • Transferencrypted with HTTPS (TLS) to servergilde.com, every message carries the token of the server.
  • RetentionMeasurements are kept for 7 days in the Free plan, 90 days in Basic and 1 year in Plus and Pro, then they are deleted. After 7 days only hourly values remain. For the availability on the status page we count measurements and outages per day, for 90 days. For a removed server we delete measurements and events after 30 days. If you delete your account, they are deleted immediately.
  • Accessyou, the people you invite to your account, and us for operation and support
  • Sign-inPanel with password and a second factor through an app (TOTP)

What we do not do

  • CredentialsWe do not store a root password or an SSH key of your server.
  • Game filesWe do not host server files, clients or game content.
  • ConnectionsWe do not open a connection to your server. The exception is the check of the ports from outside in the server check.
  • ChangesWe change nothing on your server without a job from the panel that is allowed in the allow list.
  • SharingWe do not sell data and do not pass it on for advertising.

Questions about security

What can an attacker do who breaks into your panel?
They could read measurements and send jobs that are on your allow list. The agent does not run arbitrary commands. If you want to rule that out, leave the allow list empty and use only the check and monitoring.
Can I run the agent without root?
No. The agent runs as root because it has to read processes, logs and ports of all services. Without an approval it only reads, it does not start a shell and only calls fixed programs. If you approve nothing, the check and monitoring still work.
Where can I see what the agent did?
In the log in the panel and on your server in /var/log/serverwerk/aktionen.log. Every action and every rejected job is listed there.

Start with the server check

The check only reads and needs no approvals on your server.