diff options
author | irungentoo <irungentoo@gmail.com> | 2014-01-04 19:40:43 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-01-04 19:40:43 -0500 |
commit | 7e2d21271a549347575a38e5c3859d7374d496ed (patch) | |
tree | c8e4c56cd4793fd24e1e0bf3f989755b5d1cd036 /docs/Prevent_Tracking.txt | |
parent | d46891c3b7cf70a2b436562ae387d85384f05d5c (diff) |
Some work on the onion part done.
Diffstat (limited to 'docs/Prevent_Tracking.txt')
-rw-r--r-- | docs/Prevent_Tracking.txt | 9 |
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, | |||
104 | add the part used to send data to our list (if the list is full make it replace the furthest entry)) | 104 | add the part used to send data to our list (if the list is full make it replace the furthest entry)) |
105 | 105 | ||
106 | data to route request packet: | 106 | data 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) | 108 | encrypted 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 | ||
110 | Data sent to us: | 111 | Data sent to us: |
111 | announce response packet: | 112 | announce 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 | ||
116 | data to route response packet: | 117 | data 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 | 119 | encrypted with that temporary private key and the nonce and the real public key of the destination node:[data] | |
119 | Onion packet (response): | 120 | Onion packet (response): |
120 | 121 | ||
121 | initial (sent from node D to node C): | 122 | initial (sent from node D to node C): |