From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Authenticated mounts from non-plan9 systems From: "Russ Cox" Date: Wed, 31 Oct 2007 07:15:10 -0400 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20071031111511.B62C21E8C22@holo.morphisms.net> Topicbox-Message-UUID: e1158134-ead2-11e9-9d60-3106f5b1d025 > 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