Commit Graph

26 Commits

Author SHA1 Message Date
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
17ms
d96621cc8b manually update dependencies 2023-03-02 16:47:47 +02:00
dependabot[bot]
3b9abce959
Bump tokio from 1.20.3 to 1.20.4 (#2)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.3 to 1.20.4.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.3...tokio-1.20.4)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 16:33:32 +02:00
Arttu Einistö
0230abaf86
Merge pull request #1 from 17ms/dependabot/cargo/tokio-1.20.3
Bump tokio from 1.19.2 to 1.20.3
2023-01-07 00:07:50 +02:00
dependabot[bot]
1191750d58
Bump tokio from 1.19.2 to 1.20.3
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.19.2 to 1.20.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.19.2...tokio-1.20.3)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 21:48:16 +00:00
17ms
e2a1fe4dc8 fixed shields.io links 2022-12-18 15:12:41 +02:00
17ms
a5823e3b04 updated README.md 2022-12-01 20:35:31 +02:00
einisto
537130ee71 Updated README.md 2022-08-18 13:23:33 +03:00
einisto
ea2b5fcca1 Correct address binding 2022-08-12 00:44:07 +03:00
einisto
c45223257c Manually refresh README 2022-07-29 17:24:20 +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
7810f6b38c Improved workflows
More of this bullshit devops
2022-07-27 21:26:03 +03:00
einisto
087c99ebd2 Include version to README 2022-07-27 20:46:59 +03:00
einisto
79a47f6fef Release workflow & version bump 2022-07-27 20:46:59 +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
5224e24725 More detailed usage-section 2022-07-17 20:58:45 +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
b8d5fb0f0b README.md & structure.svg 2022-07-16 22:09:28 +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