summaryrefslogtreecommitdiff
path: root/docs/updates
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-05-19 12:56:36 -0400
committerirungentoo <irungentoo@gmail.com>2014-05-19 12:56:36 -0400
commite85feb8a3db42a0285b940a090c60102fae50374 (patch)
tree5f7106d655e8349a3118deb902518f77d1f70401 /docs/updates
parent8cec3cdd667975532747db13f7a4d5f279f94548 (diff)
Fixed a bug where someone could just send back the ping request packet
with only the first byte set to 1 instead of 0 and the public key set to the one of the reciever as a valid response packet. This breaks network compatibility with all previous cores.
Diffstat (limited to 'docs/updates')
-rw-r--r--docs/updates/DHT.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/updates/DHT.md b/docs/updates/DHT.md
index ba6abe3a..17db70ce 100644
--- a/docs/updates/DHT.md
+++ b/docs/updates/DHT.md
@@ -87,7 +87,7 @@ Valid queries and Responses:
87 87
88Ping(Request and response): 88Ping(Request and response):
89``` 89```
90[byte with value: 00 for request, 01 for response][char array (client node_id), length=32 bytes][random 24 byte nonce][Encrypted with the nonce and private key of the sender: [random 8 byte (ping_id)]] 90[byte with value: 00 for request, 01 for response][char array (client node_id), length=32 bytes][random 24 byte nonce][Encrypted with the nonce and private key of the sender: [1 byte type (0 for request, 1 for response)][random 8 byte (ping_id)]]
91``` 91```
92ping_id = a random integer, the response must contain the exact same number as the request 92ping_id = a random integer, the response must contain the exact same number as the request
93 93