Commit Graph

102 Commits (4307a199bcad6c65bbddfb0df8b51b6bab8306b8)

Author SHA1 Message Date
_ 2c47be3cf8 Merge remote-tracking branch 'external/2022-05May-25-tls-patch' 2022-05-26 00:52:35 +00:00
_ e03ddc2539 🐛 bug: fix TLS issue in ptth_multi_call_server
PTTH is supposed to pack its own PKI roots. We did this for ptth_server
but a discrepancy in the Cargo.toml files for the PTTH_QUIC server
caused Cargo to accidentally turn off that feature in reqwest
2022-05-25 14:17:02 -05:00
_ 0129f36d2a 🚧 begin building PTTH_DIREC
Working:
- Client sends the first cookie to relay
- Relay learns client's WAN address

Next steps:
- Associate PTTH_DIREC state with QUIC connection so we can track it / destroy
it all at once
- P3 asks P4 to accept PTTH_DIREC connection
2021-10-11 01:59:08 +00:00
_ 34873dff43 allow `0` to mean "The OS should pick an available TCP port for us to listen to" 2021-10-10 20:42:17 +00:00
_ bfb96e2475 🚨 clippy warnings 2021-10-10 19:39:50 +00:00
_ de248f2382 🚨 cargo check warning 2021-10-10 18:32:12 +00:00
_ 1a775622cf 🐛 bug: fix compile bugs for tests 2021-10-10 18:24:35 +00:00
_ e4285ec17d 🐛 bug: fix crash when trying to open the same port twice 2021-10-10 18:17:50 +00:00
_ baa5044186 ♻️ refactor: remove redundant var 2021-10-10 18:12:36 +00:00
_ e8bb7ab098 🔊 improve error handling when opening / closing ports 2021-10-10 18:08:25 +00:00
_ 68eb6f911b 🚨 clean up clippy warnings 2021-10-10 17:22:04 +00:00
_ c002665f6c ♻️ refactor: use the code from client_proxy instead 2021-10-10 17:14:32 +00:00
_ c2caeb405c ♻️ refactor 2021-10-10 16:58:12 +00:00
_ a3b62b012d ♻️ refactor 2021-10-10 16:56:12 +00:00
_ 6fbe35379b ♻️ refactor 2021-10-10 16:48:25 +00:00
_ 88fab23871 ♻️ refactor 2021-10-10 16:36:06 +00:00
_ a906472add ♻️ refactor: clean up client to match the end server style 2021-10-10 16:33:14 +00:00
_ fc6a9c9e1e fix P2 and P4 to use the default cert path and print the client port for easier testing 2021-10-10 16:23:21 +00:00
_ 2b60396a26 start adding graceful shutdown to the end server
I think it only works if there are no streams running. So, might want to
double-check this before it goes into prod
2021-10-10 16:18:02 +00:00
_ a2d4ae81e0 ♻️ refactor 2021-10-10 15:19:48 +00:00
_ 953254e550 ♻️ refactor: continue extracting end server struct 2021-10-10 14:49:14 +00:00
_ ee31d105c9 🚨 fix cargo check warnings 2021-10-10 14:40:18 +00:00
_ 35cc1d49b7 ♻️ refactor: begin extacting a struct for the end server 2021-10-10 14:36:01 +00:00
_ f44613540e add the multi-call server
This exe can act as both a PTTH and PTTH_QUIC end server.
It's only 17 MB, which is a big improvement over the 15 + 15 for shipping both servers as their own exes
2021-10-02 18:13:14 +00:00
_ 97fc2c74d4 ♻️ refactor: extract PTTH_QUIC end server to a module in the PTTH_QUIC lib 2021-10-02 17:39:25 +00:00
_ da10ad28dc add `--cert-url` to end server too 2021-10-01 12:44:20 -05:00
_ 3a4d7c934e move cert output into a subdir so I can break it out into a Docker volume 2021-10-01 10:44:51 -05:00
_ 7408d41d47 Revert "🚧 wip"
This reverts commit 05ba4822f8.
2021-10-01 10:41:44 -05:00
_ 05ba4822f8 🚧 wip 2021-09-10 16:02:36 -05:00
_ 16bde3a2cf 🚧 wip: working on a way to make P2 optional 2021-09-10 15:36:03 -05:00
_ e1da97a517 add `--debug-echo` option for P4 end servers to run a simulated P5 TCP echo server
This makes it possible to debug with only 4 processes instead of 5.
2021-09-10 14:16:38 -05:00
_ d9949f3f68 working on manual test plans for PTTH_QUIC 2021-09-10 12:42:46 -05:00
_ f26748035f the HTTP server now lists which end servers are connected 2021-09-10 12:30:12 -05:00
_ 5ffdb5800d add HTTP server to the relay server for debugging 2021-09-10 12:08:15 -05:00
_ f867f32927 Merge remote-tracking branch 'origin/main' into main 2021-09-07 17:10:59 -05:00
_ a7aef2d069 📝 2021-07-22 00:16:49 +00:00
_ 1e35e9c18d 🐛 bug: split the GUI client into its own crate
so we can build the other parts without having to set up FLTK
2021-07-22 00:15:17 +00:00
_ 67e74169be ♻️ refactor: extract ForwardingInstance from `client_gui` 2021-07-21 23:28:42 +00:00
_ 320355ca28 🔊 bump a couple things back up to debug 2021-07-21 23:15:57 +00:00
_ a52850e43c 📝 2021-07-21 23:15:51 +00:00
_ 2f80c40c1d 📝 todo 2021-07-20 02:38:31 +00:00
_ 49d1095440 🚧 patch out FLTK so the relay can build 2021-07-19 09:53:08 -05:00
_ eeadea6bc0 allow 3 ports to be forwarded for test purposes
Later it would be some larger number, with some better GUI.
2021-07-19 02:37:09 +00:00
_ 16b86ff45c ♻️ refactor 2021-07-19 02:28:18 +00:00
_ 97ef6d7fce 🚧 working on a few things 2021-07-19 02:11:13 +00:00
_ 27106de4e4 read client and server ports from GUI 2021-07-19 01:56:42 +00:00
_ 34c9e5e7a1 🐛 bug: with some complication, I was able to make the GUI close the port properly 2021-07-19 01:46:06 +00:00
_ 5163d51cbd 🚧 the GUI can forward a port, but it can't seem to stop forwarding it 2021-07-19 00:25:25 +00:00
_ 79967fbf3f making a GUI for the client proxy 2021-07-19 00:01:46 +00:00
_ 2a58d86b5c 🐛 bug: use Result 2021-07-18 23:16:44 +00:00