summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/dhcp.c
AgeCommit message (Expand)Author
2015-08-20stdlib.h is in scope; do not cast malloc/calloc/realloc*Theo de Raadt
2015-04-15Avoid using inet_ntoa() twice in a single printf() parameter listKenneth R Westerback
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-08-11validate len field for proper length, not just "not zero."Tobias Stoeckmann
2014-07-11Fix DHCPINFORM not to lookup the lease database, not to fill the yiaddrYASUOKA Masahiko
2014-07-11Add -u option to bind UDP port as a socket to answer DHCPINFORM fromYASUOKA Masahiko
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
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-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
2009-09-01Echo back the Relay Agent Information option if present (RFC 3046).Reyk Floeter
2008-07-21Initial stab at DHCPINFORM support. OK phessler@Todd C. Miller
2008-05-07Add synchronisation support for dhcpd - this allows for two dhcpd'sBob Beck
2006-12-15small KNFKevin Steves
2006-06-14Move the transmission of privsep messages into its own function. WhereverChris Kuethe
2006-05-31This diff makes dhcpd able to manipulate pf tables on certain lease events.Chris Kuethe
2006-03-16KNF. No binary change.Claudio Jeker
2006-03-13tiny bit of delinting; ok krw@Otto Moerbeek
2005-11-22fix problem of dhcp server looping with "already acking lease"Bob Beck
2005-01-31Be a bit more paranoid about leases that are currently acked. There is aClaudio Jeker
2005-01-31Simply use the ethernet source address of the request as new ethernetClaudio Jeker
2005-01-29Fix memory leak when supersede_lease() fails and it is a DHCPACKTodd C. Miller
2004-12-06Bah, unbreak. from not form. Noticed by Dan Harnett.Claudio Jeker
2004-12-06Set correct source address for relayed packets. This affects only setups thatClaudio Jeker
2004-09-16avoid aliasing with libc functions; ok henningTheo de Raadt
2004-09-16Remove the not initialized fallback_interface code and use the normal bpfClaudio Jeker
2004-05-24typo; From: Andrey Matveev <andrushock@korovino.net>Henning Brauer
2004-05-04remove DEBUG_PACKET stuff; henning okTheo de Raadt
2004-05-04remove things not used, spotted by lint mostly; ok henningTheo de Raadt
2004-04-21filter writes and lock bpf descriptor, ok henning@Can Erkin Acar
2004-04-20$OpenBSD$Henning Brauer
2004-04-19Catch negative lease times. From openbsd@nerd-marrow.com in PR 2888,Tom Cosgrove
2004-04-18spacingTheo de Raadt
2004-04-18various knf; henning okTheo de Raadt
2004-04-16a bunch of knf, ok henningTheo de Raadt
2004-04-14spacesTheo de Raadt
2004-04-13time_t and kill a few dumb definesHenning Brauer
2004-04-13may the whacking beginHenning Brauer