summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/dhcpd.c
AgeCommit message (Expand)Author
2019-08-06Use pw->pw_dir when chroot'ing, not _PATH_VAREMPTY.Kenneth R Westerback
2017-02-16Bring parse_warn() into the log.[ch] 21st century and adopt the "^"Kenneth R Westerback
2017-02-13Eliminate pointless'%m' (a.k.a. hand rolled strerror()) by using fatal() andKenneth R Westerback
2017-02-13Adjust some long lines.Kenneth R Westerback
2017-02-13Switch from old errwarn.c logging to shiny new log.[ch].Kenneth R Westerback
2016-08-27Pull in <time.h> for one or more of gmtime, strftime, strptime, time,Philip Guenther
2016-04-27Remove pledge(2)'s that are called before chroot(2) since in the near futureRicardo Mestre
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-12-14pledge.Kenneth R Westerback
2015-02-10Keep track of the last time we scanned the leases to find expiredKenneth R Westerback
2015-02-07Close appropriate ends of pfpipe. Lets pf table process die when dhcpdKenneth R Westerback
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-07-11Add -u option to bind UDP port as a socket to answer DHCPINFORM fromYASUOKA Masahiko
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
2010-12-15We run getopt() twice to know if dhcp-sync is used. To make this workClaudio Jeker
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
2008-05-29appease stupid stupid gcc; ok millertTheo de Raadt
2008-05-25Don't error out if dhcpd-sync does not exist in /etc/services and noTodd C. Miller
2008-05-08this should really only be in one file.Bob Beck
2008-05-07Add synchronisation support for dhcpd - this allows for two dhcpd'sBob Beck
2007-12-30add missing space between argument names and ellipsisIgor Sobrado
2007-07-24use 1 vs. -1 for true; ok henning@ krw@Kevin Steves
2007-02-17-q flag is unused (old shared code from dhclient); spotted by mark@cyodesignsTheo de Raadt
2007-02-17no code for -p, so remove from man page and usage();Jason McIntyre
2006-11-22small header cleanup:Kevin Steves
2006-06-14sort options;Jason McIntyre
2006-06-14This diff allows dhcpd to put active leases into a pf table. Dhcpd will thenChris Kuethe
2006-06-01Sort options in usage. From jmc.Chris Kuethe
2006-05-31This diff makes dhcpd able to manipulate pf tables on certain lease events.Chris Kuethe
2006-05-11If a list of interfaces is supplied via the command line orKenneth R Westerback
2005-05-23-endpwentHenning Brauer
2005-05-02more setres[ug]id; ok deraadt@Damien Miller
2004-10-31change the undocumented -t flag to -n used for configuration testingCan Erkin Acar
2004-09-16avoid aliasing with libc functions; ok henningTheo de Raadt
2004-09-09Avoid following a NULL pointer if a hostname lookup fails andTodd C. Miller
2004-05-12like always I missed tzset(); Ben Lovett <ben@tilderoot.com>Henning Brauer
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-21fix the error message in case the _dhcp user does not existHenning Brauer
2004-04-20don't allow the port to be changed here eitherHenning Brauer
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-15- trim/update AUTHORSJason McIntyre
2004-04-14spacesTheo de Raadt
2004-04-14KNF, ansi and suchHenning Brauer