History log of /freebsd-10.0-release/libexec/bootpd/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


250582 12-May-2013 joel

mdoc sweep.


246143 31-Jan-2013 glebius

Retire struct sockaddr_inarp.

Since ARP and routing are separated, "proxy only" entries
don't have any meaning, thus we don't need additional field
in sockaddr to pass SIN_PROXY flag.

New kernel is binary compatible with old tools, since sizes
of sockaddr_inarp and sockaddr_in match, and sa_family are
filled with same value.

The structure declaration is left for compatibility with
third party software, but in tree code no longer use it.

Reviewed by: ru, andre, net@


233466 25-Mar-2012 joel

Make sure sections are sorted into conventional order.


229780 07-Jan-2012 uqs

Spelling fixes for libexec/


228584 16-Dec-2011 dim

In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printf
length modifier for the difference between two pointers.

MFC after: 1 week


228581 16-Dec-2011 dim

In libexec/bootpd/bootpgw/bootpgw.c, add a cast for the remaining
minutes of activity, to avoid a warning on platforms where time_t is a
32-bit integer.

MFC after: 1 week


216226 06-Dec-2010 glebius

Catch up with kernel using time_uptime to drive ARP timeouts.

Noticed by: jilles


214054 19-Oct-2010 uqs

mdoc: drop even more redundant .Pp calls

No change in rendered output, less mandoc lint warnings.

Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp


201380 02-Jan-2010 ed

Make WARNS=6 the default for libexec/.

Just like bin/ and sbin/, I think setting WARNS to the highest value
possible will make it more attractive for people to fix warnings.

- The WARNS variable is set in the Makefile in the directory of the
application itself, making it more likely that it will be removed out
of curiosity to see what happens.
- New applications will most likely build with WARNS=6 out of the box,
because the author would more likely fix the warnings during
development than lower WARNS.

Unfortunately almost all apps in libexec require a lowered value of
WARNS.


190601 31-Mar-2009 cognet

Use RTF_LLDATA.


186119 15-Dec-2008 qingli

This main goals of this project are:
1. separating L2 tables (ARP, NDP) from the L3 routing tables
2. removing as much locking dependencies among these layers as
possible to allow for some parallelism in the search operations
3. simplify the logic in the routing code,

The most notable end result is the obsolescent of the route
cloning (RTF_CLONING) concept, which translated into code reduction
in both IPv4 ARP and IPv6 NDP related modules, and size reduction in
struct rtentry{}. The change in design obsoletes the semantics of
RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland
applications such as "arp" and "ndp" have been modified to reflect
those changes. The output from "netstat -r" shows only the routing
entries.

Quite a few developers have contributed to this project in the
past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and
Andre Oppermann. And most recently:

- Kip Macy revised the locking code completely, thus completing
the last piece of the puzzle, Kip has also been conducting
active functional testing
- Sam Leffler has helped me improving/refactoring the code, and
provided valuable reviews
- Julian Elischer setup the perforce tree for me and has helped
me maintaining that branch before the svn conversion


153706 24-Dec-2005 trhodes

Make tv_sec a time_t on all platforms but alpha. Brings us more in line with
POSIX. This also makes the struct correct we ever implement an i386-time64
architecture. Not that we need too.

Reviewed by: imp, brooks
Approved by: njl (acpica), des (no objects, touches procfs)
Tested with: make universe


141918 14-Feb-2005 stefanf

Fix most cases where the address of an int is passed to a function expecting a
socklen_t * argument.


141846 13-Feb-2005 ru

Expand *n't contractions.


140414 18-Jan-2005 ru

Sort sections.


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


132848 29-Jul-2004 kan

Call nmatch function with parameters casted to types the function actually
expects.


131505 03-Jul-2004 ru

Deal with double whitespace.


131487 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


129303 16-May-2004 ru

Bump document date for the latest change.
Minor markup tweaks.


125769 13-Feb-2004 roam

Add the '-h hostname' to usage(), too.
While I'm here, sync the usage() synopsis with the manual page synopsis:
make the [-i | -s] explicit and sort the options alphabetically.

Reminded by: ru
MFC after: 3 days


125654 10-Feb-2004 roam

Document the '-h hostname' option, which seems to have been present
ever since rev. 1.1 of bootpd.c.
While I'm here, rearrange the synopsis a bit: sort the options and
clarify that -i and -s are mutually exclusive.

