网络与安全

了解 Mesh 的网络架构和安全功能。

网络拓扑

Mesh uses a decentralized peer-to-peer network topology. Each user connects directly to other peers or through relay servers.

┌─────────┐     ┌─────────┐
│  Peer   │────▶│  Peer   │
└─────────┘     └─────────┘
       │              │
       ▼              ▼
    ┌─────────────────────┐
    │      Relay         │
    │    (optional)       │
    └─────────────────────┘

安全模型

  • 端到端加密 - 所有消息都使用 Signal 协议加密
  • 前向保密 - 会话密钥定期轮换
  • 完美前向保密 - 泄露的密钥无法解密旧消息
  • 无元数据 - 最小化元数据收集

最佳实践

  1. 在您的中继服务器上使用 TLS
  2. 保持您的中继软件更新
  3. 使用强认证令牌
  4. 监控连接日志以发现异常
  5. 正确配置防火墙规则