summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
AgeCommit message (Expand)Author
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
2014-08-11validate len field for proper length, not just "not zero."Tobias Stoeckmann
2014-07-28Fix memory exhaustion occurring on DHCP options with 0 length.Tobias Stoeckmann
2014-07-26Fix very hard to reach DoS attack vector, which would involve more thanTobias Stoeckmann
2014-07-11Fix DHCPINFORM not to lookup the lease database, not to fill the yiaddrYASUOKA Masahiko
2014-07-11tweak previous;Jason McIntyre
2014-07-11Fix typoYASUOKA Masahiko
2014-07-11Add -u option to bind UDP port as a socket to answer DHCPINFORM fromYASUOKA Masahiko
2014-07-09Fix classless-{ms-,}static-routes to comply RFC 3442. Number ofYASUOKA Masahiko
2014-06-11Prettify & refactor, no functional change.Martin Pelikan
2014-05-07back out the previous ICMP simplifying diff, it caused livelocks.Martin Pelikan
2014-05-05Don't call the BOOTP handler indirectly.Martin Pelikan
2014-05-05Don't call the ICMP handler indirectly + clean up a bit.Martin Pelikan
2014-02-08Create dhclient lease files and dhcpd lease files with permissions 0640,Kenneth R Westerback
2014-01-21sort;Jason McIntyre
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
2014-01-03consistent Nd lines for the various dhcp bits; help/ok krwJason McIntyre
2013-12-18Two 'break;'s in a row seems excessive.Kenneth R Westerback
2013-12-05Stop pretending we still support FDDI or token ring hardware types.Kenneth R Westerback