summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
AgeCommit message (Expand)Author
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
2015-06-27Do not send routers (option 3) or static routes (option 33) whenKenneth R Westerback
2015-06-11Don't do manual whitespace adjustments inside semantic macros,Ingo Schwarze
2015-06-02write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.Igor Sobrado
2015-05-18Tweak parsing so that hostnames starting with 0-9 are accepted.Kenneth R Westerback
2015-05-02Hoist common assignments out of a series of if/if-else statementsKenneth R Westerback
2015-05-02Correct switch between current and previous line buffers whenKenneth R Westerback
2015-04-15Avoid using inet_ntoa() twice in a single printf() parameter listKenneth R Westerback
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
2015-02-10Keep track of the last time we scanned the leases to find expiredKenneth R Westerback
2015-02-07Close appropriate ends of pfpipe. Lets pf table process die when dhcpdKenneth R Westerback
2015-02-05The pf table process should die if the pipe to the dhcpd process isKenneth R Westerback
2015-01-21Include <netinet/in.h> before <net/pfvar.h>. In a future change whenTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-11-22/dev/random has created the same effect as /dev/arandom (and /dev/urandom)Theo de Raadt
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
2014-11-11Tweak the the DHCPACK to DHCPINFORM log entry so that it isKenneth R Westerback
2014-11-10Typo: consitent -> consistent.Kenneth R Westerback
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-10-08use reallocarray() to cope with multiplicative integer overflow; ok dougTheo de Raadt
2014-08-18Variables to count seen packets should be unsigned.Tobias Stoeckmann