Commit Graph

178 Commits (89a69c7e0c08d6add9570af5be3ffe2be945a910)
 

Author SHA1 Message Date
Louis Royer 89a69c7e0c Fix bug with reuse of closed sockets
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
5 years ago
Flavien Haas 2cc2868450 Added functionnality to select a file to download by a number (#88)
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
option 0 now can close the program

Merge branch 'listefichiers' of ssh://git.flavien.ovh:10722/flavien/Projet_JAVA_P2P_STRI2A into listefichiers

added cli info and journalization

added functionnality to select a file to download by a number

added cli info and journalization

added functionnality to select a file to download by a number

Co-authored-by: flavien <flavien.haas@outlook.fr>
Co-authored-by: js_auge <auge1@hotmail.fr>
5 years ago
Louis Royer f77ea0ae2b Update README.md
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
5 years ago
Louis Royer 68446551b4 Merge pull request 'Ratio' (#86) from ratio into etape5
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
5 years ago
Louis Royer e02386453b Update server to punish clients
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good Details
5 years ago
Louis Royer f33b91dccd Ratio implementation for client 5 years ago
Louis Royer c60fdedf80 Update tracker: 100% 5 years ago
Louis Royer a5b1abc9a8 Add attribute null check 5 years ago
Louis Royer f7b1216b25 Fix #33 partially 5 years ago
Louis Royer 97d173e8eb Add RATIO REQUEST/RESPONSES handling in tracker
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good Details
To do: UPDATE RATIO
5 years ago
Louis Royer c81f5d2e5a Fix #41
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good Details
5 years ago
Louis Royer 77655cb828 Add DENIED protocol element 5 years ago
Louis Royer d9c4c8ba40 Fix off by 1 lengths; fix debug color 5 years ago
Louis Royer d6fbfa6683 Update Payload and protocolP2P packet to allow ratio 5 years ago
Louis Royer 5fa160d98d Add classes for ratio 5 years ago
Louis Royer c5e8a7df39 Changes to LoadRequest 5 years ago
Louis Royer 230092ab2a Update protocol.md
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good Details
Fix #42
5 years ago
Louis Royer c3b4d0660d Fix #82 (#85)
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
Fix #82
5 years ago
Louis Royer 15e1bd2e75 Add colorization in System.err logs (#83)
Add colorization in System.err logs
Errors are reds, Warnings are yellow, Infos are green

Co-authored-by: Louis <louis.royer@univ-tlse3.fr>
5 years ago
Louis Royer 07cecf2fab Merge pull request 'Étape 4' (#46) from etape4 into master
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
5 years ago
Louis Royer e0bf3782c0 Merge pull request 'clitracker' (#79) from clitracker into etape4
Fix #80
5 years ago
Louis Royer 7253a34e49 Refactoring 5 years ago
Flavien Haas 64032e84c4 finished work 5 years ago
Flavien Haas 387a487d83 reintroduce usage of arguments in serverP2P 5 years ago
Flavien Haas 702fb399c3 return testport in method 5 years ago
Flavien Haas d4bcff6f8c retrieve support for agurments 5 years ago
Flavien Haas d0eff567f5 added support for tools/testlegitip 5 years ago
Flavien Haas 9c5bfc5430 added a method to test if hostnames are legitimate 5 years ago
Flavien Haas a0cbd9ef14 updated usage of programs in readme 5 years ago
Flavien Haas 226520e209 simplified cli usage of server 5 years ago
Flavien Haas 90872c8f7b changed a variable in display 5 years ago
Flavien Haas 2313b6799d added commentary on default options 5 years ago
Flavien Haas f95f4245a5 simplified cli usage of tracker 5 years ago
Flavien Haas 60e0e3a7da modified usage help 5 years ago
Flavien Haas 3edb0bf9e5 aide tracker 5 years ago
Louis Royer 1355ef14b1 Fix #40
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
5 years ago
Louis Royer 275eb165b1 Refactoring tracker + server 5 years ago
Louis Royer d1d7993864 Use generics 5 years ago
Louis Royer ef5484566e Classes abstraites pour le Serveur
Fix #40
5 years ago
Louis Royer 33f1829cdc Update Jenkinsfile to add tracker.jar generation
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
5 years ago
Louis Royer 5f48c9cbc1 Fix #27 (#64)
Fix #27
- [x] Faire un thread qui tous les X secondes (configurable) va comparer les fichiers dispo avec la liste et mettre à jour (penser à le logger). La mise à jour peut s’effectuer en faisant juste une REGISTER REQUEST.
- [x] Télécharger dans le même dossier que celui où on seed
- [x] Mettre les logs dans un dossier pas partagé

Co-authored-by: Louis <louis.royer@univ-tlse3.fr>
5 years ago
Louis Royer e0dca481fb Merge pull request 'tracker' (#48) from tracker into etape4
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good Details
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
Ajout du tracker, correction de bugs, et documentation.
5 years ago
Louis Royer 3f21797b09 Client now asks servers to tracker ! 5 years ago
Louis Royer 683529b21c Add javadoc on some methods 5 years ago
Louis Royer ad2b796071 Fix tcp 5 years ago
Louis Royer 3387b90b14 HostItems dans le server 5 years ago
Louis Royer cc06ccc334 Bind sur localhost 5 years ago
Louis Royer 9b6258afd3 Fix warnings / close scanners 5 years ago
Louis Royer a2f505c167 Add Register/Unregister 5 years ago
Louis Royer 07d9276232 Changes in protocol
À implémenter: Register + Unregister dans protocolP2P.

Encore des erreurs:
- [UDP] ICMP Port unreachable, c’est parce qu’on essaie de
se connecter à un port qui est fermé. c’est pour ça qu’il faut donner le
port dans register et dans unregister (sinon on a le mauvais HostItem).
- [TCP] une autre erreur que je corrigerai demain
5 years ago