From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 22 Apr 1998 12:48:29 -0500 From: Paul Borman prb@bsdi.com Subject: [9fans] encryption routines for il Topicbox-Message-UUID: 76fdc806-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19980422174829.e0a7LSTbD7xaYtbE3H7o6m4bsZo6D2A3pVAcBNfQxd0@z> > 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