NetworkManager/src
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
..
bluez-manager build: remove G_DISABLE_DEPRECATED 2012-10-31 19:41:07 +01:00
config core: fix build with glib < 2.34 2013-04-03 13:11:31 -04:00
dhcp-manager dhcp: use private socket to return status if available 2013-04-08 11:30:31 -05:00
dns-manager dns-manager: add dns=none 2013-04-03 10:23:49 -04:00
dnsmasq-manager all: remove more pointless NULL checks 2013-02-13 13:38:36 -05:00
firewall-manager all: remove redundant return-if-fail checks 2013-03-07 07:32:27 -05:00
generated config: move NMConfig into its own subdirectory/library 2013-04-03 10:23:47 -04:00
ip6-manager netlink: don't ref/unref the singleton 2013-03-13 22:15:29 +01:00
logging config: fix documentation of --log-domains 2013-04-03 10:23:47 -04:00
modem-manager mobile: clarifiy modem state change log message 2013-03-25 15:56:06 -05:00
posix-signals build: remove G_DISABLE_DEPRECATED 2012-10-31 19:41:07 +01:00
ppp-manager ppp: ignore errors getting final PPP stats 2013-03-25 15:26:51 -05:00
settings settings: remove NM_SETTINGS_ERROR_NOT_PRIVILEGED 2013-04-08 10:55:38 -05:00
supplicant-manager libnm-util: consolidate hex-string <-> bin conversion functions 2013-03-28 16:59:58 +01:00
tests tests: clean up gtester usage 2013-02-26 13:07:33 +01:00
vpn-manager all: remove more pointless NULL checks 2013-02-13 13:38:36 -05:00
wifi trivial: plug some memory leaks 2013-02-25 16:07:03 +01:00
wimax core: use wrappers for DBus object registration/unregistration 2013-04-08 10:55:37 -05:00
main.c core: add a root-only private D-Bus socket 2013-04-08 10:55:37 -05:00
Makefile.am core: add a root-only private D-Bus socket 2013-04-08 10:55:37 -05:00
NetworkManagerUtils.c config: add NMConfigDevice 2013-04-03 10:23:48 -04:00
NetworkManagerUtils.h config: add NMConfigDevice 2013-04-03 10:23:48 -04:00
nm-activation-request.c core: fix duplicating (not removing) active connections 2013-02-11 11:48:11 -06:00
nm-activation-request.h core: move most activation request logic to the active connection class 2012-12-17 17:01:10 -06:00
nm-active-connection.c core: use wrappers for DBus object registration/unregistration 2013-04-08 10:55:37 -05:00
nm-active-connection.h core: move most activation request logic to the active connection class 2012-12-17 17:01:10 -06:00
nm-call-store.c core: update logging in misc files 2010-04-07 12:28:57 -07:00
nm-call-store.h 2008-11-02 Dan Williams <dcbw@redhat.com> 2008-11-03 04:13:42 +00:00
nm-connection-provider.c core: move connection provider interface to src/ 2012-05-17 13:21:47 -05:00
nm-connection-provider.h core: move connection provider interface to src/ 2012-05-17 13:21:47 -05:00
nm-connectivity.c config: make NMConfig non-refcounted 2013-04-03 10:23:47 -04:00
nm-connectivity.h core: use Config object for connectivity checking parameters 2013-03-11 14:45:12 -05:00
nm-dbus-manager.c core: add DBus Proxy creation helper 2013-04-08 10:55:38 -05:00
nm-dbus-manager.h core: add DBus Proxy creation helper 2013-04-08 10:55:38 -05:00
nm-device-adsl.c Revert :carrier-detect properties and associated code 2013-04-03 10:23:49 -04:00
nm-device-adsl.h docs: fix a few documentation errors 2012-06-29 11:49:51 +02:00
nm-device-bond.c Revert :carrier-detect properties and associated code 2013-04-03 10:23:49 -04:00
nm-device-bond.h core, libnm-glib: expose "slaves" property on NMDeviceBond 2012-10-19 12:09:27 -04:00
nm-device-bridge.c Revert :carrier-detect properties and associated code 2013-04-03 10:23:49 -04:00
nm-device-bridge.h core,libnm-glib: expose "slaves" property on NMDeviceBridge 2012-11-30 13:21:51 -06:00
nm-device-bt.c Revert :carrier-detect properties and associated code 2013-04-03 10:23:49 -04:00
nm-device-bt.h core: add generic way of getting device hardware addresses 2013-01-24 14:56:38 -06:00
nm-device-ethernet.c core: silence warning about failure to read permanent MAC address (rh #907912) 2013-04-05 13:06:22 -05:00
nm-device-ethernet.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-factory.h core: add device factory infrastructure and make WiMAX a plugin 2011-12-02 13:30:08 -06:00
nm-device-infiniband.c core: make nm_device_check_connection_compatible() check interface-name 2013-03-13 16:45:19 -04:00
nm-device-infiniband.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-modem.c core: make nm_device_check_connection_compatible() check interface-name 2013-03-13 16:45:19 -04:00
nm-device-modem.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-device-olpc-mesh.c core: make nm_device_check_connection_compatible() check interface-name 2013-03-13 16:45:19 -04:00
nm-device-olpc-mesh.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-private.h core: simplify/rename nm_device_connection_match_config() 2013-03-13 13:21:59 -04:00
nm-device-vlan.c core: add ignore-carrier config option 2013-04-03 10:23:49 -04:00
nm-device-vlan.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-wifi.c core: silence warning about failure to read permanent MAC address (rh #907912) 2013-04-05 13:06:22 -05:00
nm-device-wifi.h core: add NM_WIFI_DEVICE_CAP_ADHOC 2013-02-11 12:39:28 -05:00
nm-device-wired.c core: add ignore-carrier config option 2013-04-03 10:23:49 -04:00
nm-device-wired.h core: move carrier-detect NMDeviceState handling into NMDevice 2013-02-15 13:40:38 -05:00
nm-device.c core: add ignore-carrier config option 2013-04-03 10:23:49 -04:00
nm-device.h core: add ignore-carrier config option 2013-04-03 10:23:49 -04:00
nm-dhcp4-config.c core: use wrappers for DBus object registration/unregistration 2013-04-08 10:55:37 -05:00
nm-dhcp4-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-dhcp6-config.c core: use wrappers for DBus object registration/unregistration 2013-04-08 10:55:37 -05:00
nm-dhcp6-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-dispatcher.c core: fix more GValueArray deprecation fallout 2013-02-27 18:09:52 +01:00
nm-dispatcher.h core: add cancelation to dispatcher calls 2012-09-11 17:17:58 -05:00
nm-hostname-provider.c misc: license fixups 2010-01-21 15:11:50 -08:00
nm-hostname-provider.h misc: license fixups 2010-01-21 15:11:50 -08:00
nm-ip4-config.c core: use wrappers for DBus object registration/unregistration 2013-04-08 10:55:37 -05:00
nm-ip4-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-ip6-config.c core: use wrappers for DBus object registration/unregistration 2013-04-08 10:55:37 -05:00
nm-ip6-config.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-manager-auth.c auth: move common nm_dbus_manager_get_caller_info() functionality into nm_auth_chain_new() 2013-04-08 10:55:38 -05:00
nm-manager-auth.h auth: move common nm_dbus_manager_get_caller_info() functionality into nm_auth_chain_new() 2013-04-08 10:55:38 -05:00
nm-manager.c auth: move common nm_dbus_manager_get_caller_info() functionality into nm_auth_chain_new() 2013-04-08 10:55:38 -05:00
nm-manager.h core: use Config object for connectivity checking parameters 2013-03-11 14:45:12 -05:00
nm-netlink-monitor.c netlink: don't ref/unref the singleton 2013-03-13 22:15:29 +01:00
nm-netlink-monitor.h cleanup: remove unnecessary headers from nm-netlink-monitor.h 2013-03-06 11:59:07 +01:00
nm-netlink-utils.c netlink: replace libnl 1.x functions 2013-03-05 23:02:42 +01:00
nm-netlink-utils.h netlink: clean up header includes 2013-01-25 00:13:39 +01:00
nm-policy-hosts.c trivial: plug some memory leaks 2013-02-25 16:07:03 +01:00
nm-policy-hosts.h policy: stop touching /etc/hosts 2010-12-17 09:28:49 -06:00
nm-policy.c core: don't pass config data to NMDHCPManager and NMDnsManager 2013-04-03 10:23:48 -04:00
nm-policy.h policy: monitor connection activation/deactivation via the manager 2012-12-17 17:01:10 -06:00
nm-properties-changed-signal.c all: use G_VALUE_INIT to initialize GValue variables 2013-03-25 08:41:18 +01:00
nm-properties-changed-signal.h 2008-11-02 Dan Williams <dcbw@redhat.com> 2008-11-03 04:13:42 +00:00
nm-rfkill.h udev: add support for other types of rfkill switches 2009-12-23 01:30:54 -08:00
nm-session-monitor-ck.c build: unify NetworkManager path handling (some paths are changed) 2012-11-05 14:01:47 +01:00
nm-session-monitor-null.c core: fix undefined reference to assert in session-monitor-{systemd, null} 2012-02-09 10:48:20 -06:00
nm-session-monitor-systemd.c core: handle return values from libsystemd-login correctly 2012-08-27 09:55:04 -05:00
nm-session-monitor.h settings: clean up connection visibility and session change handling 2010-10-26 16:33:47 -05:00
nm-session-utils.c Use glib-mkenums to generate enum types 2012-02-15 11:42:15 -05:00
nm-session-utils.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-sleep-monitor-systemd.c core: remove remaining pre-2.32 GLib compat / deprecated usage 2013-02-26 13:07:33 +01:00
nm-sleep-monitor-upower.c core: DBusGConnections are not GObjects 2012-10-14 10:43:54 -05:00
nm-sleep-monitor.h core: factor out the upower suspend/resume code (bgo #677694) 2012-10-13 09:20:00 -05:00
nm-system.c cleanup: remove nm-netlink-compat 2013-03-05 23:02:50 +01:00
nm-system.h core: only manage those bridges created by NetworkManager (rh #905035) 2013-02-04 11:59:15 -06:00
nm-types.h core: add header for NM object types 2012-12-17 17:01:10 -06:00
nm-udev-manager.c all: remove redundant return-if-fail checks 2013-03-07 07:32:27 -05:00
nm-udev-manager.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-wifi-ap-utils.c wifi: support ap-mode with wpa_supplicant 2012-10-17 12:08:11 -05:00
nm-wifi-ap-utils.h wifi: fix scanned signal strength calculation for WEXT-based drivers 2011-03-13 12:50:40 -05:00
nm-wifi-ap.c core: use wrappers for DBus object registration/unregistration 2013-04-08 10:55:37 -05:00
nm-wifi-ap.h wifi: support ap-mode with wpa_supplicant 2012-10-17 12:08:11 -05:00
org.freedesktop.NetworkManager.conf dbus: allow talking to the NetworkManager-SSH VPN plugin 2013-03-20 08:28:14 -05:00