summaryrefslogtreecommitdiff
path: root/docs/Prevent_Tracking.txt
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-01-04 19:40:43 -0500
committerirungentoo <irungentoo@gmail.com>2014-01-04 19:40:43 -0500
commit7e2d21271a549347575a38e5c3859d7374d496ed (patch)
treec8e4c56cd4793fd24e1e0bf3f989755b5d1cd036 /docs/Prevent_Tracking.txt
parentd46891c3b7cf70a2b436562ae387d85384f05d5c (diff)
Some work on the onion part done.
Diffstat (limited to 'docs/Prevent_Tracking.txt')
-rw-r--r--docs/Prevent_Tracking.txt9
1 files changed, 5 insertions, 4 deletions
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,
104add the part used to send data to our list (if the list is full make it replace the furthest entry)) 104add the part used to send data to our list (if the list is full make it replace the furthest entry))
105 105
106data to route request packet: 106data to route request packet:
107[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] 107[uint8_t packet id (133)][public key of destination node][nonce][temporary just generated public key]
108(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) 108encrypted with that temporary private key and the nonce and the real public key of the destination node:[data]
109(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)
109 110
110Data sent to us: 111Data sent to us:
111announce response packet: 112announce response packet:
@@ -114,8 +115,8 @@ encrypted with the DHT private key of Node D, the public key in the request and
114(if the ping id is zero, it means the information to reach the client id we are searching for is stored on this node) 115(if the ping id is zero, it means the information to reach the client id we are searching for is stored on this node)
115 116
116data to route response packet: 117data to route response packet:
117[uint8_t packet id (134)][nonce]encrypted with that temporary private key and the nonce:[data] 118[uint8_t packet id (134)][nonce][temporary just generated public key]
118 119encrypted with that temporary private key and the nonce and the real public key of the destination node:[data]
119Onion packet (response): 120Onion packet (response):
120 121
121initial (sent from node D to node C): 122initial (sent from node D to node C):