From 7e2d21271a549347575a38e5c3859d7374d496ed Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sat, 4 Jan 2014 19:40:43 -0500 Subject: Some work on the onion part done. --- docs/Prevent_Tracking.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/Prevent_Tracking.txt b/docs/Prevent_Tracking.txt index e4d19edc..d8087070 100644 --- a/docs/Prevent_Tracking.txt +++ b/docs/Prevent_Tracking.txt @@ -104,8 +104,9 @@ encrypted (with our real long term private key if we want to announce ourselves, add the part used to send data to our list (if the list is full make it replace the furthest entry)) data to route request packet: -[uint8_t packet id (133)][public key of destination node][nonce][temporary just generated public key]encrypted with that temporary private key and the nonce:[data] -(if Node D contains the used to send data for, it sends the stuff in this packet as a data to route response packet to the right node) +[uint8_t packet id (133)][public key of destination node][nonce][temporary just generated public key] +encrypted with that temporary private key and the nonce and the real public key of the destination node:[data] +(if Node D contains the ret data for the node, it sends the stuff in this packet as a data to route response packet to the right node) Data sent to us: announce response packet: @@ -114,8 +115,8 @@ encrypted with the DHT private key of Node D, the public key in the request and (if the ping id is zero, it means the information to reach the client id we are searching for is stored on this node) data to route response packet: -[uint8_t packet id (134)][nonce]encrypted with that temporary private key and the nonce:[data] - +[uint8_t packet id (134)][nonce][temporary just generated public key] +encrypted with that temporary private key and the nonce and the real public key of the destination node:[data] Onion packet (response): initial (sent from node D to node C): -- cgit v1.2.3