Reported by: Atanas Buchvarov <nasko@nove.bg>
MFC after: 3 days


116371 15-Jun-2003 jmg

fix a couple typos in the comments

From NetBSD's bootpd (in src/usr.sbin/bootp)


116370 15-Jun-2003 jmg

fix bootpd to use fd_set. For some reason on Sparc, using int with
select is broken.


110395 05-Feb-2003 charnier

Add FBSDID. udp/bootps -> bootps/udp. Use err(3).


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


105041 13-Oct-2002 kris

Don't call report() without a format string.

MFC after: 3 days


105039 13-Oct-2002 kris

Use strlcpy instead of incorrectly using strncpy.

MFC after: 2 weeks


104742 09-Oct-2002 alfred

de-__P()


102411 25-Aug-2002 charnier

Replace various spelling with FALLTHROUGH which is lint()able


101828 13-Aug-2002 ru

mdoc(7) police: Removed redundant .Ns calls.


99500 06-Jul-2002 charnier

The .Nm utility


97419 28-May-2002 alfred

Assume __STDC__, remove non-__STDC__ code. Remove private __P.


97418 28-May-2002 alfred

Assume __STDC__, remove non-__STDC__ code.
Remove private __P.


97417 28-May-2002 alfred

This code defined a private __P, nuke it.


97416 28-May-2002 alfred

Assume __STDC__, remove non-__STDC__ code.

Reviewed by: md5


90159 04-Feb-2002 kris

Mark report() as printflike and fix resulting warnings, including one bug
(get_errmsg -> get_errmsg())


84125 29-Sep-2001 iedowse

Avoid a few compiler warnings (printf codes, missing includes etc).

PR: bin/30864
Obtained from: Dan Lukes <dan@obluda.cz>
MFC after: 1 week


84119 29-Sep-2001 iedowse

