9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Authenticated mounts from non-plan9 systems
Date: Wed, 31 Oct 2007 07:15:10 -0400	[thread overview]
Message-ID: <20071031111511.B62C21E8C22@holo.morphisms.net> (raw)
In-Reply-To: <e0f9ca9a9802dcdccbbe919df7a6e64e@sorosj.hd.free.fr>

> Well, I tried to find the place where exportfs should go, I did
> grep exportfs *
> in /rc/bin/services, this found 4 matches, 2 of which are il and disabled, the two other are tcp17007 (cpu, iirc), and tcp564.
> tcp17007:exec /bin/exportfs -a -A $netdir
> tcp564:exec /bin/exportfs -s
> So I guess /rc/bin/service/tcp564 (9fs) should be
> exec /bin/exportfs -s -a

Actually I don't believe there are any flags you can give
to exportfs that will make it authenticate during 9p using
Tauth/Rauth.  Exportfs -a will run authentication before
starting 9P, not during 9P.  This has the added benefit of
establishing a shared secret that will be used to encrypt 
the connection with SSL.

If you want authentication during 9P, your best bet is 
probably to use the fossil console `listen' command
to make fossil announce to the network directly.

Russ


  reply	other threads:[~2007-10-31 11:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30 11:05 johnny
2007-10-30 13:44 ` Eric Van Hensbergen
2007-10-31  9:54   ` johnny
2007-10-30 14:08 ` Anthony Sorace
2007-10-31  9:55   ` johnny
2007-10-31 10:05     ` johnny
2007-10-31 11:15       ` Russ Cox [this message]
2007-10-31 11:18         ` johnny

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=20071031111511.B62C21E8C22@holo.morphisms.net \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /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).