9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Peter Bosch <pb@research.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] aan documentation
Date: Sun,  2 Mar 2003 12:13:55 -0500	[thread overview]
Message-ID: <6e8f08c5154b407b89788761ff5992c0@plan9.bell-labs.com> (raw)
In-Reply-To: <f85c09045d9423f23692d2dcb36f158b@plan9.bell-labs.com>

>> The manpage for aan says it uses a unique protocol.  Is
>> its operation described anywhere (other than the source)?
> 
> read the source, luke.

ok, that was too quick.  here's how it works.

Aan (Always Available Network) sits on both client and server and it
reads from stdin and writes to stdout on both ends.  internally, aan
keeps state of the bytes that have been exchanged between client and
server and it acknowledges the reception of data on each message that
is exchanged between the client and server (bi-directional).  in case
a (TCP) connection breaks, aan restablishes contact from the client to
the server -- the server listens on a private port for each
established connection.  if the server does not hear from a client
within a timeout (currently a 24 hours), it cleans up state on the
server side.  aan assumes the data that it ships to be encrypted.

the idea is that you can suspend your notebook without your
9P connections to die.

peter.



      reply	other threads:[~2003-03-02 17:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-02  3:17 Scott Schwartz
2003-03-02 16:54 ` Peter Bosch
2003-03-02 17:13   ` Peter Bosch [this message]

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=6e8f08c5154b407b89788761ff5992c0@plan9.bell-labs.com \
    --to=pb@research.bell-labs.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).