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
_ 1a775622cf 🐛 bug: fix compile bugs for tests 2021-10-10 18:24:35 +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
_ ee31d105c9 🚨 fix cargo check warnings 2021-10-10 14:40:18 +00:00
_ 16bde3a2cf 🚧 wip: working on a way to make P2 optional 2021-09-10 15:36:03 -05:00
_ 320355ca28 🔊 bump a couple things back up to debug 2021-07-21 23:15:57 +00:00
_ 79967fbf3f making a GUI for the client proxy 2021-07-19 00:01:46 +00:00
_ 12fdd4c842 client now chooses the TCP port for the server to forward. 2021-07-18 22:55:32 +00: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
_ 69c4afe456 ♻️ refactor: extract TCP-QUIC relay connection 2021-07-18 18:58:59 +00:00
_ b64042043b ♻️ refactor: move all protocol stuff out of the client proxy 2021-07-18 18:26:19 +00:00
_ d265aa3cd9 ♻️ refactor: start moving protocol chunks out of exe modules 2021-07-18 18:03:29 +00:00
_ b1af608ab0 ♻️ refactor: start moving protocol into its own module 2021-07-18 17:57:54 +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
_ 4f3424f482 🔇 drop some debugs to traces 2021-07-17 21:42:51 +00:00
_ 3442bf220b 🐛 bug: P3 no longer closes when the PTTH connection closes 2021-07-17 20:36:29 +00:00
_ c8e44bb740 🐛 bug: P2 no longer exits when P1 closes the connection 2021-07-17 20:07:26 +00:00
_ fe25ff3d34 ♻️ refactor 2021-07-17 20:02:16 +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
_ 73d7551215 modify end server to connect to a local TCP server
Tested with netcat on each end and it works great.
2021-07-17 03:11:01 +00:00
_ c4cd8cf1aa modify client to accept connections from a local TCP client 2021-07-17 02:39:08 +00:00
_ fe2040706b add QUIC client 2021-07-17 01:10:30 +00:00