This commit is contained in:
Tiago Batista Cardoso
2026-01-11 22:00:10 +01:00
parent f51b8e999c
commit 82cc134626
4 changed files with 22 additions and 8 deletions

16
todo.md
View File

@@ -1,8 +1,11 @@
# Todo :
# Todo
## peer discovery
- get rsquest to the uri /peers/
- get rsquest to the uri /peers/
## registration with the server
- generation of the cryptographic key OK
- put request to the uri (check if the peer is already connected) OK
- udp handshakes OK
@@ -10,11 +13,13 @@
- get request to the uri /peers/key/addresses OK
## handshake
- handshake structure OK
- 5min timeout after handshake
- matain connection every 4 min
## data transfer
- request structure
- root/root reply structure
- datum/nodatum and datum structures
@@ -22,6 +27,13 @@
- setting in gui to act as a relay
- chunk, directory, big, bigdirectory structures
## nat traversal
- make hello and helloreply messages set the first extension bit to announce that peer is available for nat traversal
- implement actual nat traversal requests
- implement nat traversal :
- if hello/helloreply doesnt work with a peer, find a peer that supports nat traversal (server in priority) then begin protocol
fonctionnalités :
s'enregistrer avec le serveur OK