Skip to content

Strange ONION_RECV_3 packets #1226

@kpp

Description

@kpp

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

No one assigned

    Labels

    P3Low priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions