head	1.3;
access;
symbols
	perseant-exfatfs-base-20250801:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.46
	perseant-exfatfs-base:1.3
	cjep_sun2x:1.3.0.44
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	cjep_staticlib_x:1.3.0.42
	cjep_staticlib_x-base:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	phil-wifi-20200406:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	pgoyette-compat-0728:1.3
	pgoyette-compat-0625:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.40
	pgoyette-compat-base:1.3
	perseant-stdc-iso10646:1.3.0.38
	perseant-stdc-iso10646-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.36
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	bouyer-socketcan:1.3.0.34
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	pgoyette-localcount-20161104:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.32
	pgoyette-localcount-base:1.3
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	tls-earlyentropy:1.3.0.28
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	agc-symver:1.3.0.30
	agc-symver-base:1.3
	tls-maxphys-base:1.3
	yamt-pagecache-base8:1.3
	netbsd-5-2:1.3.0.26
	yamt-pagecache-base7:1.3
	netbsd-5-2-RELEASE:1.3
	netbsd-5-2-RC1:1.3
	yamt-pagecache-base6:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-5-1-2-RELEASE:1.3
	netbsd-5-1-1-RELEASE:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.24
	yamt-pagecache-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.22
	bouyer-quota2-base:1.3
	matt-nb5-pq3:1.3.0.20
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.18
	netbsd-5-1-RELEASE:1.3
	netbsd-5-1-RC4:1.3
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	netbsd-5-1-RC1:1.3
	netbsd-5-0-2-RELEASE:1.3
	netbsd-5-0-1-RELEASE:1.3
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.3.0.16
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.14
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.3
	netbsd-5:1.3.0.12
	netbsd-5-base:1.3
	mjf-devfs2:1.3.0.10
	mjf-devfs2-base:1.3
	yamt-pf42-base4:1.3
	yamt-pf42-base3:1.3
	hpcarm-cleanup-nbase:1.3
	yamt-pf42-base2:1.3
	yamt-pf42:1.3.0.8
	yamt-pf42-base:1.3
	keiichi-mipv6:1.3.0.6
	keiichi-mipv6-base:1.3
	cube-autoconf:1.3.0.4
	cube-autoconf-base:1.3
	hpcarm-cleanup:1.3.0.2
	hpcarm-cleanup-base:1.3
	ver-2-3-8:1.1.1.1
	GWR:1.1.1;
locks; strict;
comment	@# @;


1.3
date	95.03.01.00.00.00;	author mycroft;	state dead;
branches;
next	1.2;

1.2
date	94.05.24.15.20.07;	author gwr;	state Exp;
branches;
next	1.1;

1.1
date	94.04.18.05.15.46;	author glass;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.27.21.44.55;	author gwr;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Clean up deleted files.
@
text
@
This is an enhanced version of the CMU BOOTP server which was derived
from the original BOOTP server created by Bill Croft at Stanford.
This version merges all the enhancements and bug-fixes from the
NetBSD, Columbia, and other versions.

If you have problems or questions about this version, send email to:
	gwr@@mc.com (Gordon W. Ross)

For general questions about BOOTP, send email to the list:
	bootp@@andrew.cmu.edu
You can subscribe to this mailing list by sending mail to:
	bootp-request@@andrew.cmu.edu
(The body of the message should contain: "Add <your-address>")

[ From the NetBSD README file: ]

BOOTPD is a useful adjunct to the nfs diskless boot EPROM code.

The alternatives for initiating a boot of a kernel across a network
are to use RARP protocol, or BOOTP protocol. BOOTP is more flexible;
it allows additional items of information to be returned to the
booting client; it also supports booting across gateways.

[ From the CMU README file: ]

Notes:
1) BOOTP was originally designed and implemented by Bill Croft at Stanford.
   Much of the credit for the ideas and the code goes to him.  We've added
   code to support the vendor specific area of the packet as specified in
   RFC1048.  We've also improved the host lookup algorithm and added some
   extra logging.

2) The server now uses syslog to do logging.  Specifically it uses the 4.3bsd
   version.  I've #ifdef'd all of these calls.  If you are running 4.2 you
   should compile without the -DSYSLOG switch.

