forked from irungentoo/toxcore
-
Notifications
You must be signed in to change notification settings - Fork 299
Open
Labels
P3Low priorityLow priority
Milestone
Description
We receive these packets time to time:
[140, 105, 127, 8]
[140, 251, 100, 49]
[140, 187, 23, 17]
[140, 195, 48, 106]
They are 4-bytes length and start from 140
. NET_PACKET_ONION_RECV_3 = 0x8c, // 140
. From https://github.com/TokTok/c-toxcore/blob/master/docs/Prevent_Tracking.txt#L134:
Onion packet (response):
initial (sent from node D to node C):
[uint8_t packet id (140)][nonce (for the following symmetric encryption)]encrypted with temp symmetric key of Node C:
[IP_Port (of Node B)[nonce (for the following symmetric encryption)]
encrypted with temp symmetric key of Node B:[IP_Port (of Node A)[nonce (for the following symmetric encryption)]
encrypted with temp symmetric key of Node A: [IP_Port (of us)]]][data to send back]
According to docs should the packets be a little bit longer than 4 bytes (id + Nonce)?
Metadata
Metadata
Assignees
Labels
P3Low priorityLow priority