diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-14 05:18:33 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-14 05:18:33 +0100 |
commit | fde5906b303f0374e460f324504790026b233b71 (patch) | |
tree | 77da1c272f50794d53e9865a6b9d3fc32ffcbae0 /sys/lib/dist | |
parent | 4fe7daeca4d8cc06e50b5862f3f6bc9c71cbf835 (diff) |
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.
Diffstat (limited to 'sys/lib/dist')
-rw-r--r-- | sys/lib/dist/ndb/common | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/lib/dist/ndb/common b/sys/lib/dist/ndb/common index 7ad4f4e8a..0b4a6ef14 100644 --- a/sys/lib/dist/ndb/common +++ b/sys/lib/dist/ndb/common @@ -284,6 +284,7 @@ tcp=exportfs port=17007 tcp=rexexec port=17009 tcp=ncpu port=17010 tcp=cpu port=17013 +tcp=rcpu port=17019 tcp=glenglenda1 port=17020 tcp=glenglenda2 port=17021 tcp=glenglenda3 port=17022 |