3) You must update your /etc/services file to contain the following two lines:
	bootps		67/udp		bootp		# BOOTP Server
	bootpc		68/udp				# BOOTP Client

4) Edit the bootptab.  It has some explanitory comments, and there
   is a manual entry describing its format (bootptab.5)
   If you have any questions, just let us know.

Construction:
    [ See the file Installation which is more up-to-date. -gwr ]

    Make sure all of the files exist first.  If anything is missing,
    please contact either Walt Wimer or Drew Perkins by E-mail or phone.
    Addresses and phone numbers are listed below.

    Type 'make'.  The options at present are: -DSYSLOG which enables logging
    code, -DDEBUG which enables table dumping via signals, and -DVEND_CMU
    which enables the CMU extensions for CMU PC/IP.

    Edit the bootptab.  The man page and the comments in the file should
    explain how to go about doing so.  If you have any problems, let me know.

    Type 'make install'.  This should put all of the files in the right place.

    Edit your /etc/rc.local or /etc/inetd.conf file to start up bootpd upon
    reboot.  The following is a sample /etc/inetd.conf entry:
	# BOOTP server
	bootps dgram udp wait root /usr/etc/bootpd bootpd -i

Care and feeding:
    If you change the interface cards on your host or add new hosts you will
    need to update /etc/bootptab.  Just edit it as before.  Once you write
    it back out, bootpd will notice that there is a new copy and will
    reread it the next time it gets a request.

    If your bootp clients don't get a response then several things might be
    wrong.  Most often, the entry for that host is not in the database.
    Check the hardware address and then check the entry and make sure
    everything is right.  Other problems include the server machine crashing,
    bad cables, and the like.  If your network is very congested you should
    try making your bootp clients send additional requests before giving up.


November 7, 1988


Walter L. Wimer			Drew D. Perkins
ww0n@@andrew.cmu.edu		ddp@@andrew.cmu.edu
(412) 268-6252			(412) 268-8576

4910 Forbes Ave
Pittsburgh, PA  15213

[ Contents description by file: ]

Announce*	Text of release announcements
Installation	Instructions for building and installing
Makefile*	for "make"
README		This file
bootp.h		The protocol header file
bootpd.8	Manual page for bootpd, boopgw
bootpd.c	BOOTP server main module
bootpd.h	 header for above (and others)
bootpef.8	Manual page for bootpef
bootpef.c	BOOTP extension file compiler
bootpgw.c	BOOTP gateway main module
bootptab.5	A manual describing the bootptab format
bootptab.cmu	A sample database file for the server
bootptab.mcs	Another sample from <gwr@@mc.com>
bootptest.8	Manual page for bootptest
bootptest.c	BOOTP test program (fake client)
bootptest.h	 header for above
dovend.c	Vendor Option builder (for bootpd, bootpef)
dovend.h	 header for above
dumptab.c	Implements debugging dump for bootpd
getether.c	For bootptest (not used yet)
getif.c		Get network interface info.
getif.h		 header for above
hash.c		The hash table module
hash.h		 header for above
hwaddr.c	Hardware address support
hwaddr.h	 header for above
lookup.c	Internet Protocol address lookup
lookup.h	 header for above
patchlevel.h	Holds version numbers
print-bootp.c	Prints BOOTP packets (taken from BSD tcpdump)
readfile.c	The configuration file-reading routines
readfile.h	 header for above
report.c	Does syslog-style messages
report.h	 header for above
strerror.c	Library errno-to-string (for systems lacking it)
syslog.conf	Sample config file for syslogd(8)
syslog.h	For systems that lack syslog(3)
try*.c		Test programs (for debugging)
tzone.c		Get timezone offset
tzone.h		 header for above
@


1.2
log
@Wholesale update to bootp-2.3.7 release.
@
text
@@


1.1
log
@move bootpd from othersrc to libexec.  add bootptab file
@
text
@d1 16
a16 1
This is a port of bootpd (CMU version 2.2a) to NetBSD-current.
d25 1
a25 33
There are two parts to this package:

- The bootpd sources to be compiled and installed.

