Clean up deleted files.
This commit is contained in:
parent
ab0534a763
commit
2d9b0d8e36
|
@ -1,37 +0,0 @@
|
|||
Subject: Updated RFC1048 BOOTP server now available
|
||||
|
||||
Well, no surprise, bootpd 2.0 had a few bugs. A new improved version,
|
||||
bootpd 2.1, is now available for anonymous FTP from lancaster.andrew.cmu.edu
|
||||
(128.2.13.21). The new server can be found in pub/bootp.2.1.tar.
|
||||
|
||||
Bug fixes and improvements in version 2.1 include:
|
||||
|
||||
o The definition of "access to the bootfile" has been changed to require the
|
||||
public read access bit to be set. This is required by tftpd(8), so the
|
||||
server will not reply with a file which a client cannot obtain via TFTP.
|
||||
o The RFC1084 bootfile size tag has been implemented. It allows either
|
||||
automatic or manual specification of the bootfile size in 512-octet blocks.
|
||||
o Generic tags now work as advertised.
|
||||
o A subtle bug which caused strange parsing behavior under certain conditions
|
||||
has been fixed.
|
||||
o The RFC1048 vendor information now has the correct byte order on
|
||||
little-endien machines such as the VAX.
|
||||
o Failure to specify the bootfile home directory and/or default bootfile in
|
||||
the configuration file no longer causes server crashes. The server now
|
||||
makes a reasonably intelligent choice if this configuration information is
|
||||
missing. This is documented in the man page.
|
||||
o BOOTP requests from clients which already know their IP addresses no longer
|
||||
cause server crashes.
|
||||
|
||||
|
||||
|
||||
Please direct questions, comments, and bug reports to
|
||||
Walt Wimer <ww0n@andrew.cmu.edu> or Drew Perkins <ddp@andrew.cmu.edu>.
|
||||
|
||||
|
||||
|
||||
Good luck,
|
||||
|
||||
Walt Wimer
|
||||
Network Development
|
||||
Carnegie Mellon University
|
|
@ -1,51 +0,0 @@
|
|||
|
||||
New features in version 2.2 include:
|
||||
|
||||
o A new "td" tag allows the specification of a "TFTP directory" for use
|
||||
with so-called "secure" implementations of tftpd which chroot(2) to a
|
||||
particular directory.
|
||||
|
||||
o A new "sa" tag allows the explicit specification of the TFTP
|
||||
"server address." Formerly, the 'siaddr' field of the BOOTREPLY was
|
||||
always filled with the IP address of the BOOTP server. The "sa" tag
|
||||
now allows the BOOTP server and the TFTP server to be two different
|
||||
machines, if desired.
|
||||
|
||||
o The server now automatically determines whether it is running as a
|
||||
standalone program (e.g. invoked by hand from a shell) or as a child of
|
||||
/etc/inetd. The -s option and a new -i option are provided to force
|
||||
standalone or inetd mode if necessary.
|
||||
|
||||
o When the vendor magic cookie is zero, BOOTP replies now default to the
|
||||
RFC 1084 vendor format, rather than the old CMU format. This helps
|
||||
interoperability with uncooperative BOOTP clients which want RFC 1084
|
||||
format but don't bother filling in the magic cookie properly to tell
|
||||
the server... *sigh* (This makes the ":vm=rfc1048:" tag unnecessary
|
||||
in most cases now. Oh, the "vm" tag now accepts "rfc1084" as well as
|
||||
"rfc1048" -- they mean the same thing.)
|
||||
|
||||
o Log messages now include the specific network type. For example, rather
|
||||
than saying "request from hardware address ABCDEF012345", the message is
|
||||
now "request from Ethernet address ABCEDF012345", or "request from
|
||||
IEEE802 address 4000A1B2C3D4".
|
||||
|
||||
|
||||
Bug fixes in this version include:
|
||||
|
||||
o The automatic bootfile-size calculation now works correctly when the
|
||||
file size is an exact multiple of 512 octets. It used to return a number
|
||||
which was one 512-octet unit greater than necessary.
|
||||
|
||||
o A bug in comparing subnet masks has been fixed.
|
||||
|
||||
o A bug in calculating the size of the vendor information area when
|
||||
inserting the hostname has been fixed.
|
||||
|
||||
|
||||
Other changes:
|
||||
|
||||
o The man page has been split into two man pages. One covers the server
|
||||
itself (bootpd.8) and the other covers the configuration file format
|
||||
(bootptab.5).
|
||||
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
|
||||
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 most of the enhancements and bug-fixes from the
|
||||
NetBSD, Columbia, and other versions.
|
||||
|
||||
New features:
|
||||
|
||||
Added a simple BOOTP gateway program: bootpgw
|
||||
Allow host name anywhere IP address is expected.
|
||||
Automatically lookup the IP address when the name of a
|
||||
bootptab entry is a valid hostname.
|
||||
(Dummy entries names should start with '.')
|
||||
Merged changes from NetBSD and Columbia versions.
|
||||
Merged changes for Solaris-2.X and SVR4 systems.
|
||||
Combined bootptest into the bootp release.
|
||||
Merged tag 18 support (:ef=...:) from Jason Zions.
|
||||
Use :ef=extension_file_name: and make the
|
||||
extension files for all clients using bootpef.
|
||||
Merged HP compatibility (:ra=...:) from David R Linn.
|
||||
Allows you to override the reply address.
|
||||
(i.e. send the reply to a broadcast address)
|
||||
Add /etc/ethers support for NetBSD.
|
||||
More systems support getether (Ultrix, OSF, NetBSD)
|
||||
Added RFC 1533 tags 40,41,42
|
||||
:yd=<NIS domain>:ys=<NIS server>:nt=<NTP server>:
|
||||
ConvOldTab.sh to convert old (1.1) bootptab to new format.
|
||||
|
||||
Fixes included:
|
||||
Fixed references to free host structures.
|
||||
(used to cause core dump on Solaris)
|
||||
Remove change that added null terminator to string options.
|
||||
(this annoyed some clients...)
|
||||
Add missing symbols to dump routine, fix order.
|
||||
Works (again) with no -DSYSLOGD defined.
|
||||
Fixed several more NULL references in readfile.
|
||||
Added proper length checks to option insertions.
|
||||
Fixed bootptest IP address printing.
|
||||
Cleaned-up signed/unsigned and byteorder bugs.
|
||||
Added SVR4/Streams support to getif and getether
|
||||
Removed extra newlines in syslog messages.
|
||||
Specify facility code when calling syslog(3)
|
||||
When lookup_hwa fails, assume numeric HW address.
|
||||
|
||||
Systems on which I have seen this code work:
|
||||
SunOS 4.X (Solaris 1.X)
|
||||
SunOS 5.X (Solaris 2.X)
|
||||
System V/386 Rel. 4.0
|
||||
|
||||
Systems on which others say this code works:
|
||||
CDC EP/IX (1.4.3, 2.1.1)
|
||||
DEC Ultrix (4.2, 4.3)
|
||||
NetBSD (Current-1/94)
|
||||
OSF/1 (DEC Alpha CPU)
|
||||
|
||||
Gordon W. Ross Mercury Computer Systems
|
||||
gwr@mc.com 199 Riverneck Road
|
||||
508-256-1300 Chelmsford, MA 01824-2820
|
|
@ -1,141 +0,0 @@
|
|||
#!/bin/sh
|
||||
# convert_bootptab Jeroen.Scheerder@let.ruu.nl 02/25/94
|
||||
# This script can be used to convert bootptab files in old format
|
||||
# to new (termcap-like) bootptab files
|
||||
#
|
||||
# The old format - real entries are commented out by '###'
|
||||
#
|
||||
# Old-style bootp files consist of two sections.
|
||||
# The first section has two entries:
|
||||
# First, a line that specifies the home directory
|
||||
# (where boot file paths are relative to)
|
||||
|
||||
###/tftpboot
|
||||
|
||||
# The next non-empty non-comment line specifies the default bootfile
|
||||
|
||||
###no-file
|
||||
|
||||
# End of first section - indicated by '%%' at the start of the line
|
||||
|
||||
###%%
|
||||
|
||||
# The remainder of this file contains one line per client
|
||||
# interface with the information shown by the table headings
|
||||
# below. The host name is also tried as a suffix for the
|
||||
# bootfile when searching the home directory (that is,
|
||||
# bootfile.host)
|
||||
#
|
||||
# Note that htype is always 1, indicating the hardware type Ethernet.
|
||||
# Conversion therefore always yields ':ha=ether:'.
|
||||
#
|
||||
# host htype haddr iaddr bootfile
|
||||
#
|
||||
|
||||
###somehost 1 00:0b:ad:01:de:ad 128.128.128.128 dummy
|
||||
|
||||
# That's all for the description of the old format.
|
||||
# For the new-and-improved format, see bootptab(5).
|
||||
|
||||
set -u$DX
|
||||
|
||||
case $#
|
||||
in 2 ) OLDTAB=$1 ; NEWTAB=$2 ;;
|
||||
* ) echo "Usage: `basename $0` <Input> <Output>"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
if [ ! -r $OLDTAB ]
|
||||
then
|
||||
echo "`basename $0`: $OLDTAB does not exist or is unreadable."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if touch $NEWTAB 2> /dev/null
|
||||
then
|
||||
:
|
||||
else
|
||||
echo "`basename $0`: cannot write to $NEWTAB."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
cat << END_OF_HEADER >> $NEWTAB
|
||||
# /etc/bootptab: database for bootp server (/etc/bootpd)
|
||||
# This file was generated automagically
|
||||
|
||||
# Blank lines and lines beginning with '#' are ignored.
|
||||
#
|
||||
# Legend: (see bootptab.5)
|
||||
# first field -- hostname (not indented)
|
||||
# bf -- bootfile
|
||||
# bs -- bootfile size in 512-octet blocks
|
||||
# cs -- cookie servers
|
||||
# df -- dump file name
|
||||
# dn -- domain name
|
||||
# ds -- domain name servers
|
||||
# ef -- extension file
|
||||
# gw -- gateways
|
||||
# ha -- hardware address
|
||||
# hd -- home directory for bootfiles
|
||||
# hn -- host name set for client
|
||||
# ht -- hardware type
|
||||
# im -- impress servers
|
||||
# ip -- host IP address
|
||||
# lg -- log servers
|
||||
# lp -- LPR servers
|
||||
# ns -- IEN-116 name servers
|
||||
# ra -- reply address
|
||||
# rl -- resource location protocol servers
|
||||
# rp -- root path
|
||||
# sa -- boot server address
|
||||
# sm -- subnet mask
|
||||
# sw -- swap server
|
||||
# tc -- template host (points to similar host entry)
|
||||
# td -- TFTP directory
|
||||
# to -- time offset (seconds)
|
||||
# ts -- time servers
|
||||
# vm -- vendor magic number
|
||||
# Tn -- generic option tag n
|
||||
#
|
||||
# Be careful about including backslashes where they're needed. Weird (bad)
|
||||
# things can happen when a backslash is omitted where one is intended.
|
||||
# Also, note that generic option data must be either a string or a
|
||||
# sequence of bytes where each byte is a two-digit hex value.
|
||||
|
||||
# First, we define a global entry which specifies the stuff every host uses.
|
||||
# (Host name lookups are relative to the domain: your.domain.name)
|
||||
|
||||
END_OF_HEADER
|
||||
|
||||
# Fix up HW addresses in aa:bb:cc:dd:ee:ff and aa-bb-cc-dd-ee-ff style first
|
||||
# Then awk our stuff together
|
||||
sed -e 's/[:-]//g' < $OLDTAB | \
|
||||
nawk 'BEGIN { PART = 0 ; FIELD=0 ; BOOTPATH="unset" ; BOOTFILE="unset" }
|
||||
/^%%/ {
|
||||
PART = 1
|
||||
printf ".default:\\\n\t:ht=ether:\\\n\t:hn:\\\n\t:dn=your.domain.name:\\\n\t:ds=your,dns,servers:\\\n\t:sm=255.255.0.0:\\\n\t:hd=%s:\\\n\t:rp=%s:\\\n\t:td=%s:\\\n\t:bf=%s:\\\n\t:to=auto:\n\n", BOOTPATH, BOOTPATH, BOOTPATH, BOOTFILE
|
||||
next
|
||||
}
|
||||
/^$/ { next }
|
||||
/^#/ { next }
|
||||
{
|
||||
if ( PART == 0 && FIELD < 2 )
|
||||
{
|
||||
if ( FIELD == 0 ) BOOTPATH=$1
|
||||
if ( FIELD == 1 ) BOOTFILE=$1
|
||||
FIELD++
|
||||
}
|
||||
}
|
||||
{
|
||||
if ( PART == 1 )
|
||||
{
|
||||
HOST=$1
|
||||
HA=$3
|
||||
IP=$4
|
||||
BF=$5
|
||||
printf "%s:\\\n\t:tc=.default:\\\n\t:ha=0x%s:\\\n\t:ip=%s:\\\n\t:bf=%s:\n", HOST, HA, IP, BF
|
||||
}
|
||||
}' >> $NEWTAB
|
||||
|
||||
exit 0
|
|
@ -1,14 +0,0 @@
|
|||
# bootpgw/Makefile
|
||||
# $Id: Makefile,v 1.1.1.1 1994/05/30 20:18:34 gwr Exp $
|
||||
|
||||
PROG= bootpgw
|
||||
SRCDIR= ${.CURDIR}/../bootpd
|
||||
CFLAGS+= -DSYSLOG -DDEBUG -I${SRCDIR}
|
||||
.PATH: ${SRCDIR}
|
||||
|
||||
SRCS= bootpgw.c getif.c hwaddr.c report.c
|
||||
|
||||
MAN8=
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue