NetworkManager/src/dhcp-manager
Dan Williams b69171061c dhcp: use private socket to return status if available
Allows DHCP to work when a bus daemon isn't running.  This also
fixes a race condition where when multiple interfaces are attempting
to get a DHCP lease at the same time, if one DHCP client instance
triggers the callout, that instance gets the bus name, and any
other client triggering the callout at that time will fail because
the bus name is already taken.  Since this commit allows using
a private socket, where no process has a bus name, this race is
avoided.

Also move the DHCP helper from callouts/ to src/dhcp-manager/ to
consolidate all the DHCP stuff and clean up some of the helper's
code.
2013-04-08 11:30:31 -05:00
..
tests dhcp: fix up testcase for "also request static-routes;" 2013-03-21 13:20:13 -05:00
Makefile.am dhcp: use private socket to return status if available 2013-04-08 11:30:31 -05:00
nm-dhcp-client.c trivial: rename rand to avoid -Wshadow 2013-04-02 11:03:47 +02:00
nm-dhcp-client.h dhcp: add generic DUID infrastructure 2013-01-29 10:16:45 -06:00
nm-dhcp-dhclient-utils.c dhclient: also request 'static-routes' option from DHCP server (rh #922558) 2013-03-20 10:00:42 +01:00
nm-dhcp-dhclient-utils.h dhclient: save DUID to dhclient leasefiles when required 2013-01-29 10:18:42 -06:00
nm-dhcp-dhclient.c dhcp: use private socket to return status if available 2013-04-08 11:30:31 -05:00
nm-dhcp-dhclient.h dhcp: store NetworkManager-specific dhclient leases in /var/lib/NetworkManager/ 2012-11-16 15:27:22 -06:00
nm-dhcp-dhcpcd.c dhcp: use private socket to return status if available 2013-04-08 11:30:31 -05:00
nm-dhcp-dhcpcd.h dhcp: store NetworkManager-specific dhclient leases in /var/lib/NetworkManager/ 2012-11-16 15:27:22 -06:00
nm-dhcp-helper.c dhcp: use private socket to return status if available 2013-04-08 11:30:31 -05:00
nm-dhcp-helper.conf dhcp: use private socket to return status if available 2013-04-08 11:30:31 -05:00
nm-dhcp-manager.c dhcp: use private socket to return status if available 2013-04-08 11:30:31 -05:00
nm-dhcp-manager.h core: don't pass config data to NMDHCPManager and NMDnsManager 2013-04-03 10:23:48 -04:00