Files
p2p/todo.md

876 B

Todo :

peer discovery

  • 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
  • get request to the uri /peers/key to get the public key of a peer
  • get request to the uri /peers/key/addresses

handshake

  • handshake structure
  • 5min timeout after handshake
  • matain connection every 4 min

data transfer

  • request structure
  • root/root reply structure
  • datum/nodatum and datum structures
  • nattraversal 1 and 2 structures
  • setting in gui to act as a relay
  • chunk, directory, big, bigdirectory structures

fonctionnalités :

s'enregistrer avec le serveur OK rechercher un pair generer une clé publique OK rechercher les fichiers d'un pair telechargement des fichiers choisir un dossier à partager se deconnecter du réseau