Skip to content

SundialServer v0.1.95

Choose a tag to compare

@humangenome humangenome released this 21 Oct 04:54
· 52 commits to main since this release

Hardening of the admin HTTP routes; removed an unused chat endpoint.

Server

Changed

  • The admin HTTP API checks a request's signature before it stores the body. Bodies up to 64 KB work as before. A larger body, such as a snapshot upload, now sends its SHA-256 in X-Solarpunk-Content-Sha256; without it the server answers 428, and a body of unknown length without it gets 411. One upload runs at a time. See docs/ADMIN.md.
  • Public reads (/api/v1/health, /api/v1/players, /api/v1/manifest, the MOTD and the map page) have their own request slots, separate from the signed routes.
  • GET /api/v1/chat/recent now needs the admin signature, like the other admin routes. GET /api/v1/chat/motd stays public.

Removed

  • POST /api/v1/chat/player, which nothing used. Admin messages still go out through RCON say/announce and the signed POST /api/v1/chat/say.

Players need nothing installed: in Solarpunk choose Multiplayer, Join session, Enter Code, and type the server's 5-letter code.


Hosting: SurvivalServers.com runs Sundial for you.