Files
p2p/todo.md
TIBERGHIEN corentin 8b2ab4861b zzzz
2026-01-21 02:45:48 +01:00

1.3 KiB

Todo

bugfix

  • ajouter hello et nat a l'exp backoff OK

  • peers n'ayant pas d'adresse OK

  • verifier le refresh des peers

  • setting in gui to act as a relay

  • 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 :

rechercher les fichiers d'un pair telechargement des fichiers choisir un dossier à partager choisir le nombre de canaux

autre

socket ipv6

FAIT

  • choisir un pseudo OK
  • get rsquest to the uri /peers/ OK
  • generation of the cryptographic key OK
  • put request to the uri (check if the peer is already connected) OK
  • get request to the uri /peers/key to get the public key of a peer OK
  • get request to the uri /peers/key/addresses OK
  • udp handshakes OK
  • handshake structure OK
  • s'enregistrer avec le serveur OK
  • generer une clé publique OK
  • verifier signature OK
  • 2 channels -> un pour envoyer et un pour recevoir OK
  • get rsquest to the uri /peers/ OK
  • request structure
  • root/root reply structure
  • datum/nodatum and datum structures
  • nattraversal 1 and 2 structures
  • chunk, directory, big, bigdirectory structures