[573] in testers

home help back first fref pref prev next nref lref last post

6.4R: /etc/athena/netconfig

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Fri Dec 29 18:04:40 1989

From: probe@ATHENA.MIT.EDU
Date: Fri, 29 Dec 89 18:04:22 -0500
To: testers@ATHENA.MIT.EDU
Reply-To: Richard Basch   <probe@ATHENA.MIT.EDU>

Various severe bugs have been discovered by Bill Cattey and Ron Hoffmann
today:

1) Addresses with the last octet < 2 or > 252 fail to initialize.  The
   valid range is between 1 and 254...

2) The clients are responding to NIP requests faster than the gateway
   is; the in-kernel NIP server should probably not be enabled for the
   time being, until this is fixed.

3) If HOST is NONAME, it will try to configure itself.  NONAME is the
   default value in /srvd/etc/rc.conf, so it should probably consider
   this invalid.

4) If HOST is specified and the nameserver is temporarily unavailable,
   the machine should probably not try to configure itself into the
   dyn.mit.edu domain.

5) If HOST is specified and is not all lower-case, it is converted to
   lowercase.  Some machines, such as AlefNull would have problems with
   this (their srvtabs even has the uppercase characters).

I have made the appropriate fixes in:

	netconfig.c
	verify.c

on paris/minos (I will transfer it back to the development locker
later; in part, this message is a reminder for me to do so).  I have
also added a little better error handling in some places and a sanity
check to make sure that the recommended IP address is not that of the
gateway (in case the gateway is not currently up).

-Richard

PS: As a side-note, I am still "not here" (doing my thesis);  I only did
this as I needed a break and I was one of two people familiar with this
code and it was urgent enough for me to consider doing.

home help back first fref pref prev next nref lref last post