summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2013-05-02Enough of the hand-rolling of queues. Turn client->leases andKenneth R Westerback
2013-04-27Use same parse_date() and date writing logic as in dhcpd. i.e.Kenneth R Westerback
2013-04-25big int_t/time_t fixes; ok deraadt@ krw@Otto Moerbeek
2013-03-30Since deleting all the addresses on an interface removes all theKenneth R Westerback
2013-03-22Ignore client-identifier option in leases from a server. They're not supposedKenneth R Westerback
2013-02-27Avoid alignment errors when processing routing messages by readingKenneth R Westerback
2013-02-24When no acceptable offers are received within the allowed timeframe callKenneth R Westerback
2013-02-19Cancel any outstanding protocol timeout when a link goes away. WhenKenneth R Westerback
2013-02-18Rework log messages to be more useful. RenameKenneth R Westerback
2013-02-17Suppress some pointless debugging message:Kenneth R Westerback
2013-02-17Put the processes in the routing domain of the interface. TweakKenneth R Westerback
2013-02-16Remove accidentally committed debug statement ("Got RTM_IFINFO").Kenneth R Westerback
2013-02-15Take more care to use the correct xid, rather than packet garbage.Kenneth R Westerback
2013-02-15Make code a tad less obscure by using sizeof() actual variable beingKenneth R Westerback
2013-02-15Even if no one uses it, record the seconds since we started in theKenneth R Westerback
2013-02-15Unbreak DISCOVER by initializing xid from correct field.Kenneth R Westerback
2013-02-14When an interface generates an RTM_IFINFO message, it may be as theKenneth R Westerback
2013-02-14Don't rely on the packet buffer (client->packet) being preserved betweenKenneth R Westerback
2013-02-13Restore previous behaviour of not cleaning up in response to SIGTERM.Kenneth R Westerback
2013-02-09As tedu@ pointed out a while ago, it makes little sense to discardKenneth R Westerback
2013-02-02Expunge unused variables and pointless construction of same inKenneth R Westerback
2013-02-02Fix resolv.conf magic. Add identifying comment to generated resolv.confKenneth R Westerback
2013-02-02Dereference correct pointer. Fix crash when checking whether resolv.confKenneth R Westerback
2013-02-01do not leak dn if there is no resolv.conf contents; found by llvmFlorian Obser
2013-02-01always initialize cur_time; found by llvmFlorian Obser
2013-02-01Increment size of buffer to accomodate terminating NUL *after* usingKenneth R Westerback
2013-02-01Handle a non-existant resolv.conf.tail without issuing an errorKenneth R Westerback
2013-02-01Write out resolv.conf only if the default route is under the controlKenneth R Westerback
2013-01-27Refactor code a bit. Calculate resolv.conf contents once when binding aKenneth R Westerback
2013-01-26Oops. Restore "no domain-name, no domain-name-seervers means don'tKenneth R Westerback
2013-01-26Read /etc/resolv.conf.tail once on startup and save contents forKenneth R Westerback
2013-01-22Whitespace nit. Better error messages.Kenneth R Westerback
2013-01-18-L before -l;Jason McIntyre
2013-01-18Add command line option '-L' that specifies an optional file into whichKenneth R Westerback
2013-01-17Try harder to clear out default routes on the interface beingKenneth R Westerback
2013-01-16Unrevert last reversion. otto@ pointed out that it wasn't asprintf()Kenneth R Westerback
2013-01-16Revert last. asprintf() breaks something.Kenneth R Westerback
2013-01-16Use the magic of asprintf() to produce more informative errorKenneth R Westerback
2013-01-16Don't tell the priviledged process to discard active_addr if there isKenneth R Westerback
2013-01-15Add IMSG_WRITE_FILE and associated bits to allow the unprivilegedKenneth R Westerback
2013-01-14First convert packet to lease, which validates option data andKenneth R Westerback
2013-01-13Make pretty_print_option() return "" rather than "<fmt error>" whenKenneth R Westerback
2013-01-13Check results of strdup() of domainname and nameservers options.Kenneth R Westerback
2013-01-06Make buffer for lease_as_string() 8192 bytes. A pathological leaseKenneth R Westerback
2013-01-05Change write_client_lease() into lease_as_string() and modifyKenneth R Westerback
2013-01-02Only check '-l' parameter for regular-fileness. Not built-in defaultKenneth R Westerback
2012-12-29Make HUP to either one of the processes cause a restart that willKenneth R Westerback
2012-12-21When binding to a new lease, wait for the RTM_NEWADDR message inKenneth R Westerback
2012-12-19Don't attempt to delete an address that has already been deletedKenneth R Westerback
2012-12-18Don't clean up twice when the non-privileged process exits. Let theKenneth R Westerback