From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4169f20d-b962-455b-8afe-8aa52db190ab@googlegroups.com> References: <89ec9d50-9736-4d93-985f-bf32e6fd9247@n2g2000prj.googlegroups.com> <4169f20d-b962-455b-8afe-8aa52db190ab@googlegroups.com> Date: Mon, 3 Nov 2014 01:28:54 -0800 Message-ID: From: Skip Tavakkolian To: Chris McGee Content-Type: multipart/alternative; boundary=047d7b5d4264ab09bd0506f0f90f Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, golang-nuts Subject: Re: [9fans] [go-nuts] Re: 9p protocol go implementation Topicbox-Message-UUID: 22da7402-ead9-11e9-9d60-3106f5b1d025 --047d7b5d4264ab09bd0506f0f90f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable short version: you need libauth in Go (or start the go9p client/server by C programs that do the auth). 9P facilitates authentication (but doesn't define or dictate the method). intro(5), auth(2) and factotum(4) will be helpful. basically Tauth is used to request a fid to negotiate authentication (a.k.a. afid). Tread's/Twrite's to afid are proxy-delivered to the factotums (authentication agents) of the sever and of the client by each side. once server's factotum is convinced, the server is granted the system privilege to change its process id to the authenticated user. the client attaches (Tattach) to the server's namespace by providing the afid in addition to other parameters. tools like 'ramfs -D' and aux/9pcon are very handy for watching 9P in action. i'm copying to 9fans; it might be a better place to continue. On Sun, Nov 2, 2014 at 6:27 PM, wrote: > I see that go9p supports authentication. Assuming the client and server > are both plan9 (even the same system), how does one hook up the OS's > authentication? > > Chris > > > On Monday, March 21, 2011 10:16:16 PM UTC-4, peterGo wrote: >> >> Mauricio, >> >> go9p - Package to write 9P clients and servers in Go >> http://code.google.com/p/go9p/ >> >> Peter >> >> On Mar 21, 9:57 pm, Maur=C3=ADcio CA wrote: >> > Hi, all, >> > >> > I see at page below that there exists go9p, "A 9P library in the Go >> > programming language, by Andrey Mirtchovski and Latchesar >> > Ionkov. Now part of the official Go distribution." >> > >> > http://9p.cat-v.org/implementations >> > >> > I can't find any implementation of 9p at this page, though, which, I >> > believe, is the official list of current standard go packages: >> > >> > http://golang.org/pkg >> > >> > Is there really a 9p implementation in the official go distribution? >> > >> > Thanks, >> > >> > Maur=C3=ADcio > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > --047d7b5d4264ab09bd0506f0f90f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
short version: you need libauth in Go (or start the go9p c= lient/server by C programs that do the auth).

9P fa= cilitates authentication (but doesn't define or dictate the method). in= tro(5), auth(2) and factotum(4) will be helpful. basically Tauth is used to= request a fid to negotiate authentication (a.k.a. afid). Tread's/Twrit= e's to afid are proxy-delivered to the factotums (authentication agents= ) of the sever and of the client by each side. once server's factotum i= s convinced, the server is granted the system privilege to change its proce= ss id to the authenticated user. =C2=A0the client attaches (Tattach) to the= server's namespace by providing the afid in addition to other paramete= rs. tools like 'ramfs =C2=A0-D' and aux/9pcon are very handy for wa= tching 9P in action.

i'm copying to 9fans; it = might be a better place to continue.


On Sun, Nov 2, 2014 at = 6:27 PM, <newton688@gmail.com> wrote:
I see that go9p supports authentication. As= suming the client and server are both plan9 (even the same system), how doe= s one hook up the OS's authentication?

Chris


On Monday, March 21, 2011 10:16:16 PM UTC-4, peterGo= wrote:
Mauricio,

go9p - Package to write 9P clients and servers in Go
http://cod= e.google.com/p/go9p/

Peter

On Mar 21, 9:57=C2=A0pm, Maur=C3=ADcio CA <mauricio.antu...@gmail= .com> wrote:
> Hi, all,
>
> I see at page below that there exists go9p, "A 9P library in = the Go
> programming language, by Andrey Mirtchovski and Latchesar
> Ionkov. Now part of the official Go distribution."
>
> =C2=A0 =C2=A0http://9p.cat-v.org/implementations
>
> I can't find any implementation of 9p at this page, though, wh= ich, I
> believe, is the official list of current standard go packages:
>
> =C2=A0 =C2=A0h= ttp://golang.org/pkg
>
> Is there really a 9p implementation in the official go distributio= n?
>
> Thanks,
>
> Maur=C3=ADcio

--
You received this message because you are subscribed to the Google Groups &= quot;golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--047d7b5d4264ab09bd0506f0f90f--