| ... | ... | @@ -24,12 +24,33 @@ Production firewall rules are declared in `nixos/zenith.nix`. The DNS provider |
| 24 | 24 | provisions client, direct-TLS client, and federation SRV records pointing at |
| 25 | 25 | `xmpp.paperclover.net`; the website keeps its existing apex address. Router |
| 26 | 26 | forwarding must send the TCP listeners, UDP TURN listeners, and UDP relay range |
| 27 | | to Zenith. Production activation uses the normal described-main deployment: |
| 27 | to Zenith. `xmpp-nat.service` refreshes UPnP mappings on startup and every five |
| 28 | minutes, using the Archer AX3000's description URL at the configured gateway. |
| 29 | The description is fetched directly; multicast SSDP discovery failed on this |
| 30 | host. Production activation uses the normal described-main deployment: |
| 28 | 31 | |
| 29 | 32 | ```sh |
| 30 | 33 | STUDIO_DEPLOY_HOST=root@10.0.0.1 STUDIO_DEPLOY_PORT=22 python3 tools/deploy.py prod |
| 31 | 34 | ``` |
| 32 | 35 | |
| 36 | ## Zenith production, 2026-10-10 |
| 37 | |
| 38 | The owner-readable connection file on Clover's Mac is |
| 39 | `~/.local/share/snowglobe/xmpp.json`. Monal can use the production JID and its |
| 40 | generated password; the explicit server is `xmpp.paperclover.net`, port `5223`, |
| 41 | with direct TLS. Client and federation SRV records resolve to that server. |
| 42 | |
| 43 | Verified through the public address from the home LAN: TLS authentication, two |
| 44 | resources, carbons, MAM retrieval, stream resumption, PEP publication/deletion, |
| 45 | private group creation/history/destruction, PNG upload/download, WebSocket, |
| 46 | authenticated UDP TURN allocation/deallocation, relay address/range, rejection |
| 47 | of a private peer, STARTTLS, and TURN TLS certificate validation. All three tasks |
| 48 | had zero restarts. The normal deployment took backup |
| 49 | `20261011T015942Z-a7e251` and passed all service route checks. A transient systemd |
| 50 | probe confirmed UPnP refresh works with `DynamicUser`. Off-LAN calls, iOS push |
| 51 | delivery, federation with another server, and recovery after a router restart |
| 52 | need client-side verification. |
| 53 | |
| 33 | 54 | ## Zenith preview, 2026-10-10 |
| 34 | 55 | |
| 35 | 56 | Stage: `xmpp-preview-c035f9fb` |
| ... | ... | @@ -37,13 +58,10 @@ Hostname: `xmpp-preview-c035f9fb.paperclover.net` |
| 37 | 58 | JID: `clover@xmpp-preview-c035f9fb.paperclover.net` |
| 38 | 59 | Dataset: `globe/staging/xmpp-preview-c035f9fb` |
| 39 | 60 | |
| 40 | | The generated password is in Nomad variables. Clover's Mac also has an |
| 41 | | owner-readable connection file at |
| 42 | | `~/.local/share/snowglobe/xmpp-preview.json`; credentials are not tracked here. |
| 43 | | Monal can use the preview JID and password with a manual server of `10.0.0.1`, |
| 44 | | port `5223`, and direct TLS while on the home LAN. The public hostname serves |
| 45 | | HTTPS media and WebSocket; public native connections require router forwarding |
| 46 | | to Zenith for the listeners and UDP relay range in `network.json`. |
| 61 | The preview Nomad job and its transient firewall service were stopped for the |
| 62 | production cutover. Its dataset, Nomad variables, and owner-readable Mac |
| 63 | connection file at `~/.local/share/snowglobe/xmpp-preview.json` are retained. |
| 64 | Preview account data was not copied into production. |
| 47 | 65 | |
| 48 | 66 | Delete the preview, including its accounts and history: |
| 49 | 67 | |