Commit Graph

97 Commits

Author SHA1 Message Date
Tony Garnock-Jones e6c867ab7f Cope with merge of spawn/monitor into spawn. 2012-06-23 07:55:47 -04:00
Tony Garnock-Jones 9501a73fc5 Improvements from codewalk with Sam and Matthias 2012-06-22 13:14:02 -04:00
Tony Garnock-Jones 1058f0e96f Start of channel-listener in application 2012-06-20 18:35:30 -04:00
Tony Garnock-Jones 9e7fc9bbbd Channel demux and management from the SSH side. 2012-06-19 17:28:24 -04:00
Tony Garnock-Jones f0a98bb1f9 Use monitors; tidy up debug output a little 2012-06-19 11:38:33 -04:00
Tony Garnock-Jones f69527bb14 Initial sketch of channel stream messages. 2012-06-14 11:59:14 -04:00
Tony Garnock-Jones 03560599a1 Nested VM for application processes 2012-06-14 11:58:45 -04:00
Tony Garnock-Jones f857cfdbf9 Start splitting out channel-related code 2012-06-14 11:24:50 -04:00
Tony Garnock-Jones fd08fb0b74 Arm rekey timer. 2012-06-12 12:13:40 -04:00
Tony Garnock-Jones 78a0721051 OS2-ized SSH up to channel management 2012-06-11 16:11:22 -04:00
Tony Garnock-Jones 72acd94def Extract identification string before switching to packet mode 2012-06-11 12:33:32 -04:00
Tony Garnock-Jones e2e59bdf6c Pack decoded messages for the benefit of unify.rkt. 2012-06-11 12:24:57 -04:00
Tony Garnock-Jones 0fb207acc6 Merge branch 'master' into os2 2012-05-15 14:50:00 -04:00
Tony Garnock-Jones 2c2f12f284 Comments from Oct 27 2011 (!) 2012-05-15 14:49:53 -04:00
Tony Garnock-Jones 3f2764d0f6 Start work on OS2-ising the SSH server 2012-05-15 14:49:09 -04:00
Tony Garnock-Jones 30ec899976 Prefab SSH message structs 2012-05-15 14:22:00 -04:00
Tony Garnock-Jones 2afedd91fc Remove to-be-redundant libraries from this branch 2012-05-15 14:21:34 -04:00
Tony Garnock-Jones bdc4cff0f4 Don't trap break exns in ->string/safe. 2012-03-08 14:52:56 -05:00
Tony Garnock-Jones faeb19a27e Simplify blocking-box's manager 2011-11-23 15:50:56 -05:00
Tony Garnock-Jones 9cf5deadeb Driver of combined services 2011-11-06 08:26:52 -05:00
Tony Garnock-Jones 0c05a400f8 Fix bugs in port-closure-detection logic.
To begin with, I was looking at closure of the wrong port. Fixing
that, however, still left me with the problem that there was no event
for closure of the downstream port that I could use, so the
input-cooker has to poll to see if downstream has indicated that it
should be shut down. Finally, the actual port-closing code was doing
different things in different cases, so I've straightened that out as
well, and there was a race between closing raw-out in the
output-cooker and writing some feedback to it in the input-cooker, so
I've added a with-handlers to ignore write errors in the input-cooker.
2011-11-04 13:57:42 -04:00
Tony Garnock-Jones cf7563e5ed Limit number of concurrent logins 2011-11-04 13:23:35 -04:00
Tony Garnock-Jones f70354c683 Read whole buffers at once, rather than a character at a time 2011-11-04 13:22:51 -04:00
Tony Garnock-Jones 6b967002c5 Start sandboxes with racket/base instead of full racket. 2011-11-02 19:25:39 -04:00
Tony Garnock-Jones 091d6796a9 Lower memory limit; remove eval limits 2011-11-02 19:13:27 -04:00
Tony Garnock-Jones e0cb011ff4 Take rubout and backspace to be the same thing. 2011-11-02 18:55:13 -04:00
Tony Garnock-Jones 6a4ff24f90 Fixup sandbox security by using master/slave sandbox setup (HT eli) 2011-11-02 18:53:15 -04:00
Tony Garnock-Jones 6271b7a3af Comment re ill-formed SSH_MSG_DISCONNECT spotted in the wild from OpenSSH 5.3p1 2011-11-02 18:52:39 -04:00
Tony Garnock-Jones a1f38b86bf More help text. 2011-10-31 11:35:07 -04:00
Tony Garnock-Jones 89e96b0ccb Help text 2011-10-31 10:55:19 -04:00
Tony Garnock-Jones bfc86ec58d Spy on the interaction room. 2011-10-31 08:54:51 -04:00
Tony Garnock-Jones 96892901ca Don't include invisible members in membership summary. 2011-10-31 08:54:39 -04:00
Tony Garnock-Jones e279e35de6 Make rekeys happen once an hour, as recommended 2011-10-29 09:00:09 -04:00
Tony Garnock-Jones 20f273e41e Restore mistakenly omitted #t setting for reuse?. 2011-10-27 18:14:04 -04:00
Tony Garnock-Jones 6f4efca1d2 Fix I/O and sharing of environments 2011-10-27 18:13:49 -04:00
Tony Garnock-Jones 11f7435b1c Remove obsolete default-valued parameter 2011-10-27 15:53:00 -04:00
Tony Garnock-Jones 5e742fbc8d Tweak REPL behaviour, and listen on 0.0.0.0 2011-10-27 15:50:18 -04:00
Tony Garnock-Jones ae9a751ed3 Create per-user shells with persistent environments. 2011-10-27 15:25:06 -04:00
Tony Garnock-Jones ad7b120bf6 Support cooker prompts in ssh-service. 2011-10-27 15:24:34 -04:00
Tony Garnock-Jones fe0f7c7fe0 Add try-listen message for polling a conversation handle 2011-10-27 15:24:12 -04:00
Tony Garnock-Jones 128ef2d43c Split out yet another layer, a combination of code from ssh-session and repl-server. 2011-10-27 14:15:44 -04:00
Tony Garnock-Jones 7ad6291124 Fix EOF- and close-negotiation; switch API for closing; connect sandbox repl. 2011-10-26 19:16:16 -04:00
Tony Garnock-Jones 9437241481 Close ports in the "graceful exit" case as well as on exceptions. 2011-10-26 19:15:07 -04:00
Tony Garnock-Jones 3d0d2c38e9 Be less gratuitously noisy on socket close. 2011-10-26 19:14:45 -04:00
Tony Garnock-Jones c42934d07b Uncook newlines into CRLFs on the way out. 2011-10-26 19:13:00 -04:00
Tony Garnock-Jones 6db845eda5 Remove ill-thought-out break-on-departure feature. 2011-10-26 19:10:23 -04:00
Tony Garnock-Jones 5e0d17e48f Exploit thread-dead?, rather than tracking it ourselves. 2011-10-26 10:47:21 -04:00
Tony Garnock-Jones d47f553e21 Fix bugs in channel shutdown handling. Add tty cooker. 2011-10-26 00:07:38 -04:00
Tony Garnock-Jones 887aada203 Break threads only after their output-queues have been drained. 2011-10-26 00:06:29 -04:00
Tony Garnock-Jones 29dd5226c2 Rename host-key.rkt to ssh-host-key.rkt 2011-10-25 21:21:48 -04:00