Self-hosted hub: an independent network
This is separate from joining the existing Eternal Link network. Existing-network sysops need a board ID/key and a client only; see LINK-KEYS.md.
Use Python 3.10+ on Linux, a dedicated unprivileged service account and persistent
private storage. Full release compatibility is hub 0.9.3-preview.3 from this source.
Copy hub/ into a versioned directory. Copy hub.example.json to private storage,
replace placeholders with unique cryptographically random bootstrap tokens
(at least 32 ASCII characters), and keep the file 0600. Never reuse a board key.
Use a private 0700 directory for the Unix admin socket and a persistent SQLite
stats_db outside the code directory. Run python3 hub/hub.py /private/hub.json.
A non-loopback listener requires verified TLS: configure cert/key for a valid server certificate, or keep the hub on loopback behind a TLS TCP proxy. Clients must verify the correct hostname and CA chain. Do not publish a plain remote hub. The default port is 8765; bind/firewall only the intended listener. A systemd service template is provided under packaging/hub/; adapt paths and ownership.
Issue keys with the private sysop.py admin socket commands in LINK-KEYS.md. New board keys survive restart in the registry. Grant trusted Board Sysop roles only after verifying the authenticated stable account; network moderators are separate. The optional master web dashboard binds loopback and should be reached through an authenticated SSH tunnel; do not expose its admin socket publicly.
For the optional encrypted public-room archive, separately install cryptography, generate a random 32-byte key owned by the hub account with permissions 0600, and configure audit_db/audit_key outside software releases. Retention is 24 hours. PMs and private/staff-room conversations are excluded. Keep an independent purge timer running while the hub is stopped, protect backups and never publish the key. The archive-maintenance helper takes the private config path and uses the same hub-account ownership checks. This archive is moderation tooling, not PM history.
IRC relay is a separate process (irc_relay.py) and separate authenticated board
identity. For Eternal BBS IRC, the correct upstream is irc.eternalbbs.com:6697 with
verified TLS; public hub #irc bridges to #eternallink. Configure the private admin
socket so drop/recovery appears only in #staff. Give every independent hub a
unique relay nickname. Never bridge PMs, private/staff rooms or administrative
commands. Copy irc.example.json privately and issue its unique board key first.
Back up application state without embedding real keys in support records. Keep software rollback separate from credential rotation and archive retention.