Missing `break' statements caused two error messages to become
"unkown error" [sic]. Add the missing breaks, and correct the
spelling typo.

PR: bin/30865
Submitted by: Dan Lukes <dan@obluda.cz>
MFC after: 1 week


83941 25-Sep-2001 iedowse

RFC2132 is not clear about whether the "Maximum DHCP Message Size"
refers to the size of the whole ethernet packet, just the DHCP
message within the UDP payload, or something else. bootpd interpreted
it as a maximum UDP payload size, so it could end up sending
fragmented packets to clients (such as some versions of Etherboot)
that used different interpretations of the maximum message size.

Switch to the most conservative interpretation: ensure that the
ethernet packet containing the response is no larger than the
specified maximum message size. This matches the behaviour of
the ISC dhcpd.

MFC after: 1 week


81449 10-Aug-2001 ru

mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.


79754 15-Jul-2001 dd

Remove whitespace at EOL.


74814 26-Mar-2001 ru

- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.


74529 20-Mar-2001 ru

Set the default manual section for libexec/ to 8.


72640 18-Feb-2001 asmodai

Preceed/preceeding are not english words. Use precede or preceding.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


71112 16-Jan-2001 ru

man(7) -> mdoc(7).


69913 12-Dec-2000 ru

mdoc(7) police: .Os CMU -> .Os, split authors for better output.


69857 11-Dec-2000 ru

mdoc(7) police: use canonical form of .Dd macro.


69793 09-Dec-2000 obrien

Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.


69200 26-Nov-2000 kris

Constify


68949 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


68561 10-Nov-2000 dirk

Fix to=auto in bootptab.

PR: misc/5574
Submitted by: Bart Robinson <lomew@marker.cs.utah.edu>
Reviewed by: wollman


65426 04-Sep-2000 imp

strerror is declared in <string.h>
errno is declared in <errno.h>


53105 12-Nov-1999 marcel

Fix bootpd for Alpha.

bptypes.h originally defined int32 to be of type long. This obviously
doesn't work on the Alpha. By defining int32 (and u_int32) in terms of
int32_t (and u_int32_t) it now is what it says it should be.

Two occurrences of 'unsigned int32' have been changed to 'u_int32' for
consistency.

Submitted by: Wilko Bulte <wilko@yedi.iaf.nl>


50533 28-Aug-1999 mpp

Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48786 12-Jul-1999 mpp

Fix a couple of typos.

PR: 12610
Submitted by: Seth <seth@freebie.dp.ny.frb.org>


46078 25-Apr-1999 imp

More egcs warning fixes:
o main returns int not void
o use return 0 at end of main when needed
o use braces to avoid potentially ambiguous else
o don't default to type int (and also remove a useless register
modifier).

Reviewed by: obrien and chuckr


45422 07-Apr-1999 brian

Ensure that things returned by gethostname() and
friends are terminated and allow for a maximum
host name length of MAXHOSTNAMELEN - 1.
Put parenthesis around sizeof args.
Make some variables static.
Fix telnetd -u (broken by my last commit)

Prompted by: bde


41734 13-Dec-1998 eivind

Block for buffer overflow.


41699 12-Dec-1998 dillon

PR: bin/9031

Changed unbounded strcpy() to snprintf() to fix buffer overrun exploit


37261 29-Jun-1998 bde

Don't assume that time_t is long. Fixed printf format errors.


36617 03-Jun-1998 joerg

Use gethostname(3) to obtain the local host name, as opposed to uname(3).
Otherwise the length of the name is limited to 32 characters only.


36601 03-Jun-1998 jkoshy

Spelling corrections.

PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>


33035 03-Feb-1998 charnier

Convert to mdoc. Header -> Id. Typo.


32570 16-Jan-1998 bde

Removed most unused includes of <net/if_var.h> outside the kernel.


32084 29-Dec-1997 max

Typo fix: bootgw -> bootpgw


31971 24-Dec-1997 imp

Use snprintf rather than printf out of paranoia
Obtained from: OpenBSD


28660 24-Aug-1997 joerg

Fix description of -t option.

PR: 3382
Submitted by: furuta@sra.co.jp (Atsushi Furuta)


25717 11-May-1997 phk

Don't rely on stderr to report bad news.


22989 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22413 07-Feb-1997 jkh

Fix a hop count datatype bogon pointed out in PR#2642 (though my fix
was slightly different than the one submitted).
Submitted by: Elmar Bartel <bartel@informatik.tu-muenchen.de>


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


21264 03-Jan-1997 wollman

Update to match changes in <net/if.h>.


20287 10-Dec-1996 wollman

Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves. (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!) Also fix up some
other #include messes while we're at it.


19673 12-Nov-1996 phk

doc/1994: spelling error.

Submitted by: David Leonard David Leonard <d@scry.dstc.edu.au>


18471 22-Sep-1996 wosch

add forgotten $Id$


18379 19-Sep-1996 phk

Make the inetd suggestion slightly less confusing.


18237 11-Sep-1996 pst

bootpd.dump is in /tmp


13849 02-Feb-1996 mpp

Add some missing manual page links.


13582 23-Jan-1996 pst

Fix getif() to work under 4.3bsd and later


13577 23-Jan-1996 pst

Merge back in 4.4bsd ARP changes by hand


13576 23-Jan-1996 pst

Add bootpgw makefile


13575 23-Jan-1996 pst

Fix conflicts from 2.4.3 merge


13573 23-Jan-1996 pst

This commit was generated by cvs2svn to compensate for changes in r13572,
which included commits to RCS files with non-trunk default branches.


13570 23-Jan-1996 pst

This commit was generated by cvs2svn to compensate for changes in r13569,
which included commits to RCS files with non-trunk default branches.


11050 28-Sep-1995 bde

Fix SRCS (.c's were .o's) so that `make depend' works.


9720 25-Jul-1995 wpaul

Uncomment 'CFLAGS+=ETC_ETHERS' -- we have support for this as of 2.0.5.


8870 30-May-1995 rgrimes

Remove trailing whitespace.


7766 12-Apr-1995 gpalmer

The servers bootpd & bootpgw live in /usr/libexec not /etc. Correct the
references in the man page.


6034 30-Jan-1995 dfr

Discard any messages which are buffered on the routing socket before using
it otherwise the response to one of our routing messages could be lost due
to buffer overflow.


5661 16-Jan-1995 dfr

Change to use RTM_CHANGE when an arp entry already exists. This closes
problem bin/57 which was caused when an incomplete entry was present for the
host which was booting.


4131 04-Nov-1994 jkh

__386BSD__ -> __FreeBSD__

I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?


3230 30-Sep-1994 pst

This commit was generated by cvs2svn to compensate for changes in r3229,
which included commits to RCS files with non-trunk default branches.