Chip Senkbeil
ee50eaf9b3
Add heartbeat support ( #153 )
...
* Update to support zero-size frame items
* Add heartbeat functionality with client reconnecting logic
* Fix connection reauthentication failures preventing future reauthentication
* More logging
* Remove persist
* Update connection logic to have server take on client id rather than having client take on server id during reconnect
* Bump minimum rust version to 1.64.0
* Bump to v0.20.0-alpha.3 and fix clippy warnings
* Update cargo.lock
2 years ago
Chip Senkbeil
a544587bab
Add ConnectionState & ConnectionWatcher; update server to drop connection on read error
2 years ago
Chip Senkbeil
1c393ef723
Bump dependency versions and update our version to 0.20.0-alpha.2
2 years ago
Chip Senkbeil
4798b67dfe
Rewrite to support custom authentication, handshakes for encryption/compression, and reconnecting ( #146 )
2 years ago
Chip Senkbeil
7d1b3ba6f0
Fix stack overflow parsing BindAddress and improve resolution of BindAddress
2 years ago
Chip Senkbeil
01610a3ac7
Add search support ( #131 )
2 years ago
Chip Senkbeil
53fd8d0c4f
Add capabilities support to server and manager
2 years ago
Chip Senkbeil
1fa3a8acea
Refactor ssh options into a generic options map and rename extra/Extra into options/Map
2 years ago
Chip Senkbeil
591cd6ff41
Fix ssh launch login shell using sh on windows; update shell cli to use default shell from system info before defaulting
2 years ago
Chip Senkbeil
6d0bbd56fc
Add back missing newlines for system info printing
2 years ago
Chip Senkbeil
56a030e6dd
Update SystemInfo to support username and shell
2 years ago
Chip Senkbeil
04b20d1348
Fix distant client shell choosing appropriate default; update CHANGELOG
2 years ago
Chip Senkbeil
74a37209eb
Refactor --shutdown-after into --shutdown ( #49 )
2 years ago
Chip Senkbeil
1ff3ef2db1
Fix shutdown-after such that it now functions
2 years ago
Chip Senkbeil
41d35f88de
Fix handling of IPv6 for Destination and DistantSingleKeyCredentials
2 years ago
Chip Senkbeil
768dbdc053
Rewrite Destination to no longer use uriparse library
2 years ago
Chip Senkbeil
86b34d23c6
Fix ssh settings not getting applied, ssh.bin being mispelled, and added ClientConnectConfig
2 years ago
Chip Senkbeil
9097892c61
Move access control to be manager-specific
2 years ago
Chip Senkbeil
0633530a13
Expose `windows-pipe` and `unix-socket` regardless of platform
2 years ago
Chip Senkbeil
44b0dc065c
Split fallback_scheme into launch and connect choices
2 years ago
Chip Senkbeil
4223c4e03f
Fix json support for client launch/connect and add json format support for client select ( #118 )
2 years ago
Chip Senkbeil
5e1b6e7c51
Update cache to not fail on read error
2 years ago
Chip Senkbeil
b9d2e2e57e
Update termwiz 0.15.0 -> 0.17.1
2 years ago
Chip Senkbeil
ea2e128bc4
Refactor to use distant manager ( #112 )
2 years ago
Chip Senkbeil
df81894785
Split distant into distant-core and distant (bin)
3 years ago
Chip Senkbeil
260cb0e99d
Refactor session to use mpsc instead of broadcast channel, add LSP command
3 years ago
Chip Senkbeil
ba6ebcfcb8
Refactor codebase to be more testable & add some initial tests
3 years ago
Chip Senkbeil
1ca3cd7859
Big refactor that is not finished
3 years ago
Chip Senkbeil
2b23cd379c
Rename mode -> format; bump to 0.13.0
3 years ago
Chip Senkbeil
69af44cb8e
Add lsp session mode w/ parser and tests
3 years ago
Chip Senkbeil
160631bc7b
Add login shell support by defualt to run distant command on launch
3 years ago
Chip Senkbeil
f6e9195503
Update error response to include kind, refactor kind to be from a defined set, support new exists request/response
3 years ago
Chip Senkbeil
e2fd3a9bae
Add proper exit codes mirroring sysexits from FreeBSD
3 years ago
Chip Senkbeil
86e4d7f2fc
Refactor to support a payload for request/response with multiple entries; bump to 0.10.0
3 years ago
Chip Senkbeil
24d0c3b2ab
Bump to v0.9.5 and update couple of cli descriptions
3 years ago
Chip Senkbeil
1a1f219594
Update DirRead to sort returned paths by name
3 years ago
Chip Senkbeil
f51b8420f3
Update metadata human printout to not include canonicalized_path if missing
3 years ago
Chip Senkbeil
9a67418227
Add option to metadata request to return the canonicalized path in the response; bump to 0.9.0
3 years ago
Chip Senkbeil
d3a1cad7b3
Fix bug where socket not cleared when fail flag disabled; fix shutdown timer logic
3 years ago
Chip Senkbeil
956f7e0119
Unfinished timing
3 years ago
Chip Senkbeil
df80f261bc
Add client timeout support, system info message, and support for including root path in retrieved dir entries
3 years ago
Chip Senkbeil
cbefdb69ec
Fix stdout/stderr not being detected in proc response when no newline was provided
3 years ago
Chip Senkbeil
b3a4d79507
Update stdin/stdout/stderr pipes to read into buffers instead of waiting for newlines
3 years ago
Chip Senkbeil
a15a707f1d
Fix processes lingering for unix socket proxy when a connection closes
3 years ago
Chip Senkbeil
638638f332
Refactor ProcStdin to send a string representing a line instead of a vec of bytes
3 years ago
Chip Senkbeil
4edf8021cc
Add features and fixes for upcoming 0.6.0
...
1. Capture errors when listing directory contents and report them
as part of the response instead of exiting on first error
2. Refactor DirRead request to support providing a depth (instead
of the "all" flag), canonicalizing the paths, and have the choice
of returning absolute paths instead of relative
3. Fix forked process for launch not connecting over TCP to
server due to tokio runtime being inherited from parent
4. Fix leftover launch process caused by forking w/ the old runtime
5. Fix stdout/stderr of running processes not being reported
(when process looping and not returning) by wrapping stdout/stderr
in `BufReader` and sending back one line at a time for each
6. Refactor ProcStdout and ProcStderr responses to send back a line
field that is a string instead of a data field that is a byte vec
as we are now reading and sending back whole lines, which makes
more sense and aligns with output flushing and common stdout/stderr
processing by other programs
3 years ago
Chip Senkbeil
d4775477aa
Refactor codebase into cli and core modules, add unix socket support, bump to 0.5.0
3 years ago