History log of /freebsd-12.1/libexec/bootpd/bootpd.c (Results 1 – 25 of 28)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0
# 3d55c57e 28-May-2019 Mark Johnston <[email protected]>

MFC r348066, r348090:
bootpd: Add an option to skip modifications to the ARP table.

PR: 30854


# e848f793 19-Dec-2018 Ed Maste <[email protected]>

MFC r342227: bootpd: validate hardware type

Due to insufficient validation of network-provided data it may have been
possible for a malicious actor to craft a bootp packet which could cause
a stack

MFC r342227: bootpd: validate hardware type

Due to insufficient validation of network-provided data it may have been
possible for a malicious actor to craft a bootp packet which could cause
a stack buffer overflow.

admbugs: 850
Reported by: Reno Robert
Reviewed by: markj
Approved by: so
Security: FreeBSD-SA-18:15.bootpd
Sponsored by: The FreeBSD Foundation

show more ...


Revision tags: release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0
# 1acf0dba 07-Jan-2012 Ulrich Spörlein <[email protected]>

Spelling fixes for libexec/


Revision tags: release/7.4.0, release/8.2.0, release/8.1.0, release/7.3.0, release/8.0.0, release/7.2.0, release/7.1.0, release/6.4.0, release/7.0.0, release/6.3.0, release/6.2.0, release/5.5.0, release/6.1.0
# 09c00166 24-Dec-2005 Tom Rhodes <[email protected]>

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.

Reviewe

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

show more ...


Revision tags: release/6.0.0, release/5.4.0
# 78e3eed0 14-Feb-2005 Stefan Farfeleder <[email protected]>

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


Revision tags: release/4.11.0, release/5.3.0, release/4.10.0, release/5.2.1
# dc546e1a 13-Feb-2004 Peter Pentchev <[email protected]>

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

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

show more ...


Revision tags: release/5.2.0, release/4.9.0
# 9bf69bf2 15-Jun-2003 John-Mark Gurney <[email protected]>

fix a couple typos in the comments

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


# b6a0d472 15-Jun-2003 John-Mark Gurney <[email protected]>

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


Revision tags: release/5.1.0, release/4.8.0
# 538015aa 05-Feb-2003 Philippe Charnier <[email protected]>

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


Revision tags: release/5.0.0, release/4.6.2
# f19d047a 28-May-2002 Alfred Perlstein <[email protected]>

This code defined a private __P, nuke it.


# 5ed136e8 28-May-2002 Alfred Perlstein <[email protected]>

Assume __STDC__, remove non-__STDC__ code.

Reviewed by: md5


# be9efd56 04-Feb-2002 Kris Kennaway <[email protected]>

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


# 3f48bf18 25-Sep-2001 Ian Dowse <[email protected]>

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

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

show more ...


Revision tags: release/4.3.0
# 1a37aa56 09-Dec-2000 David E. O'Brien <[email protected]>

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


# 7f3dea24 28-Aug-1999 Peter Wemm <[email protected]>

$Id$ -> $FreeBSD$


# 85966371 25-Apr-1999 Warner Losh <[email protected]>

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 usel

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

show more ...


# 9e9a43bd 07-Apr-1999 Brian Somers <[email protected]>

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.

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

show more ...


# d284feaa 13-Dec-1998 Eivind Eklund <[email protected]>

Block for buffer overflow.


# 3a3c0cf4 12-Dec-1998 Matthew Dillon <[email protected]>

PR: bin/9031

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


# 09caeade 03-Jun-1998 Joerg Wunsch <[email protected]>

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.


# 798c69cd 11-May-1997 Poul-Henning Kamp <[email protected]>

Don't rely on stderr to report bad news.


# 9e522f7a 22-Feb-1997 Peter Wemm <[email protected]>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <[email protected]>

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

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.

show more ...


# 148531ef 22-Sep-1996 Wolfram Schneider <[email protected]>

add forgotten $Id$


# d1c0e759 23-Jan-1996 Paul Traina <[email protected]>

Fix conflicts from 2.4.3 merge


12