summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2005-07-07Eliminate tree_cache structure in favour of option_data. EliminateKenneth R Westerback
2005-07-07Expunge two unused fields (buf_size, timeout) in tree_cache structure.Kenneth R Westerback
2005-05-29robustness against malformed snames.marius eriksen
2005-04-08protect read() on rtsock against interruptions by signal, foudn with djmHenning Brauer
2005-04-02spacingTheo de Raadt
2005-04-02fix indentation both, michael knudsenHenning Brauer
2005-04-02allow _ in hostnames, but complain since this is not legal, but there isHenning Brauer
2005-02-06"no link .got link" => "no link .... got link". i.e. always displayKenneth R Westerback
2004-12-05extend window of "ignoring route messages on the socket" for 10 secondsTheo de Raadt
2004-11-25Ignore 0.0.0.0 in RTM_NEWADDR messages as these messages are generated byClaudio Jeker
2004-09-15use ftello() instead of ftell() where betterTheo de Raadt
2004-09-15no \n in error() calls and minor KNF, from Moritz Jodeit <moritz@jodeit.org>Henning Brauer
2004-08-30Avoid spinning if the server gives us a bogus zero lease time, byOtto Moerbeek
2004-07-07make the shell script execution window 3 seconds. i really need to findTheo de Raadt
2004-06-23better dead detect window code; still crapTheo de Raadt
2004-06-22horrid horrid horrid. we have a race window where we, ourselves, do anTheo de Raadt
2004-06-22do not exit on RTM_DELADDR, dhclient can cause this itself under some rareHenning Brauer
2004-06-03fall back to "nobody" when the _dhcp user is not available, theo bob okHenning Brauer
2004-05-13when trying to rewrite the lease file, and if the lease file is alreadyHenning Brauer
2004-05-08unbreakHenning Brauer
2004-05-07Error out on attempts to inject command or variable substitutionKenneth R Westerback
2004-05-06remove more unused codeTheo de Raadt
2004-05-05knfTheo de Raadt
2004-05-05spacingTheo de Raadt
2004-05-05must simulate daemon because already inside the jail; henning okTheo de Raadt
2004-05-05open the lease file after the priv child was forked off so it doesn't haveHenning Brauer
2004-05-05routefd needs to be opened slightly laterHenning Brauer
2004-05-05use tzset() before chrootingHenning Brauer
2004-05-05open bpf and routefd a little later, after forking the priv child so itHenning Brauer
2004-05-04do not overload libc function names causing linker troublesMichael Shalayeff
2004-05-04remove things not used, spotted by lint mostly; ok henningTheo de Raadt
2004-05-04more shrink and lint fixes; henning okTheo de Raadt
2004-05-04privilege seperate dhclient.Henning Brauer
2004-04-14prototypes fixupHenning Brauer
2004-04-13unfortunately we have to wait a little if the nic does not have a link andHenning Brauer
2004-04-08fix usage(), jmcHenning Brauer
2004-04-08-l can overwrite the path to the leases file, noticed by millertHenning Brauer
2004-04-07remove -D option which had no effect whatsoverHenning Brauer
2004-04-07since we removed all the multiple interfaces crap, we now need a leaseHenning Brauer
2004-03-05remove even more gooTheo de Raadt
2004-03-02more pruning; henning okTheo de Raadt
2004-03-02use daemon(3) instead of homebrown gunkHenning Brauer
2004-03-02zap unused and empty functions and some glorious very much needed commentsHenning Brauer
2004-03-02zap interface flagsHenning Brauer
2004-03-02use arc4random(), markus okHenning Brauer
2004-03-02we deal with one interface at a time, so remove the interface list gunk.Henning Brauer
2004-03-02if our interface vanishes (pcmcia and such), exit.Henning Brauer
2004-03-02remove dummy_interfaces and fallback_interface gunkHenning Brauer
2004-03-02our interface discovery is so quiet now (nonexistant) that we don't need aHenning Brauer
2004-03-02since we're dealing with one interface and not quite a few ones we can giveHenning Brauer