Commit Graph

326 Commits (200c07da2f45bde9bad5a4c6c2d911fbbc6059c2)

Author SHA1 Message Date
(on company time) 200c07da2f 🚧 wip: finding a bug. It's in the udp_over_tcp code
When a TCP client disconnects, the rx loop gets confused and goes into an
infinite loop without ever yielding.
2022-12-20 14:40:51 -06:00
(on company time) ce7a539413 🔧 config: add tcp_listen_port to config file 2022-12-19 17:05:39 -06:00
(on company time) 96af820ffb 🚨 remove unused vars 2022-12-19 16:37:54 -06:00
(on company time) 74fb0cbe5a 🐛 bug: patch UDP-over-TCP example 2022-12-19 16:36:38 -06:00
(on company time) 3f4bce85a4 UDP-over-TCP passes okay
Next step is updating the relay and making sure it integrates into (our thing that uses PTTH_QUIC)
2022-12-19 16:25:50 -06:00
(on company time) e3ff600b51 expose count of connected end servers to testing code 2022-12-19 14:58:12 -06:00
(on company time) 0992d76fdc 🚨 remove unused `use` 2022-12-19 14:33:35 -06:00
(on company time) 27ed72b196 test(ptth_quic): add end server --> relay server connection tests 2022-12-19 14:26:50 -06:00
(on company time) 3f0272ed09 👕 refactor: break apart the relay's main fn so we can see which ports it bound 2022-12-19 13:51:37 -06:00
(on company time) 605c15468a 👕 refactor: making PTTH_QUIC more testable 2022-12-19 13:21:46 -06:00
(on company time) 415c8954c1 🚧 wip: setting up testing for PTTH_QUIC 2022-12-19 13:17:22 -06:00
(on company time) 93be903b86 ;loud_sound: report all incoming connections over WebHook, for now 2022-12-16 16:46:30 -06:00
(on company time) 33fe10ee27 🔇 remove this debugging thing 2022-12-16 16:19:50 -06:00
(on company time) 6ba988c2c8 📦 build: fix bug in Dockerfile 2022-12-16 16:13:24 -06:00
(on company time) 0fc99e7c26 set up IP addr nicknames for eventual IP allow-listing 2022-12-16 16:05:29 -06:00
(on company time) 86e5305630 🚧 wip: start making a place for PTTH_QUIC relay server config 2022-12-16 15:43:47 -06:00
(on company time) 5eda2c4288 📦 build: Fix PTTH_QUIC Dockerfile 2022-12-16 14:05:35 -06:00
(on company time) 50332bab69 ⬆️ (ptth_quic_client_gui) FLTK 1.3.24 2022-12-16 13:56:46 -06:00
(on company time) 24dac2cc39 🔊 (ptth_quic relay server) log listen address 2022-12-16 13:56:31 -06:00
(on company time) 996543cecc 🚧 wip: PTTH_QUIC to quinn 0.9.x 2022-12-16 13:49:34 -06:00
(on company time) c13d1f37bf ⬆️ update ptth_quic deps 2022-12-16 13:29:57 -06:00
(on company time) 5a9c301747 🔊 add random IDs for QUIC connection events 2022-12-16 13:25:21 -06:00
(on company time) 91a29abb39 🐛 bug: give up on env var, it wasn't working 2022-12-16 11:23:54 -06:00
(on company time) 9ab3b42e32 👕 refactor: move the webhook task into run_relay 2022-12-16 09:57:38 -06:00
(on company time) b53748b2c4 try sending webhooks from the relay 2022-12-16 09:33:56 -06:00
(on company time) e05c4fa8bf ⬆️ update deps for ptth_relay 2022-12-15 17:24:45 -06:00
(on company time) 80c2ef17be ⬆️ Rust 1.66 2022-12-15 17:04:24 -06:00
(on company time) f9e10e0f64 use udp_over_tcp for both PTTH_QUIC end server and relay server
- `cargo run -p ptth_quic --bin ptth_quic_relay_server -- --tcp-listen-port 4440`
- `cargo run -p ptth_quic --bin ptth_quic_end_server -- --use-udp-over-tcp true --relay-addr 127.0.0.1:4440 --server-id my_server`
- `cargo run -p ptth_quic_client_gui -- --client-id me`
- `nc -l -p 5900`
- (Open my_server, 5900 in the client GUI)
- `nc 127.0.0.1 50369` (or whatever port the GUI picked)
2022-10-31 13:50:42 -05:00
(on company time) 8a302f3049 👕 refactor: use full address for udp_over_tcp client instead of just port 2022-10-31 13:15:23 -05:00
(on company time) fd3c85fccd add udp_over_tcp server to PTTH_QUIC relay server
maybe it'll work
2022-10-31 13:11:31 -05:00
(on company time) 963631ff96 remove old unused TCP server from PTTH_QUIC relay 2022-10-31 12:55:29 -05:00
(on company time) 036193a19e add udp_over_tcp as dep to ptth_quic 2022-10-31 12:54:46 -05:00
(on company time) b5be7709a3 👕 refactor: extract configs for client and server 2022-10-31 11:36:03 -05:00
(on company time) edd7e8de54 proof of concept for UDP-over-TCP 2022-10-31 11:24:15 -05:00
_ 292ade0f46 Merge /run/media/user/d3de9062-a284-4b94-8900-0c416f57f9ac/projects/ptth 2022-10-26 03:50:51 +00:00
Trisha Lefler 7b9c6c7dc4 Merge branch 'main' of ssh://virtusense-dev.com:2200/Trisha/ptth into main 2022-10-25 10:31:08 -05:00
Trisha Lefler 89d4fdbcc3 🔊 add error message for config file 2022-10-25 10:28:45 -05:00
_ 5843432bfe 🚧 wip: working on the Insecure Chat peer 2022-10-18 04:22:34 +00:00
_ 7b4eeea12c 🚧 wip: messing with UDP multicast 2022-10-18 01:53:55 +00:00
_ 2de0c5d6a7 🚧 wip: working on insecure chat prototype 2022-10-16 22:24:15 +00:00
_ 57d6086ea7 ♻️ refactor: use ptth_diceware for the diceware command in ptth_multi_call_server 2022-10-16 19:59:06 +00:00
_ 5d560b91de ♻️ refactor: extract ptth_diceware to its own crate 2022-10-16 19:53:08 +00:00
_ 9d0bf4c0ba 🐛 bug: update ptth_quic_client_gui to quinn 0.8.x too 2022-10-16 19:44:25 +00:00
_ 1139ba4657 🚧 wip: starting new project, "Insecure Chat" 2022-10-16 19:42:44 +00:00
_ be03300f55 ♻️ refactor: break out most of the relay server into a module
I want an end-to-end test that runs all 5 nodes in 1 process, like PTTH
itself has.
2022-10-09 16:43:50 +00:00
_ 885b9c7892 ⬆️ update to quinn 0.8.x
This seems to fix the strange I/O error I'd been getting, but it's still not
in perfect shape.
2022-10-09 15:30:57 +00:00
_ 2930213398 🚚 change `quic_demo` to `ptth_quic` 2022-10-09 14:19:01 +00:00
_ 099e0fe884 🚧 wip: start moving `prototypes/quic_demo` to `crates/ptth_quic` 2022-10-09 14:11:16 +00:00
_ 76c6ace8a5 🚚 move `ptth_quic_client_gui` under `/crates` 2022-10-08 15:16:21 +00:00
(on company time) 863bbe18e4 ⬆️ update hyper dep and allow HTTP/2 for the relay
This makes it easier for a gateway like Nginx to terminate TLS for a PTTH relay
without needing an entire TCP connection for each connected PTTH server.
2022-09-14 14:54:42 -05:00