- A patch to etc/services and etc/inetd.conf to define the bootpd
network service names and to define the bootpd task to inetd. These
items are in the PATCH file.

If you have problems or questions about this port, send me email at
mckim@@lerc.nasa.gov

- Jim McKim

enclosed below is the original README:


This directory contains the source for the CMU BOOTP server.  The files
include:

README		This file
bootpd.8	The manual page
bootp.h		The protocol header file
bootpd.h	The server header file
bootpd.c	The main server module
readfile.c	The configuration file-reading routines
hash.h		The hash table header file
hash.c		The hash table module
Version.c	The version module
newvers.sh	A shell script to generate new version numbers
Makefile	The makefile
bootptab	An example database file for the server
gmods		Text describing optional gateway modifications

d39 2
a40 2
    bootps		67/udp				# bootp server
    bootpc		68/udp				# bootp client
d42 3
a44 2
4) The code and the bootptab should be reasonably well commented.  If you 
   have any questions, just let us know.
d47 2
d63 3
a65 1
    reboot.
d91 43
@


1.1.1.1
log
@New makefiles using subdirectories (thanks to Theo).
@
text
@d1 1
a1 16

This is an enhanced version of the CMU BOOTP server which was derived
from the original BOOTP server created by Bill Croft at Stanford.
This version merges all the enhancements and bug-fixes from the
NetBSD, Columbia, and other versions.

If you have problems or questions about this version, send email to:
	gwr@@mc.com (Gordon W. Ross)

For general questions about BOOTP, send email to the list:
	bootp@@andrew.cmu.edu
You can subscribe to this mailing list by sending mail to:
	bootp-request@@andrew.cmu.edu
(The body of the message should contain: "Add <your-address>")

[ From the NetBSD README file: ]
d10 33
a42 1
[ From the CMU README file: ]
d56 2
a57 2
	bootps		67/udp		bootp		# BOOTP Server
	bootpc		68/udp				# BOOTP Client
d59 2
a60 3
4) Edit the bootptab.  It has some explanitory comments, and there
   is a manual entry describing its format (bootptab.5)
   If you have any questions, just let us know.
a62 2
    [ See the file Installation which is more up-to-date. -gwr ]

d77 1
a77 3
    reboot.  The following is a sample /etc/inetd.conf entry:
	# BOOTP server
	bootps dgram udp wait root /usr/etc/bootpd bootpd -i
a102 43
[ Contents description by file: ]

Announce*	Text of release announcements
Installation	Instructions for building and installing
Makefile*	for "make"
README		This file
bootp.h		The protocol header file
bootpd.8	Manual page for bootpd, boopgw
bootpd.c	BOOTP server main module
bootpd.h	 header for above (and others)
bootpef.8	Manual page for bootpef
bootpef.c	BOOTP extension file compiler
bootpgw.c	BOOTP gateway main module
bootptab.5	A manual describing the bootptab format
bootptab.cmu	A sample database file for the server
bootptab.mcs	Another sample from <gwr@@mc.com>
bootptest.8	Manual page for bootptest
bootptest.c	BOOTP test program (fake client)
bootptest.h	 header for above
dovend.c	Vendor Option builder (for bootpd, bootpef)
dovend.h	 header for above
dumptab.c	Implements debugging dump for bootpd
getether.c	For bootptest (not used yet)
getif.c		Get network interface info.
getif.h		 header for above
hash.c		The hash table module
hash.h		 header for above
hwaddr.c	Hardware address support
hwaddr.h	 header for above
lookup.c	Internet Protocol address lookup
lookup.h	 header for above
patchlevel.h	Holds version numbers
print-bootp.c	Prints BOOTP packets (taken from BSD tcpdump)
readfile.c	The configuration file-reading routines
readfile.h	 header for above
report.c	Does syslog-style messages
report.h	 header for above
strerror.c	Library errno-to-string (for systems lacking it)
syslog.conf	Sample config file for syslogd(8)
syslog.h	For systems that lack syslog(3)
try*.c		Test programs (for debugging)
tzone.c		Get timezone offset
tzone.h		 header for above
@
