Commit Graph

648 Commits (1f398462b788af8d0fae011416b9f1d6f735cef0)

Author SHA1 Message Date
_ 9e8e44eae0 📝 working on draft readme 2021-10-03 15:53:38 -05:00
_ 98b43d1ba2 guess MIME for JavaScript files so that `ptth_file_server` can serve Jet Racing 4 locally.
Firfox has a bunch of odd security features that I only sometimes understand.
Among them is that it won't load JS files without the `content-type` header,
and it also disables a lot of features for the `file://` scheme. Which I think
is a shame. There's probably a good reason they do this, but I'm not aware of one.

So now you can use PTTH's file server to host Jet Racing 4.
2021-10-02 20:03:03 +00:00
_ 2972e85671 use rust_embed and default configs so you can call `ptth_file_server` from any working dir.
This is like Python's old `-m SimpleHTTPServer` but better because I wrote it.
2021-10-02 19:49:19 +00:00
_ c53ed0d2bd ⬆️ newest stable toolchain, plus `cargo update` 2021-10-02 19:28:20 +00:00
_ f7b78b8a12 ⬆️ update to blake3 1.0.0 to de-dupe the cfg-if depend 2021-10-02 19:13:46 +00:00
_ b8d07c526a add ptth_file_server to ptth_multi_call_server.
Even with all 3 servers it's only 18 MB - Most of the big code is shared.
2021-10-02 19:07:55 +00:00
_ 4911a37887 add ptth_file_server depend to ptth_multi_call_server 2021-10-02 19:00:13 +00:00
_ 4c79af3f4b ♻️ refactor: clean up `.exe` handling and add a place for `ptth_file_server` 2021-10-02 18:58:27 +00:00
_ 4329562aa3 refactor and test the multi-call code 2021-10-02 18:47:10 +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
_ 30f8bbb0aa ♻️ refactor inject CLI args instead of reading them in main 2021-10-02 17:31:06 +00:00
_ 0b10737403 ♻️ refactor: move ptth_server's main into its library so I can make a busybox-style multi-use binary 2021-10-02 17:26:56 +00:00
_ b8c370a0a6 📝 readme draft 2021-10-02 16:55:04 +00:00
_ c5aadbe632 📦 add PTTH_QUIC end server to PTTH subpackage 2021-10-01 12:50:24 -05:00
_ da10ad28dc add `--cert-url` to end server too 2021-10-01 12:44:20 -05:00
Trisha f7bd179bba add `--cert-url` to GUI client 2021-10-01 12:19:23 -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
_ 584654a6b4 📝 testing plan for PTTH_QUIC 2021-09-10 11:50:45 -05:00
_ f867f32927 Merge remote-tracking branch 'origin/main' into main 2021-09-07 17:10:59 -05:00
_ 1abf1d194c 🚧 maybe HTTP Basic Auth? 2021-08-29 20:56:32 -05:00
_ 5376e8bba0 🚧 wip: add placeholder for client tokens 2021-08-29 20:17:25 -05:00
_ 324c1f7cd6 ♻️ refactor: remove pointless `Option <>` for file server root 2021-08-29 19:49:32 -05:00
_ 259f71b478 run test relay on TCP 40000 so tests can pass
even if a real relay is on TCP 4000
2021-08-29 19:27:43 -05:00
_ 228a9b4262 🔊 scraper GETs have their own type of audit event now 2021-08-27 20:28:34 -05:00
_ a454585d9c 📝 document how scraper keys work 2021-08-27 20:17:59 -05:00
_ caaed8a5e1 remove 30-day limit on scraper keys 2021-08-27 18:34:38 -05:00
_ 49c1a2fbd7 add wordlist for upcoming plan 2021-08-07 13:46:08 +00:00
_ 43efb43243 🚧 2021-07-27 03:19:43 +00:00
_ 918ea8c778 🔊 log error on URL routing failures 2021-07-27 03:17:26 +00: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