summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
AgeCommit message (Expand)Author
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
2013-12-05Nuke local #define ETHER_HEADER_SIZE and use the identical value'dKenneth R Westerback
2013-11-22unsigned char cast for some ctype callsTheo de Raadt
2013-10-21Use the provided netmask on the subnet value provided in 'subnet'Kenneth R Westerback
2013-10-19fix a few obvious .Ar markup errors (unfortunately, there are many more)Ingo Schwarze
2013-10-18Scattering a few bcopy()'s around source using mostly memcpy() is justKenneth R Westerback
2013-10-18%d -> %lld, add (long long) cast to time_t variables. Make guentherKenneth R Westerback
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-07-16simplify some icky macros; from Jan Stary, tweaked by meJason McIntyre
2013-07-15remove non-standard section: it does nothing for this page;Jason McIntyre
2013-07-14merge the relevant bits of dhcp(8) into dhclient(8) and dhcpd(8),Jason McIntyre
2013-07-11update (or add) STANDARDS;Jason McIntyre
2013-06-04Fix "\" escape handling in read_string().Kenneth R Westerback
2013-05-16poll(2) might have slept for an arbitrary amount of time. We shouldGerhard Roth
2013-04-22When sync'ing, look for lease by hwaddr and then ipaddr. Not hwaddrKenneth R Westerback
2013-04-20Remove extraneous "\n" erroneously introduced by move to strftime().Kenneth R Westerback
2013-04-19Log (at LOG_INFO) which interfaces dhcpd listens to and (as suggested byStuart Henderson
2013-04-17Replace hand-rolled date printing/parsing code with strftime()/strptime().Kenneth R Westerback
2013-04-13Give struct dhcp_synctlv_lease fields a prefix (lv_) as the fieldsKenneth R Westerback
2013-04-13Don't dance with errno, just check the return values of fprintf(),Kenneth R Westerback
2013-04-12Unbreak lease synchronization by making the sync header contain theKenneth R Westerback
2013-04-05send_packet() and writev() return ssize_t, not int. Use correctKenneth R Westerback
2013-03-22RFC 2131 4.3.1 seems clear that a server MUST NOT include theKenneth R Westerback
2013-03-11RFC 2131 says don't ACK any REQUEST messages that contain aKenneth R Westerback
2013-02-14Obey RFC 2131 and when the broadcast flag is set send reply backKenneth R Westerback
2013-02-03Remove unused (a.k.a. always passed NULL) parameter 'data' fromKenneth R Westerback