summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/dhcp.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Handle DHCPINFORM from clients behind a DHCP relay.reyk2017-07-111-2/+2
* Add 'echo-client-id' statment, so that RFC 6842 behaviour can bekrw2017-04-241-3/+11
* Eliminate pointless'%m' (a.k.a. hand rolled strerror()) by using fatal() andkrw2017-02-131-2/+2
* Adjust some long lines.krw2017-02-131-31/+40
* Switch from old errwarn.c logging to shiny new log.[ch].krw2017-02-131-40/+41
* Compare server-identifiers and reject packets only *after* applyingkrw2016-10-241-10/+14
* client_identifier is not a string so using strlen() on it iskrw2016-10-121-2/+2
* Stop pretending we use RFC 3046/Option 82/Relay Agent Information.krw2016-10-101-12/+6
* Add support for RFC 6842. RFC 2131 said the server MUST NOT echokrw2016-10-061-5/+50
* Use consistant idiom (intermediate variable 'i' rather than repeatedkrw2016-10-051-78/+64
* Zap stray whitespace.krw2016-10-041-5/+5
* Don't leak the option data of non-DHCPINFORM messages received onkrw2016-08-051-2/+8
* Eliminate #include inside *.h files and include only needed headers inkrw2016-02-061-1/+17
* remove NULL-checks before free()mmcc2015-12-211-3/+2
* stdlib.h is in scope; do not cast malloc/calloc/realloc*deraadt2015-08-201-2/+2
* Avoid using inet_ntoa() twice in a single printf() parameter listkrw2015-04-151-6/+14
* Tweak the the DHCPACK to DHCPINFORM log entry so that it iskrw2014-11-111-8/+17
* Typo: consitent -> consistent.krw2014-11-101-2/+2
* validate len field for proper length, not just "not zero."tobias2014-08-111-7/+6
* Fix DHCPINFORM not to lookup the lease database, not to fill the yiaddryasuoka2014-07-111-60/+65
* Add -u option to bind UDP port as a socket to answer DHCPINFORM fromyasuoka2014-07-111-5/+5
* send_packet() and writev() return ssize_t, not int. Use correctkrw2013-04-051-2/+3
* RFC 2131 4.3.1 seems clear that a server MUST NOT include thekrw2013-03-221-1/+5
* RFC 2131 says don't ACK any REQUEST messages that contain akrw2013-03-111-1/+10
* Obey RFC 2131 and when the broadcast flag is set send reply backkrw2013-02-141-1/+2
* Initialize 'flags' field of tree_cache stack variables to 0. Paranoia.krw2010-03-291-1/+4
* Always put server id in NAK's to requests. Some router/switcheskrw2010-03-291-2/+17
* Eliminate all uses of dmalloc() where the returned pointerkrw2010-01-021-2/+2
* Eliminate all uses of dfree() where the pointer is either dereferencedkrw2010-01-011-2/+2
* Echo back the Relay Agent Information option if present (RFC 3046).reyk2009-09-011-1/+14
* Initial stab at DHCPINFORM support. OK phessler@millert2008-07-211-2/+51
* Add synchronisation support for dhcpd - this allows for two dhcpd'sbeck2008-05-071-2/+6
* small KNFstevesk2006-12-151-2/+2
* Move the transmission of privsep messages into its own function. Whereverckuethe2006-06-141-13/+2
* This diff makes dhcpd able to manipulate pf tables on certain lease events.ckuethe2006-05-311-1/+14
* KNF. No binary change.claudio2006-03-161-23/+23
* tiny bit of delinting; ok krw@otto2006-03-131-13/+13
* fix problem of dhcp server looping with "already acking lease"beck2005-11-221-3/+8
* Be a bit more paranoid about leases that are currently acked. There is aclaudio2005-01-311-1/+15
* Simply use the ethernet source address of the request as new ethernetclaudio2005-01-311-13/+2
* Fix memory leak when supersede_lease() fails and it is a DHCPACKmillert2005-01-291-2/+4
* Bah, unbreak. from not form. Noticed by Dan Harnett.claudio2004-12-061-2/+2
* Set correct source address for relayed packets. This affects only setups thatclaudio2004-12-061-2/+4
* avoid aliasing with libc functions; ok henningderaadt2004-09-161-12/+12
* Remove the not initialized fallback_interface code and use the normal bpfclaudio2004-09-161-23/+12
* typo; From: Andrey Matveev <andrushock@korovino.net>henning2004-05-241-1/+1
* remove DEBUG_PACKET stuff; henning okderaadt2004-05-041-16/+0
* remove things not used, spotted by lint mostly; ok henningderaadt2004-05-041-8/+8
* filter writes and lock bpf descriptor, ok henning@canacar2004-04-211-6/+6
* $OpenBSD$henning2004-04-201-3/+1