summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
AgeCommit message (Expand)Author
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
2013-01-13Tweak whitespace, add missing #defines, use DHO_RELAY_AGENT_INFORMATIONKenneth R Westerback
2013-01-13Add DHO_ defines for all known options. Use same names as ISC whereKenneth R Westerback
2013-01-05Check UDP length field for short as well as long values. Fixes aKenneth R Westerback
2013-01-03Don't mention the (incorrect) option number of autoproxy-script, sinceKenneth R Westerback
2013-01-02Rework to simply list all options in alphabetical order. FunctionalKenneth R Westerback
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
2012-08-29update the rfc references; ok krwJason McIntyre
2011-11-12Zero option processing stack storage to prevent stack garbage thatKenneth R Westerback
2010-12-23Use the provided note() and warning() functions of dhcpd instead ofClaudio Jeker
2010-12-15We run getopt() twice to know if dhcp-sync is used. To make this workClaudio Jeker
2010-11-19Prevent dhcpd(8) from trying to listen on interfaces that don't have aAntoine Jacoutot
2010-10-08use the right capitalization in the Nd strings.Igor Sobrado
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-04-19If interfaces are specified, get their rdomain and bind dhcpd into the sameClaudio Jeker
2010-04-02plug memory leaks on error pathszinovik