summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
AgeCommit message (Expand)Author
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
2010-03-29Initialize 'flags' field of tree_cache stack variables to 0. Paranoia.Kenneth R Westerback
2010-03-29Always put server id in NAK's to requests. Some router/switchesKenneth R Westerback
2010-03-27malloc/strlcpy -> strdup. Use consistent idiom.Kenneth R Westerback
2010-01-03unused prototypeTheo de Raadt
2010-01-02Eliminate all uses of dmalloc() where the returned pointerKenneth R Westerback
2010-01-01Eliminate all uses of dfree() where the pointer is either dereferencedKenneth R Westerback
2010-01-01Wrappers around a wrapper around free() are of no more use thanKenneth R Westerback
2010-01-01A slightly more complex calloc() wrapper wrapper, new_hash_table(),Kenneth R Westerback
2010-01-01Another calloc() wrapper wrapper, new_tree(), bites the dust.Kenneth R Westerback
2010-01-01Two more calloc() wrapper wrappers, new_shared_network() andKenneth R Westerback
2010-01-01Single-use wrapper functions that just call a wrapper functionKenneth R Westerback
2010-01-01Delete unused declarations.Kenneth R Westerback
2010-01-01Plug a potential leak similar to the one parfait spotted and TheoKenneth R Westerback
2009-12-14Just like dhclient(8), we use the bpf filter drop to preventMarco Pfatschbacher
2009-12-10plug memory leak, spotted by parfait; ok krwTheo de Raadt
2009-09-14fix typo; ok jmc@Ingo Schwarze
2009-09-01Echo back the Relay Agent Information option if present (RFC 3046).Reyk Floeter
2009-08-01subnet-number and netmask could be ip addresses only.Federico G. Schwindt
2009-02-01"Ethernet" is a family of networking technologies developed at Xerox PARC,Igor Sobrado
2009-01-13add option 150, voip-configuration-server, as an array of IP addresses;Stuart Henderson
2008-11-14Sigh. Some clients can't handle three DHO_PAD options holding spaceKenneth R Westerback