Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-01 | "Ethernet" is a family of networking technologies developed at Xerox PARC, | Igor Sobrado | |
not a generic name. we must use the right capitalization for this term. ok jmc@ | |||
2009-01-13 | add option 150, voip-configuration-server, as an array of IP addresses; | Stuart Henderson | |
draft-raj-dhc-tftp-addr-option-05, req by Michael van der Westhuizen. ok henning, krw, dlg | |||
2008-11-14 | Sigh. Some clients can't handle three DHO_PAD options holding space | Kenneth R Westerback | |
for an unused overload option. Noticed by mk@ when netbooting his G4 mac mini. So compact the options by shifting them over the unused option and filling the end by DHO_PAD. Tested by mk@. | |||
2008-11-08 | Some clients don't parse a DHO_DHCP_OPTION_OVERLOAD option the way | Kenneth R Westerback | |
I expected. They object if there are no bits set in the option value. So just use DHO_PAD in the reserved space unless at least one of the bits is set. Various versions tested by Tobias Ulmer on OpenSolaris, matthieu@ on busybox's DHCP client, and Uwe Dippel on Solaris. All of which failed before. | |||
2008-09-15 | When checking if a syscall like open(), ioctl() or writev() failed compare | Claudio Jeker | |
directly against -1 and do not use a < 0 test. OK henning@ | |||
2008-09-10 | bzero' the option buffer with the correct buffer size. this fixes | Reyk Floeter | |
incomplete buffer initialization and possible incorrect option handling. Thanks to Nick Bender ok krw@ deraadt@ | |||
2008-07-21 | Initial stab at DHCPINFORM support. OK phessler@ | Todd C. Miller | |
2008-05-30 | correct size of iov[]; ralf.horstmann@gmx.de | Theo de Raadt | |
2008-05-29 | appease stupid stupid gcc; ok millert | Theo de Raadt | |
2008-05-25 | Don't error out if dhcpd-sync does not exist in /etc/services and no | Todd C. Miller | |
sync options were specified. OK deraadt@ | |||
2008-05-11 | fix sync.c to not puke if sync_lease called without sync_init. | Bob Beck | |
from henric. | |||
2008-05-08 | Insert pad blocks after sub-messages to keep the structures aligned to | Theo de Raadt | |
16 byte boundaries for maximum portability (somewhat similar to CMSG's) ok beck | |||
2008-05-08 | this should really only be in one file. | Bob Beck | |
2008-05-08 | don't break dhcpd when not using synch mechanisms.. | Bob Beck | |
2008-05-07 | Add synchronisation support for dhcpd - this allows for two dhcpd's | Bob Beck | |
with the same configuration to be run on the same net and they will keep their lease files/state in synch, and therefore allowing you to run redundant dhcpd's. Synchronization code stolen from spamd, uses an hmac key in /var/db/dhcpd.key if it exists. ok krw@ deraadt@ | |||
2008-04-16 | Redo/clarify the logic for storing options in the various buffers. | Kenneth R Westerback | |
While there, bail out quickly if no options can be stored, and avoid overflow buffers if building a bootp reply. Henning looked and didn't get upset. millert@ tested it for a few days and liked the look of it. canacar@ glanced at it. | |||
2008-04-04 | option 144 is commonly used for tftp-config-file. | David Gwynne | |
ok henning@ krw@ | |||
2008-03-17 | option 252 is generally used to specify an autoproxy-script on a subnet. | David Gwynne | |
ok krw@ henning@ | |||
2008-01-18 | Call store_options() with correct cutoff values, i.e. ones not 7 bytes | Kenneth R Westerback | |
too large. Fixes a problem where a nicely crafted packet could crash dhcpd. Nuke a superfluous declaration of store_options() while here. Problem found and fix tested by Peter Hessler. ok beck@ millert@ henning@ | |||
2007-12-30 | add missing space between argument names and ellipsis | Igor Sobrado | |
ok jmc@ | |||
2007-12-23 | for "fixed-address", note that no lease is generated; after some | Jason McIntyre | |
discussion with krw, who hasn;t ok'd this diff, but we can change it if he doesn;t like it; started by mail from Max Hayden Chiz | |||
2007-12-23 | remove double word in comment; | Jason McIntyre | |
2007-10-29 | More tweaking of option processing, this time around the creation of | Kenneth R Westerback | |
the priority list. Add create_priority_list() and use it to consistantly merge mandatory, supplied and default option priority lists into a reliable and complete list of options sorted by priority. No intended functional change other than ensuring all options available are returned. "looks good" henning@ "OK, fair enough" millert@ | |||
2007-10-28 | Remove duplicate DHO_HOST_NAME entry and add missing | Kenneth R Westerback | |
DHO_DHCP_USER_CLASS_ID entry to dhcp_option_default_priority_list[]. Reformat list of numbers at the end of dhcp_option_default_priority_list[] so it is easy to see which options are defined. No functional change. | |||
2007-10-27 | Rework option storing so the code is readable, and eliminate odd | Kenneth R Westerback | |
behaviour on several edge conditions. Feedback, suggestion & "I like the approach" millert@ "excellent" henning@. | |||
2007-10-21 | Take even more care to ensure the max message size is at | Kenneth R Westerback | |
least as large as the minimum IP MTU. ok canacar@ henning@ millert@ | |||
2007-10-21 | Last bit of (planned) tidy up in cons_options(). Join some lines, | Kenneth R Westerback | |
delete some blank lines, add some other blank lines, move expressions so calculations done only once. Eliminate extraneous ++'s. No functional change. | |||
2007-10-21 | Tidy up, make usual case exit faster, eliminate variable. No functional | Kenneth R Westerback | |
change. ok beck@ | |||
2007-10-19 | Make sure bufix is updated after copying options into the first overflow | Kenneth R Westerback | |
buffer. Actually use the second overflow buffer now that bufix is correct and the test for remaining options will work correctly. ok beck@ | |||
2007-10-19 | Be a bit more paranoid and initialize all valid options buffers with | Kenneth R Westerback | |
DHO_PAD (a.k.a. 0). Eliminate manual DHO_PAD'ing after DHO_END is put into the buffer. ok beck@ | |||
2007-10-19 | Fix obvious typos and write DHO_PAD and DHO_END into correct options overflow | Kenneth R Westerback | |
buffer. Spotted by canacar@ and others. ok beck@ | |||
2007-10-19 | Correct the value returned by cons_options in the case where overload buffers | Kenneth R Westerback | |
are used. It should reflect the end of the main options buffer rather than the start of the options copied into it. ok beck@ | |||
2007-10-19 | Ensure that main_buffer_size is set to a value less than or equal to | Kenneth R Westerback | |
the size of the outgoing packet's options field. Spotted by canacar@. ok beck@ | |||
2007-10-09 | "Minimum IP MTU" means what it says. Ensure that packets returned by | Kenneth R Westerback | |
dhcpd are the minimum size or larger no matter what the client thinks the minimum allowable size is. Found by Nahuel Riva and Gera Richarte. Fix by millert@. | |||
2007-10-06 | Allow the various pf table actions to operate independently. For example, | Chris Kuethe | |
"-L leased" wouldn't work without "-A abandoned". testing help from merdely "i like" deraadt | |||
2007-07-24 | use 1 vs. -1 for true; ok henning@ krw@ | Kevin Steves | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-15 | use the correct fd for poll. we're waiting on the pipe, not pf | Ted Unangst | |
ok ckuethe deraadt | |||
2007-03-02 | spaces and comment to sync to dhclient dhcp.h; no binary change | Kevin Steves | |
2007-03-02 | pull in spaces array overflow fixes from dhclient | Henning Brauer | |
the code here is slightly different, but also has the overfow in both cases | |||
2007-02-26 | don't leak memory, from dhclient; ok krw@ | Kevin Steves | |
2007-02-22 | another dead extern; Mark Lumsden <mark@cyodesigns.com> | Henning Brauer | |
2007-02-18 | unused extern decl | Henning Brauer | |
From: Mark Lumsden <mark@cyodesigns.com> | |||
2007-02-17 | -q flag is unused (old shared code from dhclient); spotted by mark@cyodesigns | Theo de Raadt | |
ok krw | |||
2007-02-17 | no code for -p, so remove from man page and usage(); | Jason McIntyre | |
confirmed by ckuethe; spotted by Mark Lumsden | |||
2007-02-06 | spaces | Kevin Steves | |
2007-02-06 | remove some dangling function prototypes | Kevin Steves | |
2007-02-01 | Don't count ethernet as overhead for UDP packet constuction. Gives | Kenneth R Westerback | |
14 more bytes of option space! A change ISC made a long time ago. ok stevesk@ (DHCP) canacar@ (bpf) | |||
2007-01-11 | remove unused #define DHCP_MIN_LEN | Kevin Steves | |
2007-01-04 | <sys/un.h> not needed | Kevin Steves | |