Network & Security
Learn about Mesh's network architecture and security features.
Network Topology
Mesh uses a decentralized peer-to-peer network topology. Each user connects directly to other peers or through relay servers.
┌─────────┐ ┌─────────┐
│ Peer │────▶│ Peer │
└─────────┘ └─────────┘
│ │
▼ ▼
┌─────────────────────┐
│ Relay │
│ (optional) │
└─────────────────────┘Security Model
- End-to-end encryption - All messages are encrypted using the Signal Protocol
- Forward secrecy - Session keys are rotated regularly
- Perfect forward secrecy - Compromised keys cannot decrypt old messages
- No metadata - Minimal metadata collection
Best Practices
- Use TLS on your relay servers
- Keep your relay software up to date
- Use strong authentication tokens
- Monitor connection logs for anomalies
- Configure firewall rules appropriately