Commit Graph

24 Commits

Author SHA1 Message Date
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