summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd
AgeCommit message (Collapse)Author
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-15use the correct fd for poll. we're waiting on the pipe, not pfTed Unangst
ok ckuethe deraadt
2007-03-02spaces and comment to sync to dhclient dhcp.h; no binary changeKevin Steves
2007-03-02pull in spaces array overflow fixes from dhclientHenning Brauer
the code here is slightly different, but also has the overfow in both cases
2007-02-26don't leak memory, from dhclient; ok krw@Kevin Steves
2007-02-22another dead extern; Mark Lumsden <mark@cyodesigns.com>Henning Brauer
2007-02-18unused extern declHenning Brauer
From: Mark Lumsden <mark@cyodesigns.com>
2007-02-17-q flag is unused (old shared code from dhclient); spotted by mark@cyodesignsTheo de Raadt
ok krw
2007-02-17no code for -p, so remove from man page and usage();Jason McIntyre
confirmed by ckuethe; spotted by Mark Lumsden
2007-02-06spacesKevin Steves
2007-02-06remove some dangling function prototypesKevin Steves
2007-02-01Don't count ethernet as overhead for UDP packet constuction. GivesKenneth R Westerback
14 more bytes of option space! A change ISC made a long time ago. ok stevesk@ (DHCP) canacar@ (bpf)
2007-01-11remove unused #define DHCP_MIN_LENKevin Steves
2007-01-04<sys/un.h> not neededKevin Steves
2006-12-18align, no binary changeKevin Steves
2006-12-17remove one-lease-per-client parameter which was never implemented (itKevin Steves
doesn't do anything and is not documented); ok henning@
2006-12-15small KNFKevin Steves
2006-12-15typo in commentKevin Steves
2006-12-12remove unused #defines; no binary changeKevin Steves
2006-12-12<signal.h> not neededKevin Steves
2006-12-11spacesKevin Steves
2006-11-22sync dhclient and dhcpd parse.c areas where we can.Kevin Steves
mainly formatting, whitespace; ok henning@
2006-11-22small header cleanup:Kevin Steves
remove uneeded header use <foo.h> not "foo.h" for system include no binary change; ok henning@
2006-11-22fix some warning messages and comments in parse_date(); ok henning@Kevin Steves
2006-11-21remove unused #defines;Kevin Steves
remove duplicate #defines; remove DEBUG; remove useless comment; no need to #ifdef protect. no binary change; ok henning@
2006-11-21re-order includes and eliminate duplicates, no binary change; ok henning@Kevin Steves
2006-11-20KNF (no space before '['); ok henning@Kevin Steves
2006-11-08remove another irrelevant reference; ok jmc@Kevin Steves
2006-11-07remove some irrelevant references; spotted by steveskJason McIntyre
ok henning stevesk
2006-10-20indentTheo de Raadt
2006-08-09Fix a reliability issue in dhcpd where a DHCPDISCOVER packet with a 32-byteChad Loder
client identifier would cause dhcpd to mistakenly exit. From Debian bug 380273, affecting ISC dhcpd 2.x, upon which our dhcpd is based. OK beck@
2006-08-09typo in example config; ok henning@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
periodically - based on the length of the shortest lease time - walk across all leases searching for expired leases which are then removed from the pf table. ok henning
2006-06-14Move the transmission of privsep messages into its own function. WhereverChris Kuethe
we might have conditionally sent a message, we now just call the pfmsg() function, and let it figure out whether the message should be sent or not. ok henning
2006-06-14Avoid changing pf tables when table name is NULLChris Kuethe
ok henning
2006-06-13typo; from sstullJason McIntyre
ok ckuethe
2006-06-01Sort options in usage. From jmc.Chris Kuethe
ok henning@
2006-05-31Missing $OpenBSD$ tag. Spotted by Masao Uebayashi.Chris Kuethe
ok henning@
2006-05-31- tidy up SYNOPSISJason McIntyre
- sort options - +.Xr pf 4 ,
2006-05-31This diff makes dhcpd able to manipulate pf tables on certain lease events.Chris Kuethe
dhcpd is now able to place abandoned addresses into a table (to offer some protection against machines camping on an address) and remove them from the table if they are properly leased. When dhcpd assigns an IP to a new hardware address, it can remove that address from a table. This is for use with the overload table in pf; newly arrived machines will not be punished for the actions of a machine that went away. beck@ and krw@ liked previous versions of this, henning@ final ok
2006-05-30This patch renames dhcpd's "struct timeout" to "struct dhcpd_timeout"Chris Kuethe
so as not to conflict with "struct timeout" from <sys/timeout.h>. ok henning@
2006-05-29repair some broken indentation in an example; ok jmc@Kevin Steves
2006-05-27Don't exit just because an interface has no subnet configured inKenneth R Westerback
dhcpd.conf. Just don't listen on that interface. Make warning messages textually consistant. tested & ok beck@
2006-05-27When an interface is ignored because it has no IP address, say so.Kenneth R Westerback
Don't just say 'not found". And always complain, not just when specific interfaces were requested. requested by and ok uwe@
2006-05-11If a list of interfaces is supplied via the command line orKenneth R Westerback
dhcpd.interfaces then a) don't bother looking up information on interfaces that were not requested; b) don't exit if a requested interface is not found, just issue a warning message; c) exit if none of the interfaces were found. The command line for dhcpd shown in ps will continue to show requested but ignored interfaces. As usual with dhc* code, whack a bunch of unused states, constants, flags, etc. Since we only invoke discover_interfaces() with DISCOVER_SERVER, there is no need to keep track of other possibilities.
2006-04-20list must be sortedTheo de Raadt
2006-04-18cleanup keyword lookup for the lexer, and remove keywords not valid inTheo de Raadt
either dhclient or dhcpd context; tested by many
2006-03-16KNF. No binary change.Claudio Jeker
2006-03-13tiny bit of delinting; ok krw@Otto Moerbeek