9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Paul Borman prb@bsdi.com
Subject: [9fans] encryption routines for il
Date: Wed, 22 Apr 1998 12:48:29 -0500	[thread overview]
Message-ID: <19980422174829.e0a7LSTbD7xaYtbE3H7o6m4bsZo6D2A3pVAcBNfQxd0@z> (raw)

> I am looking at installing Pace Willisson's Unix based Authentication
> server on my BSDI box (thanks to Russ Cox for letting me know about
> it).
> 
> If anyone outside the US has implemented compatible versions of the
> missing encryption routines, please let me know.

I probably should mention that BSD/OS 3.0 includes support for
the Plan 9 bootp requests.

The basic code that puts out the bootp request is:

        strcpy((char *)bp->bp_vend, "p9  ");
        strcat((char *)bp->bp_vend, inet_ntoa(hp->subnet_mask));
        strcat((char *)bp->bp_vend, " ");
        strcat((char *)bp->bp_vend, inet_ntoa(hp->swap_server));
        strcat((char *)bp->bp_vend, " ");
        strcat((char *)bp->bp_vend, inet_ntoa(hp->nis_server->addr[0]));
        strcat((char *)bp->bp_vend, " ");
        strcat((char *)bp->bp_vend, inet_ntoa(hp->gateway->addr[0]));

(Please don't complain about using strcat, this was a quick hack and it
 does the job.  I probably should have used snprintf, but it is not worth
 changing it at this point.)

The fields for these entries are:

	sm	netmask, as expected
	sw	"swap server" is really your 9fs file server
	ds	dns server, as expected (only first address used)
	gw	gateway, as expected (only first address used)

				-Paul Borman
				 prb@bsdi.com




             reply	other threads:[~1998-04-22 17:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-22 17:48 Paul [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-04-23 14:19 Paul
1998-04-23  3:58 forsyth
1998-04-22 19:56 Digby
1998-04-22 19:24 forsyth
1998-04-22 18:26 Russ
1998-04-22 17:14 Digby

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=19980422174829.e0a7LSTbD7xaYtbE3H7o6m4bsZo6D2A3pVAcBNfQxd0@z \
    --to=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).