summaryrefslogtreecommitdiff
path: root/sbin/dhclient/privsep.h
AgeCommit message (Expand)Author
2017-08-31Don't delete v4 routes that are going to beKenneth R Westerback
2017-08-13Simplify HUP handling now that proper errorKenneth R Westerback
2017-08-12Stop trying to outfox the routing tableKenneth R Westerback
2017-08-10Add IMSG_SET_RESOLV_CONF and keep the cached contentsKenneth R Westerback
2017-08-08Rename resolv_conf_priority() to default_route_index() toKenneth R Westerback
2017-08-05Bring route creation into line with what route(8) does. InKenneth R Westerback
2017-07-30Use effective_proposal data to build resolv.conf contents.Kenneth R Westerback
2017-07-27Fold add_direct_route(), add_default_route() andKenneth R Westerback
2017-07-24Shuffle some declarations and functions into the onlyKenneth R Westerback
2017-07-23Cease pretending to support option 33 (classFULL static routes). TheyKenneth R Westerback
2017-07-22Rename *_add_address to *_set_address to reflect that theKenneth R Westerback
2017-07-21s/set_interface_mtu/set_mtu/gKenneth R Westerback
2017-07-10Use ioctlfd/routefd sockets rather than rolling one's ownKenneth R Westerback
2017-07-08Always use uintNN_t instead of sometimes u_intNN_tKenneth R Westerback
2017-07-07dispatch_imsg() only needs to know name and rdomain.Kenneth R Westerback
2017-07-01Eliminate multiple socket openings/closings and passKenneth R Westerback
2017-06-28Only pass required fields of interface_info to priv_* functionsKenneth R Westerback
2017-06-28Stop trying to clean up addresses, routes and "-L" fileKenneth R Westerback
2017-06-24Tweak handling of HUP and new LLADDR. Just use expose and use sighup()Kenneth R Westerback
2017-06-24Use a local variable rather than a global flag to recordKenneth R Westerback
2017-06-23Take reyk's imsg resolv.conf improvements of a while ago to theirKenneth R Westerback
2017-04-11Shuffle route/interface changing functions together into kroute.c. Try toKenneth R Westerback
2017-04-10Rework -L logic to use the idiom used in handling the leases file.Kenneth R Westerback
2017-03-08Shuffle, shuffle, shuffle.Kenneth R Westerback
2016-09-02Kill 'ifi' global.Martin Pieuchot
2016-08-23Make the 'ifi' global local to dhclient.c and pass it as an argument toMartin Pieuchot
2016-07-20Shrink priv_write_file() API so that it does less, and the callers askTheo de Raadt
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-02-10Groundwork for better route support over multiple interfaces byKenneth R Westerback
2015-02-07Add support for interface-mtu (option 26).Kenneth R Westerback
2015-02-06The write_file() privsep interface was too permissive andReyk Floeter
2015-02-06matthew@ points out that it's a bad idea to rely on the non-privileged,Kenneth R Westerback
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-12-10Oops. Missed file.Kenneth R Westerback
2013-06-09Make route adding interface more flexible by passing flags to beKenneth R Westerback
2013-06-09Re-apply route adding code refactoring -- it wasn't the problem thatKenneth R Westerback
2013-06-09Backout static/classless route handling and default route refactoringKenneth R Westerback
2013-06-01Refactor the default route adding code to use a general route addingKenneth R Westerback
2013-03-30Since deleting all the addresses on an interface removes all theKenneth R Westerback
2013-03-11When binding a lease, check for and clear out any 'zombie' routesKenneth R Westerback
2013-02-20Nuke unused imsg_resolv_conf struct and declaration for non-existant function...Kenneth R Westerback
2013-02-18Rework log messages to be more useful. RenameKenneth R Westerback
2013-02-02Fix resolv.conf magic. Add identifying comment to generated resolv.confKenneth R Westerback
2013-01-27Refactor code a bit. Calculate resolv.conf contents once when binding aKenneth R Westerback
2013-01-17Try harder to clear out default routes on the interface beingKenneth R Westerback
2013-01-15Add IMSG_WRITE_FILE and associated bits to allow the unprivilegedKenneth R Westerback
2012-12-02Try harder to cleanup when exiting. In particular catch signalsKenneth R Westerback
2012-12-01A couple of whitespace nits.Kenneth R Westerback
2012-11-29Nuke unused 'extern' declaration.Kenneth R Westerback
2012-11-23Use the libutil imsg framework rather than a hand-rolled localKenneth R Westerback