Commit Graph

73 Commits

Author SHA1 Message Date
a9e22d5fae Fix number of args 2020-04-14 15:34:52 +02:00
f8ab972f34 Clearer denomination for public versus binding server params 2020-04-14 15:34:52 +02:00
613766ee46 Add a way to use with nat 2020-04-14 15:34:52 +02:00
e2bdb0dcd1 Fix udp sending ratio for tracker instead of server used
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-04-13 22:04:14 +02:00
a783164922 Fix #89 (#121)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #89
2020-04-10 00:30:20 +02:00
1d5a4b2028 new tools to search files
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-04-09 16:12:05 +02:00
7a263fc9d8 Fix #87 (#117)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #87
2020-04-09 16:10:25 +02:00
23586561a0 Split ClientManagement
Some checks are pending
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master Build started...
into ClientInterface and ClientManagement
2020-04-09 11:45:40 +02:00
f0f18d64b5 Fix #112 Fix #107 (#113)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #112 Fix #107
2020-04-03 22:04:20 +02:00
58add14fa9 Print progress bar less frequently
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-04-02 16:36:04 +02:00
039c3ff2b0 Fix #17 (#104)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #17
2020-04-02 15:58:10 +02:00
9d4c98c466 Fix crash when no server connected to tracker yet
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-04-02 02:29:17 +02:00
4ba3055289 Fix #57 2020-04-02 02:24:46 +02:00
654758c14b Fix #58 (#99)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #58
2020-04-01 23:26:54 +02:00
c2d05aeeb9 programs quit when ports entered are wrong (#97)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #93.
- Programs quit when ports entered are wrong.

Fix #94.
- Server doesnt ask to open his home directory when arguments are passed.
- Tracker doesnt ask to open his home directory when arguments are passed.

Co-authored-by: Louis Royer <louis.royer@univ-tlse3.fr>
Co-authored-by: flavien <flavien.haas@outlook.fr>
Co-authored-by: js_auge <auge1@hotmail.fr>
2020-03-30 18:55:31 +02:00
2cc2868450 Added functionnality to select a file to download by a number (#88)
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
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>
2020-03-30 14:58:17 +02:00
e02386453b Update server to punish clients
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
2020-03-28 19:43:33 +01:00
f33b91dccd Ratio implementation for client 2020-03-28 16:31:24 +01:00
c81f5d2e5a Fix #41
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
2020-03-27 18:41:27 +01:00
c5e8a7df39 Changes to LoadRequest 2020-03-27 16:22:42 +01:00
7253a34e49 Refactoring 2020-03-24 17:32:33 +01:00
64032e84c4 finished work 2020-03-24 16:04:10 +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
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
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
3f21797b09 Client now asks servers to tracker ! 2020-03-21 15:48:18 +01:00
3387b90b14 HostItems dans le server 2020-03-20 18:28:57 +01:00
9b6258afd3 Fix warnings / close scanners 2020-03-20 18:28:57 +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
cfc24354b9 added help argument 2020-03-20 15:57:09 +01:00
c5f63795d0 added logs to the client
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape4 This commit looks good
2020-03-19 17:49:39 +01:00
cc8997b65b Merge branch 'exceptionsheritage' into etape4 2020-03-19 14:07:56 +01:00
740e25546a refractor exception -> localexception
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-19 13:48:39 +01:00
977ff22300 Add missing javadoc
This closes #36
2020-03-19 13:30:49 +01:00
9369176432 Fix server start
Fix printing
2020-03-18 18:53:40 +01:00
cb86478764 Merging client and server 2020-03-18 18:08:59 +01:00
87013ceea8 tcp multiple (#32) 2020-03-18 16:29:29 +01:00
4c7fcab67d Improvement multithreads
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-16 16:38:23 +01:00
733767c4de Add mulithreaded UDP client 2020-03-16 15:03:04 +01:00
f88f5b1d40 Add multiple servers choice, but dl only from one
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
Je suis en train de faire en sorte qu’on télécharge depuis plusieurs
2020-03-11 20:31:13 +01:00
js
1ec120c373 add tools to get server list 2020-03-10 23:58:16 +01:00
44b96d9f2c Refactoring 2020-03-05 16:38:33 +01:00
9493a8cb30 Add hashsum 2020-03-04 22:29:54 +01:00
e947fc7c46 fixes #18 2020-03-03 19:30:04 +01:00
11901db822 Fixes #19, Fixes #13 2020-03-03 16:39:19 +01:00
e6d950d16b client is able to close the connection, but the server IS NOT 2020-03-02 15:31:37 +01:00
11fcaa25ea Add TCP support
Fixes #7
2020-02-29 17:01:52 +01:00