Changes revision 21673
11590Srgrimes# $FreeBSD: head/libexec/bootpd/Changes 21673 1997-01-14 07:20:47Z jkh $ 21590Srgrimes 31590SrgrimesChanges, most recent first 41590SrgrimesDate, <email> Real Name 51590Srgrimes what... 61590Srgrimes 71590Srgrimes--> bootp-2.4.3 81590Srgrimes 91590Srgrimes03/27/96 gwr@mc.com (Gordon W. Ross) 101590Srgrimes Use LOG_NOTICE in place of LOG_INFO for messages related 111590Srgrimes to unsatisfied clients [at request of <otto@tukki.jyu.fi>] 121590Srgrimes Fix the irix Makefile targets, and other misc. 131590Srgrimes 141590Srgrimes03/25/95 gwr@mc.com (Gordon W. Ross) 151590Srgrimes Corrected a bug I introduced into SunOS setarp, where 161590Srgrimes bad IP address caused "network unreachable" errors. 171590Srgrimes [Thanks to andrew@ntplx.net (Andrew Lindh) for the fix!] 181590Srgrimes 191590Srgrimes--> bootp-2.4.2 201590Srgrimes 211590Srgrimes01/14/95 middelin@polyware.iaf.nl (Pauline Middelink) 221590Srgrimes Corrected support for the Linux networking code. 231590Srgrimes Fixed lots of warnings (gcc -Wall) 241590Srgrimes Added "linux" Makefile target. 251590Srgrimes 261590Srgrimes01/02/95 Jukka Ukkonen <ukkonen@csc.fi> 271590Srgrimes Allow bootptab syntax: ha="0:0:c0:80:e8:a7" 281590Srgrimes 291590Srgrimes11/30/94 Tonny van Lankveld <A.L.M.G.v.Lankveld@urc.tue.nl> 3094610Sdwmalone Fix reporting of duplicate Ethernet addresses. 3194610Sdwmalone 3294610Sdwmalone09/06/94 longyear@netcom.com (Al Longyear) 3394610Sdwmalone Better setarp for linux, allows non-ether types. 3494610Sdwmalone 3594610Sdwmalone09/02/94 Robert MacKinnon <rbm@montrouge.mis.slb.com> 3687715Smarkm Add support for IBM's AIX 3.2.5 3787715Smarkm 3887715Smarkm08/30/94 piercarl@ltd.c-d.com (Piercarlo Grandi) 391590Srgrimes Fix select calls on linux (modifies timeval arg). 401590Srgrimes Fix setarp (specify Ethernet type for now). 411590Srgrimes 421590Srgrimes08/27/94 drew@drewsun.FEITH.COM (Andrew B. Sudell) 431590Srgrimes Add support for Wollongong Win-TCP (SysVr4 variant). 44128230Sbde 45128230Sbde08/24/94 gwr@mc.com (Gordon W. Ross) 461590Srgrimes Use sigaction() on systems that define SA_NOCLDSTOP 4711914Sphk (a symbol required by POSIX) for HP/UX and others. 481590Srgrimes 491590Srgrimes--> bootp-2.4.1 501590Srgrimes 511590Srgrimes08/24/94 gwr@mc.com (Gordon W. Ross) 521590Srgrimes Fix bug in boot file name generation (missing init) 531590Srgrimes 54145800Sdelphij--> bootp-2.4.0 551590Srgrimes 561590Srgrimes08/20/94 gwr@mc.com (Gordon W. Ross) 5792922Simp Fix code to build bootfile name based on combination of 581590Srgrimes client requested name and bootfile specifications. 591590Srgrimes Behave similarly with or without CHECK_FILE_ACCESS. 601590Srgrimes 611590Srgrimes07/30/94 Dirk Koeppen <dirk@incom.de> 621590Srgrimes Add "min wait" option (mw) to cause bootpd to ignore 631590Srgrimes requests from clients that have not waited long enough. 641590Srgrimes Add code to honor client requests containing the DHCP 6569493Sgallatin option "Maximum Message Size" and use its value to 661590Srgrimes determine the size of the reply message. 671590Srgrimes 681590Srgrimes--> bootp-2.3.8 69175387Sdelphij 701590Srgrimes06/25/94 Christos Zoulas <christos@deshaw.com> 71158160Sbde Add "-h" flag to override host name (affects default IP 721590Srgrimes address provided in reply messages. (Also minor bug fix) 731590Srgrimes 741590Srgrimes05/27/94 gwr@mc.com (Gordon W. Ross) 75175387Sdelphij Add code to call "arp -s IPADDR HWADDR" on systems 761590Srgrimes that do not provide an SIOCSARP ioctl (i.e. NetBSD) 771590Srgrimes 781590Srgrimes--> bootp-2.3.7 791590Srgrimes 801590Srgrimes05/05/94 Walter Wong <wcw+@CMU.EDU> 811590Srgrimes Reduce noize at debug level one, where log messages 821590Srgrimes are generated only for hosts that are recognized 831590Srgrimes and replied to by bootpd. (At request of HP folks.) 841590Srgrimes 85175387Sdelphij04/30/94 gwr@mc.com (Gordon W. Ross) 861590Srgrimes Use memxxx functions unless USE_BFUNCS is defined. 87175387Sdelphij Added -f <file> option to bootptest (requested file). 8887715Smarkm 8987715Smarkm04/29/94 tpaquett@ita.lgc.com (Trevor Paquette) 901590Srgrimes Remove call to haddr_conv802() in sendreply(). 911590Srgrimes The setarp should get the non-transformed address. 921590Srgrimes 931590Srgrimes04/27/94 gwr@mc.com 94172143Sru Improve logic for building bootfile pathname, so a path 951590Srgrimes will be put in the reply if either the client or bootpd 96172143Sru specifies a boot file. (Needed for NetBSD diskless boot) 9750635Speter 9850635Speter04/25/94 shamash@boxhill.com (Ari Shamash) 991590Srgrimes Fix prs_inetaddr() so it allows '_' in hostnames. 100172143Sru 101172143Sru04/16/94 gwr@mc.com (Gordon W. Ross) 1021590Srgrimes Fix setarp for SVR4 (needs to use I_STR ioctl) 1031590Srgrimes Thanks to several people: (all sent the same fix) 1041590Srgrimes Barney Wolff <barney@databus.com>, 10536789Simp bear@upsys.se (Bj|rn Sj|holm), 1061590Srgrimes Michael Kuschke <Michael.Kuschke@Materna.DE>, 1071590Srgrimes 108172143Sru03/25/95 Ulrich Heuer </I=zhhi9/G=Ulrich/S=Heuer/@zhflur.ubs.ubs.ch> 1091590Srgrimes Make option string lengths not include a null terminator. 1101590Srgrimes The trailing null breaks some clients. 1111590Srgrimes 1121590Srgrimes03/15/94 "Edmund J. Sutcliffe" <ejs1@tower.york.ac.uk> 1131590Srgrimes Add support for the "EX" option: Execute a program 1141590Srgrimes before sending a BOOTREPLY to a client. Support for 115175387Sdelphij this option is conditional on YORK_EX_OPTION. 1161590Srgrimes 1171590Srgrimes03/10/94 Nigel Metheringham <nigelm@ohm.york.ac.uk> 11869142Srwatson Make getether.c work on Linux. 11969142Srwatson 1201590Srgrimes03/09/94 Koch@Math.Uni-Duisburg.DE (Peter Koch) 12169142Srwatson Add missing MANDIR definition to Makefile. 12269142Srwatson 12369142Srwatson03/08/94 Jeroen.Scheerder@let.ruu.nl 12469142Srwatson Fix args to report in getether code for Ultrix. 12569142Srwatson Run install individually for each program. 12669142Srwatson 12769142Srwatson--> bootp-2.3.6 12869142Srwatson03/07/94 gwr@mc.com 12969142Srwatson Cleanup for release (run gnu indent, tab-size=4) 13069142Srwatson 13169142Srwatson02/24/94 Jeroen.Scheerder@let.ruu.nl 13269142Srwatson Allow underscore in host names - readfile.c:goodname() 13369142Srwatson Add ConvOldTab.sh - converts 1.1 bootptab to new format. 13469142Srwatson 1351590Srgrimes02/20/94 gwr@mc.com (Gordon W. Ross) 1361590Srgrimes Make readfile tolerant of hardware addresses that start 1371590Srgrimes with a letter. (If lookup_hwa() fails, assume numeric.) 1381590Srgrimes Fix whitespace skip before :vm= auto: and avoid lookup. 1391590Srgrimes 1401590Srgrimes02/12/94 walker@zk3.dec.com (Mary Walker) 141175387Sdelphij Added support for 64-bit longs (for the DEC Alpha) 1421590Srgrimes Allow ieee802 hardware address in bit-reversed oreder 14387715Smarkm 14487715Smarkm02/07/94 hl@tekla.fi (Harald Lundberg) 14587715Smarkm Fix conflict with DUMP_FILE in syslog.h on OSF1 1461590Srgrimes Use int for (struct bootp).bp_xid (for DEC Alpha) 1471590Srgrimes Added Ultrix support to bootptest (getether) 1481590Srgrimes 1491590Srgrimes02/06/94 brezak@ch.hp.com (John Brezak) 1501590Srgrimes Add man-page and install targets to Makefile.NetBSD 1511590Srgrimes Add getether support for NetBSD 1521590Srgrimes 1531590Srgrimes02/05/94 gwr@mc.com (Gordon W. Ross) 1541590Srgrimes Added tags 40,41,42 (NIS domain, NIS server, NTP server) 1551590Srgrimes Add stub to getether for machines not yet supported. 1561590Srgrimes 1571590Srgrimes--> bootp-2.3.5 158172143Sru01/29/94 gwr@mc.com (Gordon W. Ross) 1591590Srgrimes Make bootpgw put a correct address in "giaddr" when 1601590Srgrimes the client request came via broadcast. 1611590Srgrimes 1621590Srgrimes01/22/94 gwr@mc.com (Gordon W. Ross) 1631590Srgrimes Fix syslog call (missing "facility" code) 1641590Srgrimes Add SVR4/Streams support to getif() and getether() 1651590Srgrimes Fix getif bug (matched when it should not) 1661590Srgrimes Macro-ize lots of similar cases in readfile.c 1671590Srgrimes 1681590Srgrimes12/27/93 brezak@ch.hp.com (John Brezak) 1691590Srgrimes Remove all newlines passed to syslog(3) 17087715Smarkm Add /etc/ethers support for NetBSD. 171172207Sjeff 1721590Srgrimes12/18/93 gwr@mc.com (Gordon W. Ross) 1731590Srgrimes Fix bootptest IP address printing. 17469896Smckusick Fix byte-order bugs in bootpgw and bootptest. 17587715Smarkm Clean-up signed/unsigned mismatches. 1761590Srgrimes Back out SLIP support changes for now 1771590Srgrimes (code fragment saved in ToDo). 1781590Srgrimes 1791590Srgrimes--> bootp-2.3.4 (beta test release) 180175387Sdelphij12/12/93 gwr@mc.com (Gordon W. Ross) 1811590Srgrimes Fixed several more NULL references in readfile. 1821590Srgrimes Added proper length checks to option insertions. 1831590Srgrimes 1841590Srgrimes--> bootp-2.3.3 (beta test release) 185164689Syar12/09/93 gwr@mc.com (Gordon W. Ross) 1861590Srgrimes Added ASSERT checks to readfile.c:fill_defaults() 1871590Srgrimes 1881590Srgrimes12/08/93 brezak@ch.hp.com (John Brezak) 189175387Sdelphij New Makefile.NetBSD 1901590Srgrimes Added setsid() and #ifdef TIOCNOTTY 19187715Smarkm (bootpd.c, bootpgw.c) 19287715Smarkm Moved #include <net/if.h> out of #ifdef SUNOS 1931590Srgrimes Fixed several multiple declaration problems 194 19512/04/93 gwr@mc.com (Gordon W. Ross) 196 Re-implemented Extension File support 197 based on work by Jason Zions <jazz@hal.com> 198 Added support for Reply-Address-Override to support 199 HP clients (need reply sent to broadcast address) 200 from David R. Linn <drl@vuse.vanderbilt.edu> 201 202--> bootp-2.3.2 (beta test release) 20311/27/93 gwr@mc.com (Gordon W. Ross) 204 Incorporated bootptest into the bootp release. 205 Added ANSI function prototypes everywhere. 206 20711/17/93 dpm@depend.com (David P. Maynard) 208 Added automatic SLIP address determination. 209 (This is NOT dynamic IP address assignment.) 210 Cleaned up some type warnings from gcc. 211 21211/11/93 gwr@mc.com (Gordon W. Ross) 213 Works (again) with no -DSYSLOGD defined. 214 Provide a default value for the subnet mask. 215 More #ifdef's for SunOS specific code (lookup_hwa) 216 Added a simple BOOTP gateway program: bootpgw 217 Reorganized for more code sharing (with bootpgw) 218 219--> bootp-2.3.1 (alpha test release) 22011/08/93 gwr@mc.com (Gordon W. Ross) 221 Back-out changes to honor option structure in request 222 (this needs to be a per-client option). 223 Merged changes from NetBSD and Columbia versions. 224 Allow host name anywhere IP address is expected. 225 Add null terminators to option strings. 226 Add missing symbols to dump routine, dump symbols 227 in alphabetical order, one tag per line. 228 229--> bootp-2.2.D (posted as patch 2) 23010/19/93 gwr@mc.com (Gordon W. Ross) 231 Fix references to free memory (leads to core dumps). 232 233--> bootp-2.2.C (posted as patch 1) 23410/14/93 gwr@mc.com (Gordon W. Ross) 235 Fix data access alignment problems on SPARC/Solaris. 236 237--> bootp-2.2.B (posted to usenet) 23810/11/93 gwr@mc.com (Gordon W. Ross) 239 Allow extended-length BOOTP packets (more vendor options) 240 Honor option format specified in client requests. 241 Added Solaris-2.X changes from db@sunbim.be (Danny Backx). 242 243All history before this point may be inaccurate. Please send 244changes if any of the credits are incorrect. -gwr 245 246--> bootp-2.2+NetBSD released 24708/27/93 brezak@ch.hp.com (John Brezak) 248 Added RFC 1396 support (tags 14-17) 249 250--> bootp-2.2+NetBSD (version?) 251??/??/93 mckim@lerc.nasa.gov (Jim McKim) 252 Ported to NetBSD (see Makefile.NetBSD) 253 Set server host name in responses. 254 Check all interfaces in address match routine. 255 256--> bootp-2.2+FdC released 25701/27/93 <fdc@watsun.cc.columbia.edu> Frank da Cruz 258 Added RFC 1395 information: Merit dump file, 259 client domain name, swap server address, root path. 260 261--> bootp-2.2alpha released 26211/14/91 <walt+@cmu.edu> Walter L. Wimer 263 Add "td" to TFTP directory for "secure" (chroot) TFTP. 264 Add "sa" tag to set explicit server address. 265 Automatically determine if child of inetd. 266 Use RFC 1048 format when request has magic number zero. 267 Fixed various bugs. Give bootptab a separate man page. 268 269--> bootp-2.1 released 27001/09/89 <walt+@cmu.edu> Walter L. Wimer 271 Check world read bit on TFTP boot file. 272 Add support for rfc1085 "bootfile size" tag. 273 Add generic tags. Fix byte order of rfc1048 data. 274 Fix various crashing bugs. 275 276--> bootp-2.0 released 27707/15/88 <walt+@cmu.edu> Walter L. Wimer 278 Added vendor information to conform to RFC1048. 279 Adopted termcap-like file format to support above. 280 Added hash table lookup instead of linear search. 281 Other cleanups. 282 283--> bootp-1.3(?) released 28407/24/87 <ddp@andrew.cmu.edu> Drew D. Perkins 285 Modified to use syslog instead of Kovar's 286 routines. Add debugging dumps. Many other fixups. 287 288--> bootp-1.2(?) released 28907/30/86 David Kovar at Carnegie Mellon University 290 Modified to work at CMU. 291 292--> bootp-1.1 released 29301/22/86 Bill Croft at Stanford University 294 Original created. 295