Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-01 | Don't treat the addition of a dhclient.conf 'alias{}' address as an | Kenneth R Westerback | |
external modification when the RTM_NEWADDR message arrives from the routing socket. Now dhclient will not exit if 'alias{}' is specified in dhclient.conf. Mentioned many times, most recently by Matthias Bertschy on misc@. ok henning@ beck@ | |||
2006-05-31 | Fix 'special value 0 requests that dhclient not wait for a link state | Kevin Steves | |
change before timing out' behaviour of the man page for link-timeout; ok deraadt@ henning@ | |||
2006-05-08 | add 'link-timeout n' seconds option to grammer, from fkr@hazardous.org | Theo de Raadt | |
default remains 10 seconds. | |||
2006-03-06 | convert permanent privilege revocation to use setresuid/setresgid; | Damien Miller | |
ok henning@ | |||
2005-10-26 | put the 100% right r1.79 back in, that is still as right as it was the first | Henning Brauer | |
time. dale just had the same problem and made me look again. | |||
2005-08-27 | backout unapproved diff | Theo de Raadt | |
2005-08-25 | when we get an invalid hostname in an option, bitching a moaning is ok, | Henning Brauer | |
but there is no point in refusing the lease based on that. so bitch and moan and ignore that option but accept the lease. yes, customer networks are sometimes interesting... ok millert krw beck | |||
2005-08-07 | Simplify code by calling error() from inside buf_* functions rather | Kenneth R Westerback | |
than always testing the return code and calling error() from the caller. From a diff by moritz@, ok henning@. | |||
2005-08-02 | Rip out code dealing with multiple/nested interfaces. Each instance of | Kenneth R Westerback | |
dhclient is responsible for one interface. Simply skip interface declarations for other interfaces and store all info in the one interface structure. tested by dlg@, ok henning@ | |||
2005-07-16 | Eliminate unnecessary 'code' field from struct option. Make | Kenneth R Westerback | |
dhcp_options const. ok henning@ | |||
2005-07-13 | minor knf | Theo de Raadt | |
2005-07-13 | Repair/rationalize option handling to ensure valid option section is | Kenneth R Westerback | |
always sent. Fold store_options into cons_options. Eliminate priority list of options. ok deraadt@ | |||
2005-07-09 | Clean out a few more unused/uninitialized variables. | Kenneth R Westerback | |
ok henning@ | |||
2005-07-08 | Eliminate unused code and associated parameters. | Kenneth R Westerback | |
ok deraadt@ | |||
2005-07-07 | Eliminate unused code and associated parameter. | Kenneth R Westerback | |
ok deraadt@ millert@. | |||
2005-07-07 | Eliminate tree_cache structure in favour of option_data. Eliminate | Kenneth R Westerback | |
redundant level of indirection in building and using option_data arrays while constructing outgoing packets. Make option_data len field unsigned. ok henning@. 'cool!' deraadt@. | |||
2005-07-07 | Expunge two unused fields (buf_size, timeout) in tree_cache structure. | Kenneth R Westerback | |
ok millert@ deraadt@ henning@ | |||
2005-05-29 | robustness against malformed snames. | marius eriksen | |
ok henning@ | |||
2005-04-08 | protect read() on rtsock against interruptions by signal, foudn with djm | Henning Brauer | |
while looking for sth else | |||
2005-04-02 | spacing | Theo de Raadt | |
2005-04-02 | fix indentation both, michael knudsen | Henning Brauer | |
2005-04-02 | allow _ in hostnames, but complain since this is not legal, but there is | Henning Brauer | |
no point in punishing openbsd users in fucked up networks From: Michael Knudsen <e@molioner.dk> with input from theo and me | |||
2005-02-06 | "no link .got link" => "no link .... got link". i.e. always display | Kenneth R Westerback | |
complete ellipsis ('...') and a following space. ok beck@ | |||
2004-12-05 | extend window of "ignoring route messages on the socket" for 10 seconds | Theo de Raadt | |
instead of 3. | |||
2004-11-25 | Ignore 0.0.0.0 in RTM_NEWADDR messages as these messages are generated by | Claudio Jeker | |
dhclient. This fixes the dhclient exiting problem reported by Steve Shockley. This is a fast fix for the problem acctually the dhclient-script needs to be replaced. OK henning@ deraadt@ | |||
2004-09-15 | use ftello() instead of ftell() where better | Theo de Raadt | |
2004-09-15 | no \n in error() calls and minor KNF, from Moritz Jodeit <moritz@jodeit.org> | Henning Brauer | |
2004-08-30 | Avoid spinning if the server gives us a bogus zero lease time, by | Otto Moerbeek | |
enforcing a minimum lease time of 60s. ok deraadt@ henning@ | |||
2004-07-07 | make the shell script execution window 3 seconds. i really need to find | Theo de Raadt | |
a better solution... | |||
2004-06-23 | better dead detect window code; still crap | Theo de Raadt | |
2004-06-22 | horrid horrid horrid. we have a race window where we, ourselves, do an | Theo de Raadt | |
address deletion. yesterday we stopped ignoring deletions. but now dhclient does not see itself coming up, and voila, we get more and processes. so now make a 5-second window where we ignore delete messages, but terminate if we get them at any other time. a very relucant ok from henning who is actively searching for a final solution to this problem. | |||
2004-06-22 | do not exit on RTM_DELADDR, dhclient can cause this itself under some rare | Henning Brauer | |
circumstances. instead, exit on RTM_NEWADDR if, and only if, the new IP address is not a lease we got. theo ok | |||
2004-06-03 | fall back to "nobody" when the _dhcp user is not available, theo bob ok | Henning Brauer | |
2004-05-13 | when trying to rewrite the lease file, and if the lease file is already | Henning Brauer | |
opened, do not close and re-open it, which of course fails once we're chrooted and privilege revoked, but rewind the file and truncate later on as needed. makes wilfried@ and Ben Lovett happy (aka, they tested) | |||
2004-05-08 | unbreak | Henning Brauer | |
2004-05-07 | Error out on attempts to inject command or variable substitution | Kenneth R Westerback | |
into dhclient-script environment variables. Inspiration from todd@. ok henning@ deraadt@. | |||
2004-05-06 | remove more unused code | Theo de Raadt | |
2004-05-05 | knf | Theo de Raadt | |
2004-05-05 | spacing | Theo de Raadt | |
2004-05-05 | must simulate daemon because already inside the jail; henning ok | Theo de Raadt | |
2004-05-05 | open the lease file after the priv child was forked off so it doesn't have | Henning Brauer | |
a copy of this fd | |||
2004-05-05 | routefd needs to be opened slightly later | Henning Brauer | |
2004-05-05 | use tzset() before chrooting | Henning Brauer | |
2004-05-05 | open bpf and routefd a little later, after forking the priv child so it | Henning Brauer | |
doesn't get copies of those fds | |||
2004-05-04 | do not overload libc function names causing linker troubles | Michael Shalayeff | |
2004-05-04 | remove things not used, spotted by lint mostly; ok henning | Theo de Raadt | |
2004-05-04 | more shrink and lint fixes; henning ok | Theo de Raadt | |
2004-05-04 | privilege seperate dhclient. | Henning Brauer | |
the privileged child's duty is the dhclient-script env setup & exection. the parent process now chroots to /var/empty and drops privileges to _dhcp mostly hacked at vancouver airport with some feedback from krw@ and otto@, tested to not break installs by krw@ | |||
2004-04-14 | prototypes fixup | Henning Brauer | |
2004-04-13 | unfortunately we have to wait a little if the nic does not have a link and | Henning Brauer | |
check again, theo help & ok |