Commit graph

25 commits

Author SHA1 Message Date
Jacob Moody
674fcda107 aux/listen: Allow per service namespace files 2022-05-30 21:55:39 -04:00
cinap_lenrek
a33e93a752 listen(8): remove old cpu, exportfs and rexec listeners 2021-12-31 15:43:16 +00:00
cinap_lenrek
27a83106f4 oexportfs: move legacy code for cpu and import to separate program
The initial protocol handling in exportfs for
cpu and import services is a huge mess.

Saparate the code out into its own program with
its own oexportfs(4) manpage.
2020-12-13 20:09:03 +01:00
BurnZeZ
96b1debbf8 add entries for il rcpu 2018-12-07 01:41:27 +00:00
aiju
9dee37a2b0 disable all services except 17019, 17020 by default 2017-04-19 08:51:18 +00:00
cinap_lenrek
4bcd247b90 change listener from ip/imap4d to upas/imap4d 2017-03-12 17:18:56 +01:00
cinap_lenrek
432c89418f remove !tcp22 service 2017-01-13 19:44:47 +01:00
cinap_lenrek
978628d679 tcp17019: make service proto and netdir arguments optional (for aux/listen1)
this allows /rc/bin/service/tcp17019 to be called from
aux/listen1 without arguments like:

aux/listen1 tcp!*!rcpu /rc/bin/service/tcp17019
2016-12-03 00:24:19 +01:00
cinap_lenrek
bd50adc942 add srvtls and the corresponding tcp17020 service 2016-05-16 22:49:32 +02:00
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