summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
AgeCommit message (Expand)Author
2017-08-04Remove unused structs and defines, from Edgar Pettijohn. ok jca@rob
2017-07-31Removed unused struct, also noticed by Edgar Pettijohn. ok jca@, krw@rob
2017-07-11Handle DHCPINFORM from clients behind a DHCP relay.Reyk Floeter
2017-06-28remove a contradictory sentence (see dhcp-options(5)) which claimsJason McIntyre
2017-04-26remove some repetitive text chunks; ok krwJason McIntyre
2017-04-24a little more consistent text for previous; ok krwJason McIntyre
2017-04-24Add 'echo-client-id' statment, so that RFC 6842 behaviour can beKenneth R Westerback
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
2017-04-18Tweak parameters to decode_*, add a check or two, and thus gain most of theKenneth R Westerback
2017-04-18After 11 years of pondering about it I think that brookdavis@freebsd.orgKenneth R Westerback
2017-04-17Use better types for checksum() parameters and local var fromKenneth R Westerback
2017-04-13Remove a bunch of obsolete, unused and irrelevant DHCP client types, fields,Kenneth R Westerback
2017-04-12Inspired by recent dhcrelay changes, bring in stricter CFLAGS!Kenneth R Westerback
2017-04-12One 'foo' per function is enough. Rename one to eliminate shadowing.Kenneth R Westerback
2017-04-12Add missing function prototypes. Mark kw_cmp() as static like allKenneth R Westerback
2017-03-21From a syslog perspective it does not make sense to log fatal andAlexander Bluhm
2017-02-16Bring parse_warn() into the log.[ch] 21st century and adopt the "^"Kenneth R Westerback
2017-02-15Adopt the common verbiage other log.[ch] daemons use to describe '-d'.Kenneth R Westerback
2017-02-13Eliminate pointless'%m' (a.k.a. hand rolled strerror()) by using fatal() andKenneth R Westerback
2017-02-13Adjust some long lines.Kenneth R Westerback
2017-02-13Do the strerror() elimination dance with log_warnx() -> log_warn(),Kenneth R Westerback
2017-02-13Banished to the attic.Kenneth R Westerback
2017-02-13Switch from old errwarn.c logging to shiny new log.[ch].Kenneth R Westerback
2017-02-11Move parse_warning() into parse.c to prepare to replace errwarn.cKenneth R Westerback
2017-02-04Appropriately replace "domain name" with "hostname"; less misleadingJeremie Courreges-Anglas
2016-11-15Replace bzero(3) with memset(3)Ricardo Mestre
2016-10-24Compare server-identifiers and reject packets only *after* applyingKenneth R Westerback
2016-10-21- Use memset(*b, 0, len) instead of bzero(*b, len)Ricardo Mestre
2016-10-12client_identifier is not a string so using strlen() on it isKenneth R Westerback
2016-10-10Stop pretending we use RFC 3046/Option 82/Relay Agent Information.Kenneth R Westerback
2016-10-06Add support for RFC 6842. RFC 2131 said the server MUST NOT echoKenneth R Westerback
2016-10-05Use consistant idiom (intermediate variable 'i' rather than repeatedKenneth R Westerback
2016-10-04Zap stray whitespace.Kenneth R Westerback
2016-08-27Pull in <time.h> for one or more of gmtime, strftime, strptime, time,Philip Guenther
2016-08-17KNF and clean up many comments.Kenneth R Westerback
2016-08-17Ansify function definitions.Kenneth R Westerback
2016-08-05Don't leak the option data of non-DHCPINFORM messages received onKenneth R Westerback
2016-05-28Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).Martin Natano
2016-04-27Remove pledge(2)'s that are called before chroot(2) since in the near futureRicardo Mestre
2016-04-04In udpsockmode codepath dhcpd.c had the promise route for pledge(2) but it wasRicardo Mestre
2016-02-08sys/param.h -> sys/types.h. No need to drag in nitems() only toKenneth R Westerback
2016-02-07avoid a use after free when parsing address ranges from a configJonathan Gray
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2016-02-03be very careful accepting packets via bpf. First check that theKenneth R Westerback
2015-12-21remove NULL-checks before free()mmcc
2015-12-14pledge.Kenneth R Westerback
2015-12-11Actually use default-lease-time, max-lease-time, bootp-lease-lengthKenneth R Westerback
2015-09-14Avoid .Ns right after .Pf, it's pointless.Ingo Schwarze
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.Igor Sobrado