Commit Graph

19 Commits

Author SHA1 Message Date
Eric Zhang 6512ca4770 chore: Release bore-cli version 0.5.0 2023-04-27 22:02:18 -04:00
Eric Zhang d630b47d38 Update dependencies 2023-04-27 21:55:44 -04:00
Eric Zhang 0860c6e018
Use random ports when port number is 0 (#79)
* Use random ports when port number is 0

* Add support for --max-port CLI option

* Fix typo

* Fix another typo

* Update README
2023-04-27 21:48:47 -04:00
Eric Zhang 3bf7a665c1 (cargo-release) version 0.4.1 2022-11-11 01:14:42 -05:00
Eric Zhang d3d5d434ad Update dependencies, including clap v4
Also fix Clippy lints for rustc 1.65 along the way.
2022-11-11 01:08:50 -05:00
Eric Zhang 045324d7dc Bump version to 0.4.0 2022-04-22 18:14:05 -04:00
Prasanth 9cd43f458a
use framed codecs to avoid unbounded buffer (#33)
* using stream

* fix tests

* 💄

* 💄 fix review comments

* clean up buffered data

* 💄 fix review comments

* Refactor Delimited to be its own struct

* Add very_long_frame test to ensure behavior

Co-authored-by: Eric Zhang <ekzhang1@gmail.com>
2022-04-21 23:48:38 -04:00
Eric Zhang e25f021505 Bump version to 0.3.0 2022-04-14 15:24:09 -04:00
Basti Ortiz b045d8028e
Deps: minimize Tokio features (#25)
* Deps: use specific Tokio features

* Deps: run `cargo update`

* Refactor: move CLI-parsing outside Tokio runtime

* Fix: use `parse` over `try_parse`

Clap does special things behind the scenes before it exits.

* Refactor: use `tokio::main` macro for convenience
2022-04-14 14:39:46 -04:00
Eric Zhang 634af3f6af Fix CI Docker build and bump version to 0.2.3 2022-04-10 23:27:26 -04:00
Eric Zhang f6bd20a508 Edit README and bump version to 0.2.2 2022-04-10 23:20:23 -04:00
Eric Zhang b0bfd52707 Bump version to 0.2.1 2022-04-09 02:55:52 -04:00
Eric Zhang 526d02d789
Add integration tests for auth and end-to-end proxying (#4)
* Add authentication handshake tests

* Add basic proxy test

* Add mismatched secret failure test

* Add a failure test for invalid addresses
2022-04-09 02:54:52 -04:00
Eric Zhang c1efefeddf Update version to 0.2.0 2022-04-08 04:18:21 -04:00
jtroo d5089cab2a
Add optional secret for authenticating clients (#1)
* Add optional secret for authenticating clients

* Add server challenge to authentication

* Refactor and simplify code, reduce dependencies

* Update README to describe HMAC authentication

Co-authored-by: Eric Zhang <ekzhang1@gmail.com>
2022-04-08 04:13:31 -04:00
Eric Zhang 6169d54012 (cargo-release) version 0.1.1 2022-04-06 03:10:28 -04:00
Eric Zhang 599926d19c Implement the rest of the bore client 2022-04-06 02:08:01 -04:00
Eric Zhang fe1c8ad0e9 Implement shared protocol and server 2022-04-06 01:08:35 -04:00
Eric Zhang be7d75cdba Fix some packing and documentation things 2022-04-03 23:44:36 -04:00