Commit Graph

15 Commits

Author SHA1 Message Date
sawka
554f8f1b31 input packet should use base64, add remoteid. allow untailing a full entry (when command is done) 2022-07-07 22:45:14 -07:00
sawka
463187221b update tailer to use filenamegenerator. allow ptyonly option for getcmd 2022-07-07 21:37:17 -07:00
sawka
96123c8e1a checkpoint for tightened runtime semantics for calls -- always send response packets, make sure correct response ids are set, etc. 2022-07-05 23:14:14 -07:00
sawka
ef362e5ee9 tighten up packet interfaces, RpcPacketType, RpcResponsePacketType, and CommandPacketType 2022-07-05 16:53:31 -07:00
sawka
0a828b7184 tightening up server mode, fix bugs, refactor, etc. 2022-07-01 17:37:37 -07:00
sawka
d7eb2526f0 refactor RunClientSSHCommandAndWait for server code 2022-06-28 15:04:08 -07:00
sawka
2a6791bcd6 combine sessionid and cmdid into one field ck (commandkey) 2022-06-27 12:03:47 -07:00
sawka
766d19f1bc checkpoint, switch name from sh2-runner to mshell 2022-06-23 10:16:54 -07:00
sawka
b6a8550ab8 revert cmdtail to watch individual files (inefficient directory watching on osx). touch ptyout file before running (because of file watching) 2022-06-17 12:27:29 -07:00
sawka
3497f607ce fix bug in updateTailPos, add Close() for tailers 2022-06-16 22:23:29 -07:00
sawka
dc4baaea27 cmdtail now can support multiple tails on the same cmd with independent tail positions 2022-06-16 17:24:29 -07:00
sawka
c6165f15f4 update tailer to send packets to a channel instead of hard coding to PacketSender 2022-06-16 01:10:56 -07:00
sawka
5176128346 updates to allow parsing non-packets into raw packets (to see stderr output), and new sessionwatcher 2022-06-15 16:29:57 -07:00
sawka
ecceb67f20 got session/command tailing working. server can send getcmd packets, and client responds with cmddata packets 2022-06-14 22:16:58 -07:00
sawka
65094ad0ec updates, groundwork for tail, better parsing logic 2022-06-14 14:17:36 -07:00