Commit Graph

167 Commits

Author SHA1 Message Date
77655cb828 Add DENIED protocol element 2020-03-27 18:00:06 +01:00
d9c4c8ba40 Fix off by 1 lengths; fix debug color 2020-03-27 17:40:58 +01:00
d6fbfa6683 Update Payload and protocolP2P packet to allow ratio 2020-03-27 17:10:09 +01:00
5fa160d98d Add classes for ratio 2020-03-27 16:59:17 +01:00
c5e8a7df39 Changes to LoadRequest 2020-03-27 16:22:42 +01:00
230092ab2a Update protocol.md
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
Fix #42
2020-03-25 14:05:48 +01:00
c3b4d0660d Fix #82 (#85)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
Fix #82
2020-03-25 13:32:34 +01:00
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>
2020-03-25 13:24:56 +01:00
07cecf2fab Merge pull request 'Étape 4' (#46) from etape4 into master
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-24 17:42:56 +01:00
e0bf3782c0 Merge pull request 'clitracker' (#79) from clitracker into etape4
Fix #80
2020-03-24 17:34:20 +01:00
7253a34e49 Refactoring 2020-03-24 17:32:33 +01:00
64032e84c4 finished work 2020-03-24 16:04:10 +01:00
387a487d83 reintroduce usage of arguments in serverP2P 2020-03-24 14:00:24 +01:00
702fb399c3 return testport in method 2020-03-24 12:11:06 +01:00
d4bcff6f8c retrieve support for agurments 2020-03-24 11:32:42 +01:00
d0eff567f5 added support for tools/testlegitip 2020-03-23 18:44:23 +01:00
9c5bfc5430 added a method to test if hostnames are legitimate 2020-03-23 18:44:23 +01:00
a0cbd9ef14 updated usage of programs in readme 2020-03-23 18:44:23 +01:00
226520e209 simplified cli usage of server 2020-03-23 18:44:23 +01:00
90872c8f7b changed a variable in display 2020-03-23 18:44:23 +01:00
2313b6799d added commentary on default options 2020-03-23 18:44:23 +01:00
f95f4245a5 simplified cli usage of tracker 2020-03-23 18:44:23 +01:00
60e0e3a7da modified usage help 2020-03-23 18:42:35 +01:00
3edb0bf9e5 aide tracker 2020-03-23 18:42:35 +01:00
1355ef14b1 Fix #40
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-22 16:55:05 +01:00
275eb165b1 Refactoring tracker + server 2020-03-22 14:53:23 +01:00
d1d7993864 Use generics 2020-03-22 13:44:08 +01:00
ef5484566e Classes abstraites pour le Serveur
Fix #40
2020-03-22 12:24:59 +01:00
33f1829cdc Update Jenkinsfile to add tracker.jar generation
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-22 09:38:56 +01:00
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>
2020-03-21 22:30:42 +01:00
e0dca481fb Merge pull request 'tracker' (#48) from tracker into etape4
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Ajout du tracker, correction de bugs, et documentation.
2020-03-21 15:57:20 +01:00
3f21797b09 Client now asks servers to tracker ! 2020-03-21 15:48:18 +01:00
683529b21c Add javadoc on some methods 2020-03-21 14:29:29 +01:00
ad2b796071 Fix tcp 2020-03-20 18:28:57 +01:00
3387b90b14 HostItems dans le server 2020-03-20 18:28:57 +01:00
cc06ccc334 Bind sur localhost 2020-03-20 18:28:57 +01:00
9b6258afd3 Fix warnings / close scanners 2020-03-20 18:28:57 +01:00
a2f505c167 Add Register/Unregister 2020-03-20 18:23:59 +01:00
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
2020-03-20 18:23:59 +01:00
6d7fabaf1c Add tracker 2020-03-20 18:23:59 +01:00
5c89bc6957 Add protocol elements for tracker
Needs to implements tracker now.
2020-03-20 18:23:59 +01:00
f1beed30e1 Update doc 2020-03-20 18:23:59 +01:00
f0988e3af3 Add sequence diagrams 2020-03-20 18:23:59 +01:00
d1ae5960a6 Update protocol for #16 2020-03-20 18:23:59 +01:00
ab7af56138 Merge pull request 'refactor servermanagemntudp methods' (#53) from refactorServerManagement into etape4 2020-03-20 18:11:56 +01:00
223e512684 refactor servermanagemntudp methods
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good
2020-03-20 17:03:30 +01:00
1bf7cf9ce2 Merge pull request 'cli' (#52) from cli into etape4
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-20 16:42:22 +01:00
879164304a added server help argument
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good
2020-03-20 16:39:27 +01:00
cfc24354b9 added help argument 2020-03-20 15:57:09 +01:00
8d8ed294e8 Merge branch 'loggerclient' of flavien/Projet_JAVA_P2P_STRI2A into etape4
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-19 17:54:39 +01:00