From: sl@9front.org
To: 9fans@9fans.net
Subject: Re: [9fans] SSHv2
Date: Mon, 2 Apr 2012 17:57:40 +0000 [thread overview]
Message-ID: <f82299da5b030d9ca8914dae96b0ea5d@sp.nv> (raw)
In-Reply-To: <1333387274.98689.YahooMailClassic@web83903.mail.sp1.yahoo.com>
> While it is possible to get it confused with keys already
> stored in factotum (the reason the -z option is there), in
> this particular case, the "unknown role verify" from factotum
> seems to suggest it's talking to the old factotum.
You're right.
I forgot that 9front starts a factotum that was rolled into the
kernel build, quite separate from the userland auth/factotum that
exists on the system. This at least makes the observed results
sensible. The running kernel was not built with nfactotum, while
I as launching nfactotum manually from the command line.
But now that I experiment, I find that I have a problem with nfactotum:
term% auth/factotum -D
<-5- Tversion tag 65535 msize 8216 version '9P2000'
-5-> Rversion tag 65535 msize 8216 version '9P2000'
<-5- Tauth tag 42 afid 706 uname sl aname
-5-> Rerror tag 42 ename auth/factotum: authentication not required
<-5- Tattach tag 42 fid 706 afid -1 uname sl aname
-5-> Rattach tag 42 qid (0000000000000000 0 d)
term% cpu -h sp -u sl
<-5- Twalk tag 42 fid 706 newfid 837 nwname 2 0:factotum 1:rpc
-5-> Rwalk tag 42 nwqid 2 0:(0000000000000001 0 d) 1:(0000000000000002 0 )
<-5- Topen tag 42 fid 837 mode 2
fid mode is 0x2
-5-> Ropen tag 42 qid (0000000000000002 0 ) iounit 0
<-5- Twrite tag 42 fid 837 offset 0 count 38 'start proto=p9any role=client user=sl'
-5-> Rwrite tag 42 count 38
<-5- Tread tag 42 fid 837 offset 38 count 4096
-5-> Rread tag 42 count 2 'ok'
<-5- Twrite tag 42 fid 837 offset 40 count 5 'read '
-5-> Rwrite tag 42 count 5
<-5- Tread tag 42 fid 837 offset 45 count 4096
-5-> Rread tag 42 count 40 'phase in state 'read offer' want 'write''
<-5- Twrite tag 42 fid 837 offset 85 count 6 'write '
-5-> Rwrite tag 42 count 6
<-5- Tread tag 42 fid 837 offset 91 count 4096
-5-> Rread tag 42 count 13 'toosmall 4096'
<-5- Twrite tag 42 fid 837 offset 104 count 15 '77726974 65207039 736b3140 6e7600'
-5-> Rwrite tag 42 count 15
<-5- Tread tag 42 fid 837 offset 119 count 4096
-5-> Rread tag 42 count 2 'ok'
<-5- Twrite tag 42 fid 837 offset 121 count 5 'read '
-5-> Rwrite tag 42 count 5
<-5- Tread tag 42 fid 837 offset 126 count 4096
-5-> Rread tag 42 count 57 'needkey user=sl role=client proto=p9sk1 dom=nv !password?'
!Adding key: user=sl role=client proto=p9sk1 dom=nv
password:
!
<-5- Twalk tag 42 fid 706 newfid 850 nwname 2 0:factotum 1:ctl
-5-> Rwalk tag 42 nwqid 2 0:(0000000000000001 0 d) 1:(0000000000000007 0 )
<-5- Topen tag 42 fid 850 mode 2
fid mode is 0x2
-5-> Ropen tag 42 qid (0000000000000007 0 ) iounit 0
<-5- Twrite tag 42 fid 850 offset 0 count 64 'key user=sl role=client proto=p9sk1 dom=nv !password=xxxxxxx
'
-5-> Rwrite tag 42 count 64
<-5- Tread tag 42 fid 850 offset 64 count 1024
-5-> Rread tag 42 count 54 'key dom=nv proto=p9sk1 role=client user=sl !password?
'
<-5- Tclunk tag 42 fid 850
-5-> Rclunk tag 42
<-5- Twrite tag 42 fid 837 offset 183 count 5 'read '
-5-> Rwrite tag 42 count 5
<-5- Tread tag 42 fid 837 offset 188 count 4096
-5-> Rread tag 42 count 12 '6f6b2070 39736b31 206e7600'
<-5- Twrite tag 42 fid 837 offset 200 count 5 'read '
-5-> Rwrite tag 42 count 5
<-5- Tread tag 42 fid 837 offset 205 count 4096
-5-> Rread tag 42 count 11 '6f6b2098 10cb0d4c 932e7a'
<-5- Twrite tag 42 fid 837 offset 216 count 5 'read '
-5-> Rwrite tag 42 count 5
<-5- Tread tag 42 fid 837 offset 221 count 4096
-5-> Rread tag 42 count 42 'phase in state 'read tickreq' want 'write''
<-5- Twrite tag 42 fid 837 offset 263 count 6 'write '
-5-> Rwrite tag 42 count 6
<-5- Tread tag 42 fid 837 offset 269 count 4096
-5-> Rread tag 42 count 12 'toosmall 141'
<-5- Twrite tag 42 fid 837 offset 281 count 147 '77726974 65200167 6c656e64 61000000 00000000 00000000 00000000 00000000 0000006e 76000000 00000000 00000000 00000000 00000000 00000000 00000000'
-5-> Rwrite tag 42 count 147
<-5- Tread tag 42 fid 837 offset 428 count 4096
-5-> Rread tag 42 count 2 'ok'
<-5- Twrite tag 42 fid 837 offset 430 count 5 'read '
auth/factotum: ioproc alloc
At this point the nfactotum proc blocks indefinitely in Pread.
-sl
next prev parent reply other threads:[~2012-04-02 17:57 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-30 2:10 blstuart
2012-03-30 1:26 ` cinap_lenrek
2012-03-30 3:15 ` Bruce Ellis
2012-03-30 2:14 ` andrey mirtchovski
2012-03-30 4:21 ` Lucio De Re
2012-03-30 4:49 ` Lucio De Re
2012-03-30 6:07 ` David du Colombier
2012-03-30 8:11 ` Lucio De Re
2012-03-30 13:32 ` erik quanstrom
2012-03-30 5:48 ` Jeff Sickel
2012-03-30 8:10 ` steve
2012-03-30 9:19 ` Richard Miller
2012-03-30 10:43 ` Yaroslav
2012-03-30 12:48 ` blstuart
2012-03-30 12:56 ` erik quanstrom
2012-04-02 20:50 ` Richard Miller
2012-04-02 20:08 ` Richard Miller
2012-04-03 2:27 ` Lyndon Nerenberg
2012-04-03 2:31 ` Lyndon Nerenberg
2012-04-23 8:40 ` rhoyerboat
2012-04-23 20:55 ` Richard Miller
2012-04-25 12:47 ` David Leimbach
2012-04-25 15:25 ` andy zerger
2012-03-30 10:48 ` Yaroslav
2012-03-30 11:00 ` Lucio De Re
2012-03-30 13:03 ` erik quanstrom
2012-03-30 14:19 ` Charles Forsyth
2012-03-30 12:50 ` blstuart
2012-03-30 10:49 ` Yaroslav
2012-03-30 11:17 ` Yaroslav
2012-03-30 13:01 ` blstuart
[not found] ` <CAG3N4d-1A3VzHsyxSdiRG8-Q9NtYoe8xGUi6B9AVg3inR0Eq_Q@mail.gmail.c>
2012-03-30 12:54 ` erik quanstrom
2012-03-30 13:36 ` erik quanstrom
2012-03-30 13:55 ` Yaroslav
2012-03-30 13:59 ` Lucio De Re
2012-03-30 13:59 ` Lucio De Re
2012-03-30 14:44 ` erik quanstrom
2012-04-02 14:27 ` sl
2012-04-02 14:29 ` erik quanstrom
2012-04-02 14:39 ` erik quanstrom
2012-04-02 16:12 ` Brian L. Stuart
2012-04-02 16:32 ` sl
2012-04-02 16:53 ` sl
2012-04-02 17:21 ` Brian L. Stuart
2012-04-02 17:57 ` sl [this message]
2012-04-02 19:52 ` cinap_lenrek
2012-04-02 16:56 ` Brian L. Stuart
2012-04-02 16:27 ` Brian L. Stuart
2012-04-02 16:33 ` sl
2012-04-02 16:44 ` Brian L. Stuart
2012-04-23 1:11 ` andy zerger
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=f82299da5b030d9ca8914dae96b0ea5d@sp.nv \
--to=sl@9front.org \
--cc=9fans@9fans.net \
/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).