9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: miller@hamnavoe.demon.co.uk miller@hamnavoe.demon.co.uk
Subject: faking a plan9 network
Date: Thu, 17 Oct 1996 11:10:50 +0000	[thread overview]
Message-ID: <19961017111050.HOtaZBw7bJoSoO4WBGkQZ9iN0MfWCcPtauW-TEzlqC8@z> (raw)

Russ Cox <rsc@research.att.com> said:

> I copied the il17007
> file and made it il17008.  Even if I take the -a
> out of the exportfs command line, I get authentication
> errors from the 386 trying to boot, and it just 
> prints out the standard hex dump and hangs.

The protocol for connecting to an exportfs (il17007) service
is slightly different from the protocol for connecting to
9fs (il17008).  It is possible for a Plan 9 terminal to use
the kfs from another terminal (via exportfs) as its root,
but a few changes are needed in /sys/src/9/boot to make the
initial connection.

I found that approach unsatisfactory, though: the client
doesn't get proper authentication on its root (permissions
are always wrt the userid it booted with), performance is
not great because of the extra level of indirection, and the
exportfs server tends to run out of resources.

What I ended up doing was modifying kfs so that it listens
on il17008 and serves (authenticated) 9fs remotely as well
as serving the local root.

With either approach, you still need an auth server (listening
on il566) and a keyfs server (started at boot time).  Both can
run on a terminal with a local kfs (with judicious use of
'disk/kfscmd allow' while setting things up).

-- Richard Miller




             reply	other threads:[~1996-10-17 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-17 11:10 miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-10-16 21:43 Russ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19961017111050.HOtaZBw7bJoSoO4WBGkQZ9iN0MfWCcPtauW-TEzlqC8@z \
    --to=miller@hamnavoe.demon.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).