Get desktop application:
View/edit binary Protocol Buffers messages
Timestamp is used to metric the latency between two peers.
Credentials encrypted by the shared key. The shared key generated by the noise protocol. Workflow: 1. Client fetch its primary server information from portal service. 2. Client handshake with relay server and put the credentials into HandshakeMessage.
IsPrimary indicates whether is the destination relay server the primary server of client.
Only be assigned a value if the purpose is
Only be assigned a value if the purpose is `PairRequest/PairResponse/EndpointsChanged`
Used in:
Used in:
Used in:
Catch up is used to synchronize the peer endpoints information between peers. All new startup device will retrieve the peers list and send `PacketSyncEndpoints` with the `Catchup` purpose message for all online devices.
All message communication via relay server by default and the `PairRequest/PairResponse` purpose will try to establish P2P connection between peers.
Used in:
Handshake packet is use to handshake with the relay server. The handshake message should be the first message between relay server and peer client. The message is used to exchange the DH key and generate the shared key for the subsequence messages. The subsequence messages will not be handled by the relay server if the handshake has not completed.
DIRECTION: peer -> relay server (TCP)
DIRECTION: relay server -> peer (TCP)
Probe packet is used to probe if peers connected to the relay server.
DIRECTION: peer -> relay server (TCP)
DIRECTION: relay server -> peer (TCP)
Heartbeat packet is used to keep alive between PairMesh node and relay servers
DIRECTION: peer <-> relay server
SyncPeer packet is used to synchronize the peer information between PairMesh nodes.
DIRECTION: peer <-> relay server <-> peer (TCP)
Forward represents the relay message which is forwarded by the relay server.
DIRECTION: peer -> relay server -> peer (TCP)
PEER MESSAGE: UDP packet between peers.
DIRECTION: peer -> peer (UDP)
PEER MESSAGE: UDP packet the raw IP fragment red from virtual network device.
DIRECTION: peer -> peer (UDP)