summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-03-14 14:12:35 -0400
committerirungentoo <irungentoo@gmail.com>2014-03-14 14:12:35 -0400
commit3acf43b76accbe0285e9cec0ff3536efeb3f8d8c (patch)
tree0a3337614f8eb7cb686305835dc7f0a4de7c9cb0 /docs
parent29afa26396feb109966e507481022e884aaad09f (diff)
A bit of work done on the TCP relay server.
Diffstat (limited to 'docs')
-rw-r--r--docs/TCP_Network.txt3
-rw-r--r--docs/TODO2
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/TCP_Network.txt b/docs/TCP_Network.txt
index ce52b8e9..80cdfbdb 100644
--- a/docs/TCP_Network.txt
+++ b/docs/TCP_Network.txt
@@ -58,6 +58,9 @@ So if you would inspect the TCP stream you would see:
58[[uint16_t (length of data)][data]][[uint16_t (length of 58[[uint16_t (length of data)][data]][[uint16_t (length of
59data)][data]][[uint16_t (length of data)][data]] 59data)][data]][[uint16_t (length of data)][data]]
60 60
61Note that both handshake packets don't have this format (the length for them is
62always the same so we don't need to specify it.)
63
61When the client connects to the server, he sends this packet: 64When the client connects to the server, he sends this packet:
62[public key of client (32 bytes)][nonce for the encrypted data [24 65[public key of client (32 bytes)][nonce for the encrypted data [24
63bytes]][encrypted with the private key of the client and public key of the 66bytes]][encrypted with the private key of the client and public key of the
diff --git a/docs/TODO b/docs/TODO
index 6c0197db..f7ef8ade 100644
--- a/docs/TODO
+++ b/docs/TODO
@@ -41,7 +41,7 @@ Friend_requests.c:
41 41
42[NOT STARTED] Make the core save/datafile portable across client versions/different processor architectures. 42[NOT STARTED] Make the core save/datafile portable across client versions/different processor architectures.
43 43
44[NOT STARTED] A way for people to connect to people on Tox if they are behind a bad NAT that 44[IN PROGRESS] A way for people to connect to people on Tox if they are behind a bad NAT that
45blocks UDP (or is just unpunchable) (docs/TCP_Network.txt) 45blocks UDP (or is just unpunchable) (docs/TCP_Network.txt)
46 46
47[NEEDS TESTING] Make the save made with tox_save_encrypted(...) harder to brute force. 47[NEEDS TESTING] Make the save made with tox_save_encrypted(...) harder to brute force.