Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2004-04-08 | fix usage(), jmc | Henning Brauer | |
2004-04-08 | -l can overwrite the path to the leases file, noticed by millert | Henning Brauer | |
2004-04-07 | remove -D option which had no effect whatsover | Henning Brauer | |
2004-04-07 | since we removed all the multiple interfaces crap, we now need a lease | Henning Brauer | |
file per interface, and not one for all. Use /var/db/dhclient.leases.IFNAME discussed with pb@ quite some time ago, ok tdeval@ beck@ | |||
2004-03-05 | remove even more goo | Theo de Raadt | |
2004-03-02 | more pruning; henning ok | Theo de Raadt | |
2004-03-02 | use daemon(3) instead of homebrown gunk | Henning Brauer | |
2004-03-02 | zap unused and empty functions and some glorious very much needed comments | Henning Brauer | |
that explain us that "if (foo > 255) { error() } " ensures that foo is not bigger than 255 | |||
2004-03-02 | zap interface flags | Henning Brauer | |
2004-03-02 | use arc4random(), markus ok | Henning Brauer | |
2004-03-02 | we deal with one interface at a time, so remove the interface list gunk. | Henning Brauer | |
2004-03-02 | if our interface vanishes (pcmcia and such), exit. | Henning Brauer | |
fixes PR3648, test & ok pb | |||
2004-03-02 | remove dummy_interfaces and fallback_interface gunk | Henning Brauer | |
2004-03-02 | our interface discovery is so quiet now (nonexistant) that we don't need a | Henning Brauer | |
quiet_interface_discovery flag any more | |||
2004-03-02 | since we're dealing with one interface and not quite a few ones we can give | Henning Brauer | |
this one onterface as parameter to discove_interfaces and get rid of quite some of the multiple-interface-discover logic | |||
2004-02-24 | whack unused token ring code and a few empty functions | Henning Brauer | |
2004-02-24 | get rid of tons of structs we never use, a lot of new_someotherjunk functions | Henning Brauer | |
in alloc.c we never call, and a shitload of genius comments like char *script_name; /* name of script */ char *server_name; /* name of server */ etc etc etc... | |||
2004-02-24 | discover_interfaces doesn't run in multiple modes any more - kill unreachable | Henning Brauer | |
code, partitally server-only | |||
2004-02-24 | kill debug crap | Henning Brauer | |
2004-02-24 | remove dynamic port gunk | Henning Brauer | |
2004-02-24 | cut unreachable code | Henning Brauer | |
2004-02-24 | cut more crap - no binary change | Henning Brauer | |
2004-02-24 | kill pidfile gunk | Henning Brauer | |
2004-02-24 | teach dhclient about another invention of the last century: getopt(3) | Henning Brauer | |
also fix usage() that was a big lie pb sez ok | |||
2004-02-24 | remove ill-advised interface discovery-scan, and require an interface to be | Henning Brauer | |
always given. theo agrees with removal, pb ok |