Commit Graph

25 Commits

Author SHA1 Message Date
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 36a56c0d4a Run CI workflow on both push and pull_request 2022-04-14 14:33:31 -04:00
Antonio Mika 99fc4f7ddb
Add a configuration to allow forward to a different local host (#15)
* Add a configuration to allow forward to a different local host

* Minor documentation / formatting change

Co-authored-by: Eric Zhang <ekzhang1@gmail.com>
2022-04-11 23:45:07 -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
Jihchi Lee c154a846f6
Add a Dockerfile for building a container image (#8)
* Add a Dockerfile

* Reduce image size from ~75MB to ~6MB

* Add Dockerignore and README documentation

* Add Docker build action to CI

Co-authored-by: Eric Zhang <ekzhang1@gmail.com>
2022-04-10 23:15:15 -04:00
Ariz Zubair d4e7c42949
Minor grammar fix. (#5) 2022-04-10 14:28:42 -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
Orhun Parmaksız 23db4047ff
Add LICENSE (#3) 2022-04-08 16:42:58 -04:00
Eric Zhang 2d0dcf9889
Improve stability by exiting immediately on common errors (#2)
* Kill connections immediately on missing or close

* Add timeout to initial protocol messages

* Add low-level tracing for JSON messages

* Add timeout to initial TCP connections
2022-04-08 15:55:54 -04:00
Eric Zhang c1efefeddf Update version to 0.2.0 2022-04-08 04:18:21 -04:00
Eric Zhang e84bd34bd9 Fix failing doc test 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 ebae01417d Enable CI for all branches 2022-04-07 14:24:02 -04:00
Eric Zhang 6169d54012 (cargo-release) version 0.1.1 2022-04-06 03:10:28 -04:00
Eric Zhang f00281f2dc Fix minor bug in server error handling 2022-04-06 03:10:02 -04:00
Eric Zhang 9a8fc8ec44 Fix CI badge and add GIF demo to README 2022-04-06 03:06:36 -04:00
Eric Zhang 0f1c93186e Fix minor typos in the README 2022-04-06 02:23:07 -04:00
Eric Zhang 84cf8c7705 Update README with documentation 2022-04-06 02:19:32 -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
Eric Zhang 702c67c4af Add more structure and change intended usage 2022-04-03 21:34:47 -04:00
Eric Zhang 3f4cdef248 Initial commit 2022-04-03 19:58:51 -04:00