Commit Graph

78 Commits

Author SHA1 Message Date
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
Tony Garnock-Jones d5fefe5146 Enforce *double* our packet-size-limit temporarily. 2011-10-25 19:02:23 -04:00
Tony Garnock-Jones f6611fa671 Most remaining channel functionality. 2011-10-25 19:00:13 -04:00
Tony Garnock-Jones f16e876f75 Channel requests and more channel driver logic. 2011-10-25 16:45:15 -04:00
Tony Garnock-Jones 038be62f03 More channel support; Lift event-handlers into a state-monad-like form. 2011-10-25 14:30:41 -04:00
Tony Garnock-Jones 204edd2679 General RPC-management utilities. 2011-10-25 14:29:18 -04:00
Tony Garnock-Jones 0af0e9ffa3 Permit extraction of join-name from a handle. 2011-10-25 14:28:50 -04:00
Tony Garnock-Jones c70439595b Tweak to room-handle names 2011-10-24 18:36:32 -04:00
Tony Garnock-Jones 915f990804 Cosmetic 2011-10-24 18:36:18 -04:00
Tony Garnock-Jones 9290dbea34 More channel management, and steps toward a repl server 2011-10-24 18:36:08 -04:00
Tony Garnock-Jones 1ab7cecf97 Reorder out-of-order request responses. 2011-10-24 18:34:47 -04:00
Tony Garnock-Jones 125e19f41a More utility prefab messages. 2011-10-24 18:34:08 -04:00
Tony Garnock-Jones 67a00406d0 Move wait-for-members and spy-on to conversation.rkt 2011-10-24 18:33:49 -04:00
Tony Garnock-Jones c79eaf055f Flag TODOs as such 2011-10-24 14:34:22 -04:00
Tony Garnock-Jones 89929039c8 Make rekeying less frequent. 2011-10-24 10:47:23 -04:00
Tony Garnock-Jones 98e19dc92e Stub out authentication and connection layers. 2011-10-24 10:47:12 -04:00
Tony Garnock-Jones a7e26dcccd Introduce write-message!/flush 2011-10-24 10:46:37 -04:00
Tony Garnock-Jones 17a537b5a2 Oops - rekey-wait-deadline is absolute, not relative 2011-10-24 09:24:54 -04:00
Tony Garnock-Jones 282d3671ad Start work on SERVICE_REQUEST. 2011-10-23 21:26:13 -04:00
Tony Garnock-Jones 7de4c802f1 Honour restrictions in RFC4253 section 7.1. 2011-10-23 21:13:29 -04:00