Commit graph

55 commits

Author SHA1 Message Date
6f906d80a7 Protocol version, async pump, start some testing 2022-12-16 13:57:52 -08:00
763ecd190e Tick up version 2022-11-28 07:03:56 -08:00
abbb30d87b Remove ports when they're unconfigured
This is closer to what I had intended
2022-11-28 07:03:04 -08:00
46c9643ddf Remove unused import 2022-11-28 06:42:51 -08:00
fc75ffcd4e Remove the disconnected screen 2022-11-28 06:41:26 -08:00
dc374f0d20 Change UI to tui 2022-11-27 08:24:01 -08:00
5780b7a4bf Clearly I meant browser. 2022-10-27 13:04:12 -07:00
ebd50c91e9 I'm not sure I ever actually got these to work? 2022-10-26 07:12:59 -07:00
d912db8e28 Fill out Cargo.toml and also LICENSE 2022-10-26 07:11:38 -07:00
efb7ef6929 Starting configuration, probably doesn't work 2022-10-18 11:28:56 -07:00
4470108f3e Very silly README 2022-10-17 20:43:33 -07:00
86ea099b2c Split client and server into modules 2022-10-17 19:57:47 -07:00
a3727812a2 Make a fine distinction between enabled and connected
This is part of remembering which ports should be enabled and which
not; track ports even if they've gone away or between connection and
disconnection, &c.
2022-10-17 19:42:50 -07:00
c6acf52b32 More reliable stderr piping when disconnected 2022-10-17 07:26:27 -07:00
1308f8828a Small tweaks and fixes 2022-10-16 13:34:31 -07:00
20412a4815 Radical simplification
Honestly the new design is so much better
2022-10-16 09:40:42 -07:00
45e39220e2 Wasting more time 2022-10-16 09:30:03 -07:00
93ac35df93 Cleanup
There's a lot here that feels like it should be better given the new design.
2022-10-16 09:23:49 -07:00
1f91fc68ca This comment was stale 2022-10-16 09:15:45 -07:00
4c3c251181 Don't crash when there are no ports 2022-10-16 09:08:29 -07:00
6cc17e7fca Try to make the UI better when unconnected 2022-10-16 08:55:30 -07:00
c412e81b26 Use SOCKS5 proxy instead of multiplexing myself
This got a lot simpler.
2022-10-16 00:31:16 -07:00
3844200118 Enable/disable ports 2022-10-14 11:55:29 -07:00
e184bba39e Cleaner logging and better UI events
Including connected/disconnected events for an even prettier UI
2022-10-14 08:46:42 -07:00
006eba0dfe Open urls 2022-10-12 17:44:36 -07:00
e7946333ad Better UI 2022-10-12 17:11:13 -07:00
ea2ec7a257 Fix bug with buffer sizes 2022-10-12 17:03:12 -07:00
68cca8cb7d Logging and reconnect loop 2022-10-12 16:48:06 -07:00
4b2c9811dc I was worried over nothing
The two key presses was because of tokio's no-blocking stdin() and it
was so that we could be sure to pipe stdin but we don't have to
because ssh does its own nonsense.
2022-10-12 10:34:50 -07:00
9eb5565f66 Dumb fixes, still needs two presses not clear why 2022-10-10 06:28:18 -07:00
John Doty
de6607eb25 Better UI, needs two keys to close :( 2022-10-10 05:33:27 +00:00
John Doty
2d9b9dbf9a Better UI waiting 2022-10-10 02:56:39 +00:00
John Doty
119af02dfa Starting to build a UI 2022-10-10 02:51:43 +00:00
e50d4ba943 Fix warning on linux 2022-10-09 08:44:33 -07:00
d4a8b041dd Copy stdin/stdout while waiting for sync
This should allow password authentication on ssh connect
2022-10-09 08:43:18 -07:00
7f8e14384e Simplify error handling with anyhow 2022-10-09 08:21:03 -07:00
82569743a3 Test connection processing 2022-10-09 07:28:38 -07:00
b98d28bd90 Doc doc 2022-10-08 21:56:30 -07:00
2faed6267e Compile on windows 2022-10-08 21:38:01 -07:00
John Doty
3157ff3cbb Start writing I guess 2022-10-08 20:00:44 +00:00
John Doty
bf4cdcfb6a Unify connection tables
They're mostly the same but the client side needs a different alloc
and the ability to signal connected.
2022-10-08 19:31:46 +00:00
John Doty
63a02a4211 Unify connection structures 2022-10-08 19:26:09 +00:00
John Doty
01ef65c787 Split out connection 2022-10-08 16:28:41 +00:00
John Doty
0d79ccd068 Test reader/writer too 2022-10-08 16:22:38 +00:00
John Doty
5ab189461d Errors, Protocol Negotiation 2022-10-08 15:51:56 +00:00
John Doty
99d1a6c69e TODO 2022-10-08 14:21:40 +00:00
John Doty
1ee8f2054c Split binary and library crate 2022-10-08 14:11:54 +00:00
John Doty
a1b9292409 Argument handling 2022-10-08 00:22:22 +00:00
John Doty
ed0d84f663 Don't need this anymore! 2022-10-07 17:53:55 +00:00
John Doty
5b941cbe47 Well, it's true 2022-10-07 17:31:10 +00:00