Commit Graph

33 Commits

Author SHA1 Message Date
17ms
572c1e7468 simplified common utils 2023-05-25 02:20:56 +03:00
17ms
a592528fee redesigned comms & crypto modules 2023-05-25 02:05:22 +03:00
17ms
6b3f466b3c arg groups & formatting 2023-05-22 04:54:49 +03:00
17ms
213dd3124f clap parsers for ips & paths 2023-05-06 20:36:46 +03:00
17ms
63de6d49cc finally fixed 772644f (2/2) completely 2023-05-06 03:39:36 +03:00
17ms
e1af665a65 split 2 of 772644f, debugging ci 2023-05-01 16:34:53 +03:00
17ms
f8e2806406 empty socket error propagation 2023-05-01 16:15:12 +03:00
17ms
0bc1ec8a9a split 1 of 772644f, debugging ci 2023-05-01 13:52:54 +03:00
17ms
573a2a44a1 Revert "less unwraps"
This reverts commit 772644fa5d.
2023-05-01 04:05:36 +03:00
17ms
c646cc7136 clap skeleton 2023-05-01 03:51:23 +03:00
17ms
772644fa5d less unwraps 2023-05-01 02:58:20 +03:00
17ms
be7ac79ab1 cleaned project structure 2023-05-01 01:40:14 +03:00
17ms
4aa5734b7f ip fetch with ureq & simplified params 2023-05-01 01:35:57 +03:00
17ms
2349a74985 replace temp solution with Arc<T> 2023-04-22 01:32:52 +03:00
17ms
b8e6f81338 pre-commit hook for fmt & clippy 2023-04-12 03:42:58 +03:00
17ms
66dec81364 keygen to crypto module & fixed CI branch naming 2023-04-11 23:26:50 +03:00
17ms
adad15aefa updated docs (rename) 2023-04-01 20:28:38 +03:00
17ms
845cb46881 major rewrite implementing new features 2023-04-01 20:02:13 +03:00
17ms
3c3cb50c86 base64 encode payloads (allows the use of msg delimiters) 2023-03-29 20:20:47 +03:00
17ms
e5b038dc91 include plaintext nonce to sent packets 2023-03-23 03:22:30 +02:00
17ms
f7a15623c7 skeleton for new communications module 2023-03-22 19:30:41 +02:00
17ms
6a3c4e736c changes to module visibility 2023-03-20 11:10:23 +02:00
17ms
7e056f2711 crypto module with EDH & AES-GCM 2023-03-19 15:33:37 +02:00
17ms
5ecb1676ea minor rename, accurate variable names 2023-03-08 01:45:29 +02:00
17ms
aa8402b28c fixed minor typos 2023-03-02 17:44:40 +02:00
einisto
ea2b5fcca1 Correct address binding 2022-08-12 00:44:07 +03:00
einisto
35fb797c95 Key-based authentication & critical fix to server's async behaviour
* 8 character long alphanumeric key authentication (server-side)
* Modified integration test to skip the previously mentioned key authentication
* Fixed a previously made typo, which caused the server to await until a single
  client's connection was done
* Simplified the structure of client.rs & server.rs a lot, also improved comments
* Confirm client's connection request with SYN
* Version bump, v0.2.0 => v0.3.0
2022-07-29 17:24:20 +03:00
einisto
c933339771 File selection based on stdin
* Spawn to threads as a client to handle stdin (blocking) &
  connection/transfer
* Input from stdin gets transfered to connection-thread via MPSC-channel
* Included a new flag (-a) to skip stdin and instead download all
  available files from the host
* Removed earlier typos
2022-07-26 22:08:31 +03:00
einisto
9b6965933e Removed panics
Replaced panics with errors, so from now on the server won't crash even if connection with one individual client would fail
2022-07-17 19:07:22 +03:00
einisto
530e33867b Better req handling & reading
* Fixed old typos
* Fixed problem caused by empty data folder
* Included newlines to requests to separate individual messages
2022-07-16 05:28:54 +03:00
einisto
44ef3d8db1 Single binary structure & integration tests
* Moved server & client into single binary
* Integration tests
* Server timeout
* General argument parsing
* Version bump
2022-07-15 16:18:03 +03:00
einisto
32ed133e21 CLI args
* Client: target IP, fileroot (defaults to "./output/", still requires
fixing)

* Server: host port (defaults to 8080), fileroot (defaults to "./data/",
  still requires fixing), buffersize (defaults to 8192/64Kb), local
  (flag to run only locally @localhost)
2022-07-11 21:10:05 +03:00
einisto
02f7d74267 Initial commit 2022-07-10 22:16:50 +03:00