Commit graph

16 commits

Author SHA1 Message Date
cinap_lenrek 2763229c00 rcpu: make sure not to leak /env/fn#server and /env/fn#aanserver for drawterm (thanks mischief) 2016-04-20 00:41:03 +02:00
cinap_lenrek fde5906b30 adding experimental rcpu service
this is a reimplementation of cpu and import utilities in rc using a tlsclient
and tlssrv as the encryption and authentication layers. there is only one new
service, which after authentication and encryption setup accepts an arbitrary
rc script over the network and executes it with the standard filedescriptors
redirected to the conversaion (this is *after* authentication and in the
context of the authorized user).

the new rcpu program has a few improvements over cpu(1):

- doesnt mangle program arguments
- the remote process will get the clients standard file descriptors, so error
  and output are separated and you can consume the clients input from the
  remote side :-)
- forwards error status of remote process

theres no backwards mode for rimport, but a new program called rexport
for the same purpose.

all these services use exportfs without the bolted on initial handshake,
so the hope is to clean up exportfs in the future and remove all the ugly
crap in there.
2016-02-14 05:18:33 +01:00
glenda c4fdc6bfdb fix fuckup 2015-08-25 09:35:10 +00:00
mischief 6b402b83cf import E script from bell labs 2015-08-25 02:07:46 -07:00
cinap_lenrek 12d6eb0ce3 remove old9p cpu service 2015-08-21 23:21:41 +02:00
Kurt H Maier 392ca817ba disable useless ssh daemon by default 2014-10-29 13:12:44 -04:00
cinap_lenrek fde528ace4 tcp113: fix null list in concatenation error 2013-08-10 08:55:39 +02:00
stanley lieber bbf7f29d26 tcp993: we're not plan9.bell-labs.com 2013-07-31 23:45:21 -04:00
cinap_lenrek ff4d45d147 rexec: redirect error (fd=2) to network for tcp17009
the new listen doesnt redirect stderr for us, so do it
in the service script.
2013-07-12 23:16:49 +02:00
stanley lieber 2f49aa7a8d add !tcp80 2013-02-04 16:42:13 -06:00
cinap_lenrek b226a645bc cpu: make incoming cpu connections work with aan(8) by default 2012-12-21 21:11:28 +01:00
cinap_lenrek 55d4dec593 more manpage cleanup 2011-08-26 07:02:03 +02:00
cinap_lenrek c822b5f9eb add !tcp445 2011-05-09 10:45:44 +00:00
cinap_lenrek 80c855653e more perms... 2011-03-30 18:33:45 +00:00
Taru Karttunen a9060cc06b Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
Taru Karttunen 2959e1ede0 Import sources from 2011-03-30 iso image - rc 2011-03-30 17:14:36 +03:00