Commit Graph

34 Commits (0129f36d2a9ad2d8787d5dc1e4c89557dea10968)

Author SHA1 Message Date
_ 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
_ 68eb6f911b 🚨 clean up clippy warnings 2021-10-10 17:22:04 +00:00
_ ee31d105c9 🚨 fix cargo check warnings 2021-10-10 14:40:18 +00: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
_ 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
_ 56a3e6299b change server ID from `u8` to a string 2021-07-18 22:22:48 +00:00
_ 5bfb99f383 change client ID from a `u8` to a UTF-8 string up to 128 bytes long 2021-07-18 21:18:49 +00:00
_ 4728e7e35c ♻️ refactor: replace `u8` with PeerId 2021-07-18 20:32:49 +00:00
_ fed401f622 ♻️ refactor: all protocol code is in the protocol mod now 2021-07-18 20:23:20 +00:00
_ 927ddecf97 ♻️ refactor 2021-07-18 20:11:11 +00:00
_ 75a4515a70 ♻️ refactor: move the last request-response pair into protocol mod
still need to move a couple handle pairs
2021-07-18 19:45:19 +00:00
_ 1634f7a00d ♻️ refactor: server proxy is now using the protocol module 2021-07-18 19:38:54 +00:00
_ b1af608ab0 ♻️ refactor: start moving protocol into its own module 2021-07-18 17:57:54 +00:00
_ e6e8f9edf8 📦 fix up stuff and dump cert to stdout as Base64 2021-07-18 00:33:01 +00:00
_ fa8f02999c this version was able to forward VNC over LAN.
But I can't run it on my server because it's built with a really new libc.
uuugggghhhh
2021-07-17 23:58:11 +00:00
_ 57091ddaab ♻️ refactor: change up the protocol so that everything has a distinct 4-byte message 2021-07-17 23:14:50 +00:00
_ d3675473ed 📝 document the fixed-length control protocol that I need to replace soon 2021-07-17 22:27:05 +00:00
_ 26135471cb 🔊 counting active QUIC connections for P3 2021-07-17 22:03:55 +00:00
_ 24d04f2b1f ♻️ refactor: move Mutex inside RelayState 2021-07-17 21:46:17 +00:00
_ 4f3424f482 🔇 drop some debugs to traces 2021-07-17 21:42:51 +00:00
_ 82e2aae3d2 ♻️ refactor: reduced maximum indentation 2021-07-17 08:02:53 +00:00
_ 67fc89e640 ♻️ refactor 2021-07-17 07:57:55 +00:00
_ b75b7c5a74 ♻️ refactor
Remove the old one-shot code and extract `handle_quic_connection`
2021-07-17 07:51:47 +00:00
_ 5417fbc77b 🚧 P3 can now do multiple connections in series
And it doesn't matter if P2 or P4 connects first.
However, P2 and P4 are still limited to one connection each. Then they quit
gracefully.
2021-07-17 07:43:21 +00:00
_ 7406587d30 🚧 P3 can now tell apart P2 and P4 peers 2021-07-17 07:11:34 +00:00
_ 1024c15fbb 🚧 2021-07-17 06:50:54 +00:00
_ ce817eab1a 🚧 sketching out the request-response control protocol 2021-07-17 06:43:14 +00:00
_ b344e3f8ee ♻️ refactor 2021-07-17 06:26:06 +00:00
_ 937cc65c70 add end server 2021-07-17 00:58:35 +00:00