summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
AgeCommit message (Collapse)Author
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
use 'next-server' config option. From Hans Kremers. OK henning@
2004-10-31change the undocumented -t flag to -n used for configuration testingCan Erkin Acar
and document it. cleanup some unused/unneeded variables while there. idea & ok henning@
2004-09-21spelling fixes; ok jmc@ henning@David Krause
2004-09-16Use inet_ntop() instead of inet_ntoa() in piaddr. This solves a problemClaudio Jeker
where inet_ntoa() was called twice per log message -- once here and once directly. This is a workaround acctually no static buffer should be used. OK deraadt@
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
interface for that. Also store the hardware (ethernet) address in the state so that relayed dhcp request are sent to the correct destination. OK henning@ requested by deraadt@ tested otto@
2004-09-15size_t vs ssize_t confusionTheo de Raadt
2004-09-15minor KNF, Moritz Jodeit <moritz@jodeit.org>Henning Brauer
2004-09-09Avoid following a NULL pointer if a hostname lookup fails andTodd C. Miller
remove an extraneous "exiting" when there is a config file error. OK henning@ and mcbride@
2004-08-23update bootp example "filename" location to reflect tftp default ofPeter Valchev
chrooting to /tftpboot (thus "filename foo" searches there); ok henning
2004-07-29don't wipe lease file on startup, found & solution tested nick@Henning Brauer
2004-07-09ansiTheo de Raadt
2004-06-20fix the "option dhcp-client-identifier" hex exampleHenning Brauer
From: Marco Munari <mar@i.am> in PR3824
2004-05-25handle interface removals gracefully. reported by Oliver J. MoraisCan Erkin Acar
ok henning@, tedu@
2004-05-24typo; From: Andrey Matveev <andrushock@korovino.net>Henning Brauer
2004-05-12like always I missed tzset(); Ben Lovett <ben@tilderoot.com>Henning Brauer
2004-05-11knfTheo de Raadt
2004-05-08remove hostname lookup stuff, done at parse time now, ok theoHenning Brauer
2004-05-08resolve hostnames at parse time, solves PR3771, ok theoHenning Brauer
2004-05-06spacingTheo de Raadt
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-22instead of using some lower 16 bits of some address on the stack thatHenning Brauer
even requires knowledge about wether the machine is 32 or 64 bit, use getpid() for the icmp id. that is not optimal, but matches what ping does and the way to go for now.
2004-04-21cleaning; Ryan okHenning Brauer
2004-04-21filter writes and lock bpf descriptor, ok henning@Can Erkin Acar
2004-04-21missing comma;Jason McIntyre
2004-04-21sync AUTHORS w/ other dhcpd pages;Jason McIntyre
ok henning@
2004-04-21fix the error message in case the _dhcp user does not existHenning Brauer
2004-04-20add back manpage that was forgotten during the switch, catched by and ok theoHenning Brauer
2004-04-20$OpenBSD$Henning Brauer
2004-04-20there are lies, damn lies, and isc dhcpd manpagesHenning Brauer
2004-04-20remove lies about the leases file and its handlingHenning Brauer
2004-04-20don't allow the port to be changed here eitherHenning Brauer
2004-04-19Catch negative lease times. From openbsd@nerd-marrow.com in PR 2888,Tom Cosgrove
which this closes (though the PR was for usr.sbin/dhcpd/server/). ok henning@
2004-04-18spacingTheo de Raadt
2004-04-18more KNFHenning Brauer
2004-04-18more knfTheo de Raadt
2004-04-18various knf; henning okTheo de Raadt
2004-04-18dhcpd may be invoked without any interface givenHenning Brauer
2004-04-16a bunch of knf, ok henningTheo de Raadt
2004-04-15chroot and drop privileges after startupHenning Brauer
2004-04-15do not close and re-open the leases file all the time, instead open it onceHenning Brauer
and rewind as neccessary
2004-04-15dhcpd actually does not listen on port 68 ...Henning Brauer
2004-04-15knf + ansiHans-Joerg Hoexer
ok henning@
2004-04-15cleaning; from pedroHenning Brauer
2004-04-15knf + ansiHans-Joerg Hoexer
ok henning@
2004-04-15- trim/update AUTHORSJason McIntyre
- standard options list and correct SYNOPSIS for dhcpd(8) - sync usage() ok henning@
2004-04-14useless tooHenning Brauer
2004-04-14ansiTheo de Raadt