9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Presotto <presotto@closedmind.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Authentication debugging help?
Date: Tue, 20 Jan 2004 20:44:55 -0500	[thread overview]
Message-ID: <3297131e7597e7fdf78cf4e207cf2621@plan9.bell-labs.com> (raw)
In-Reply-To: <10048.1074626801@piper.nectar.cs.cmu.edu>

It's called snoopy.  You can do a

	snoopy -f 'ip(a=<ip address of client>)'

and see of a dump of all the packets from/to that address.

'Connection refused' is what you get if you tried to connect via
tcp and there was no server at the other end.  'Connection rejected'
is the same thing if you tried to connect via il.  I should probably
go through the two protocols and try to consolidate the error messages.

Clearly you've been trying different answers to 'root is from'.  Sounds
like one of:
1) never told your fossil server 'listen tcp!*!564'
2) it couldn't announce on the port for some other reason
like perhaps a 'listen' process was already listening there.
Make sure there are no /rc/bin/service*/tcp564 files lying
around.
3) there isn't a listener for the auth server

The stuff I gave you earlier should detect all or the
above.

If the file server is announced and running right with the file server,

	srv tcp!<ip address of file server>

should work and create a file:

	/srv/tcp!ip address of file server>

I the authentication stuff is working

	mount /srv/tcp!<ip address of file server> /tmp

should work even if you aren't the host owner (hostid
from a previous discussion).  If you are the hostowner,
you can do this even if there is no auth server since
it'll be the same key on both sides and you don't need
a third party with both shared keys.  In fact, that's how
we normally run our cpu servers; they have the same host
owner and password as the file server so that they can
come up even if the one booting is the auth server.

Anyways, tell me how you do.


  reply	other threads:[~2004-01-21  1:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <797f65da44cdbd78a92e7fd405e73b49@plan9.bell-labs.com>
2004-01-20 19:26 ` davide+p9
2004-01-21  1:44   ` David Presotto [this message]
2004-01-21  1:49     ` David Presotto
2004-01-22 20:59 davide+p9
2004-01-22 21:05 ` David Presotto
2004-01-29 16:56   ` davide+p9
  -- strict thread matches above, loose matches on Subject: below --
2004-01-20 19:09 David Presotto
2004-01-20 18:40 David Eckhardt
2004-01-21  8:32 ` Fco.J.Ballesteros
2004-01-21 23:56 ` matt

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=3297131e7597e7fdf78cf4e207cf2621@plan9.bell-labs.com \
    --to=presotto@closedmind.org \
    --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).