Commit Graph

370 Commits (3408feb6194620007e0de80af90a87e842785d33)

Author SHA1 Message Date
_ a980d151fc ⬆️ deps: upgrade everything to Tokio 1.2.0
And pretend I didn't completely goober the Docker build somehow
2021-03-06 21:46:35 +00:00
_ e0f5b229a1 🐳 build: fix Dockerfile 2021-03-06 19:52:04 +00:00
_ 1e42110ae1 ♻️ refactor: extract basic client tests 2021-03-06 19:36:37 +00:00
_ 4838a99288 ♻️ refactor: end_to_end test now uses TestingRelay and TestingServer 2021-03-06 19:30:05 +00:00
_ 8b845b55da ♻️ refactor: extract TestingServer 2021-03-06 19:25:24 +00:00
_ 221732a616 ♻️ refactor: extract TestingRelay 2021-03-06 19:17:42 +00:00
_ 4aa54c32d0 test: add a test that uses debug_proxy 2021-03-06 18:55:05 +00:00
_ 33746d9ace ♻️ refactor: debug_proxy into a lib 2021-03-05 04:03:40 +00:00
_ 27336d8571 add debug_proxy which I can probably use to inject network problems during tests 2021-03-05 03:17:56 +00:00
_ 56a9c0cbeb 🐛 bug: fix missing Git version 2021-02-20 21:34:19 +00:00
_ 6db94d3e4f update: add endless_sink debug tool 2021-02-20 20:25:14 +00:00
_ d3b47d18d1 📦 build: tidy up app_package style deployment 2021-02-20 19:23:00 +00:00
_ aec822ba5f ⬆️ deps: Update to Rust 1.50.0 2021-02-20 19:12:38 +00:00
_ 10465dfb46 🐳 build: set up app package for ptth_relay Docker images 2021-02-20 18:34:57 +00:00
_ 498d69eeb9 update: add throttled endless random garbage 2021-02-20 17:28:39 +00:00
_ 09464c548a update: add endless data source for debugging 2021-02-20 17:08:38 +00:00
_ f53973ddad 🐛 bug: make sure errors are sent to tracing 2021-02-20 16:36:45 +00:00
_ 9a984f5a4e ♻️ refactor: ptth_relay: clean up Handlebars file names 2021-02-20 16:25:30 +00:00
_ 0ffa129937 🚧 wip: add prefix for relay debugging tools 2021-02-20 16:23:12 +00:00
_ b5b6410ff9 update: add bug 2021-02-18 19:08:31 +00:00
_ 43f24e86be 🚧 wip: working on BMC 2021-02-08 22:26:49 +00:00
_ c1fd0edbb2 📦 build: don't print rsync verbose stuff during build 2021-02-01 00:06:22 +00:00
_ 33334afc2b 📦 build: fix determinism in ptth_server builds 2021-01-29 01:12:52 +00:00
_ 2422207d42 📦 build: make build script more machine-friendly 2021-01-28 23:39:59 +00:00
_ 5e18bf8ace update: working on certificates 2021-01-21 23:00:10 +00:00
_ d57fa2e5a4 📦 build: prepare ptth_relay for crates.io 2021-01-20 21:43:20 -06:00
_ 89213ebf8a 📦 build: preparing to publish on crates.io 2021-01-20 21:22:37 -06:00
_ 031b03a13c 🎉 release: bump versions to 1.1.0 for everything in prod
I forgot to set the version in Cargo.toml files for 1.0.0.
I'm not gonna do 0.x versions because this is already live somewhere
and I don't like that 0.x adds complexity to versioning.
2021-01-20 20:49:32 -06:00
_ 2444933122 update: fix Linguist excludes 2021-01-20 20:31:36 -06:00
_ efc90ea29a 📦 build: add a build script just so that everything is in consistent paths 2021-01-20 20:12:04 -06:00
_ 20ee11b4f8 🚧 wip: working on key signing still 2021-01-20 23:24:55 +00:00
_ ddba8953fa 🚧 wip: working on process for a human key signing other keys 2021-01-19 20:58:24 -06:00
_ 02346c3285 ♻️ refactor: switch to Bytes typedef 2021-01-19 19:31:41 -06:00
_ 199aacadd3 ♻️ refactor 2021-01-19 19:10:33 -06:00
_ cc1c7c9229 update: human and machine files working well.
It turns out the bate secret key for machine files already has the pubkey
cached in it by libsodium, so I dropped that.
I'm also going to drop it from the internals, it seems simpler
2021-01-19 19:01:27 -06:00
_ 278d591954 update: add perms warning 2021-01-19 18:22:22 -06:00
_ ce917e7348 update: add `--file` command for debugging artifacts from BMC 2021-01-19 18:16:43 -06:00
_ b0b6c5672c update: improve CA key format
- Save with 0400 perms so PTTH won't accidentally serve them
- Save D-Bus machine ID if possible to detect when keys accidentally change machines
- Add random schema version
2021-01-19 17:59:49 -06:00
_ d7ed2ed931 test: fix tests 2021-01-19 23:27:33 +00:00
_ c40abb0fe6 🚧 wip: I was working on some port-forwarding idea.
It was going to be generic over TCP and use 2 HTTP streams, one each way.
The plan's written down somewhere.
2021-01-19 23:25:24 +00:00
_ f94b40b6b8 🚧 wip: further POC 2021-01-19 23:25:24 +00:00
_ 8d62b29319 update: both the downstream POCs work, with the bogus downstream. 2021-01-19 23:25:24 +00:00
_ 0cb24695d0 🚧 wip: idea for tunneling TCP over HTTP
There's a lot of missing pieces, but the big picture is like this:

- Use 2 completely separate HTTP streams, and try to keep them alive as long
as possible, each in basically half-duplex mode
- Each stream has a long-running PUT and GET, sort of like station307
- Each end has to be terminated by a native app that either connects to a local
TCP server, or acts as a local TCP server
- No clue how it would work for multiple connections on the same port. Poorly,
I guess?
- It's probably gonna run like garbage because we're splitting TCP into
2 TCP streams, and although backpressure might work, the ACKs will be less
efficient. And the congestion control might get confused

My only goal is to tunnel Tracy over it, so that I can have that remotely.
2021-01-19 23:25:24 +00:00
_ 574f660c1a 🚧 wip: can't remember what I was working on 2021-01-19 23:25:24 +00:00
_ 29a6ad20ee 🚧 wip: adding http service to ptth_kv 2021-01-19 23:25:24 +00:00
_ eb927ef80d test: ptth_kv is slower with async, but still fast enough 2021-01-19 23:25:24 +00:00
_ 27f31d0ef4 test: measure performance for KV store idea 2021-01-19 23:25:24 +00:00
_ ce3342d961 ♻️ refactor: splitting into in-mem and on-disk formats, for 'check key' cmd 2021-01-19 23:01:17 +00:00
_ 7b11633015 update: add keygen for root keys 2021-01-19 22:52:02 +00:00
_ 49a30866df 🚧 wip: considering passphrase-protected keys 2021-01-18 20:41:05 -06:00