Update relay to current MacClient implementation
This commit is contained in:
1 parent
9e49118e8e
commit
a571721d4c
8 files changed
+1062
-33
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Meets Relay
|
||||
|
||||
Self-hostable relay for pairing and synchronization between the Meets Mac backend and its paired iPhone app. Recording content and RPC payloads are end-to-end encrypted by the clients before transfer. The relay stores encrypted chunks and the metadata required to route them.
|
||||
Self-hostable relay for pairing and synchronization between the Meets Mac backend and its paired iPhone app. Recording content and RPC payloads are end-to-end encrypted by the clients before transfer. The relay stores encrypted chunks and the metadata required to route them. The service also serves its same-origin browser account interface from `/`.
|
||||
|
||||
## Requirements and network setup
|
||||
|
||||
@@ -32,14 +32,14 @@ The administrator can create time-limited, one-use invitations for other people
|
||||
|
||||
The supplied Compose file uses a read-only root filesystem, an unprivileged container user, no Linux capabilities, a process limit, a memory limit, and a private named volume. Only the relay data volume and a small temporary filesystem are writable. Edit resource limits to suit your host, while retaining the other restrictions.
|
||||
|
||||
The default relay quotas are 10 GiB total and 1 GiB per pairing. Completed transfers expire after seven days; incomplete transfers expire after one day. Pairings expire after 30 days without a heartbeat. The named volume contains account and pairing state plus encrypted transfer data. Back it up securely if you need to preserve pairings across host replacement.
|
||||
The default relay quotas are 10 GiB total and 1 GiB per pairing. Audio transfers support up to 500 MiB of payload, carried in bounded encrypted chunks. Completed transfers expire after seven days; incomplete transfers expire after one day. Pairings expire after 30 days without a heartbeat. The named volume contains account and pairing state plus encrypted transfer data. Back it up securely if you need to preserve pairings across host replacement.
|
||||
|
||||
Set your reverse proxy to forward your HTTPS hostname to `127.0.0.1:8080`. Configure that same HTTPS base URL in the Mac app before creating new pairings. Existing pairings keep the relay address embedded when they were created.
|
||||
|
||||
## Security and privacy
|
||||
|
||||
- Transfer chunks are end-to-end encrypted. The relay cannot decrypt recordings, transcripts, notes, or RPC content. It can observe traffic metadata such as pairing identifiers, sizes, chunk counts, and timestamps.
|
||||
- Self-hosted deployments do not enable or configure push notifications and do not accept or persist APNs device registrations.
|
||||
- Optional APNs support is disabled by default. If enabled, provide its private key through a server-side secret file; never commit provider credentials. Push events contain only the event type and recording ID, not recording content.
|
||||
- The relay does not contain a TURN server. Configure the hostname, port, and shared secret of a separately operated TURN service. Depending on the network, direct or STUN-only connectivity may work without TURN.
|
||||
- The relay HTTP API must be protected by HTTPS at your reverse proxy. Keep the container port bound to loopback. Disable proxy caching for API routes.
|
||||
- Account passwords are stored as scrypt hashes with individual salts. Refresh tokens are stored hashed. Setup, login, invitations, and other sensitive operations are rate limited.
|
||||
|
||||
Reference in new issue
Block a user