NetworkManager/src
Dan Williams 140ebbbf89 dhcp: generate DUID-UUID from /etc/machine-id (bgo #691885)
DHCPv6 RFCs require the DUID to be constant over time and to
be used as a permanent identifiers of the machine.  This precludes
using a network interface MAC address since the MAC address may
change, and there may be more than one network interface installed.

Storing the DUID causes problems when an OS image is cloned between
virtual or physical machines because then the saved DUID is no longer
unique.

To fix all these issues, generate the DUID from the machine's hashed
machine-id, which is already a unique identifier of the machine and
will always be present because dbus requires it, and NM requires
dbus.  It is assumed administrators will change the machine-id when
cloning an OS image; thus they only have to update one file, not
two (machine-id and the stored DUID).

Administrators may still override the machine-id-derived DUID by
setting a DUID in the default dhclient config file or the
interface-specific dhclient config files.

dhclient no longer saves a generated DUID to the config files,
because the default DUID will always be regenerated from
the machine-id on startup and thus always stable.
2013-02-07 12:38:58 -06:00
..
bluez-manager build: remove G_DISABLE_DEPRECATED 2012-10-31 19:41:07 +01:00
dhcp-manager dhcp: generate DUID-UUID from /etc/machine-id (bgo #691885) 2013-02-07 12:38:58 -06:00
dns-manager dnsmasq: only pass confdir if it exists (rh #873621) 2012-12-06 15:18:28 -06:00
dnsmasq-manager ifnet: avoid -Wformat-security errors 2012-12-11 23:06:10 +01:00
firewall-manager firewall: set interface zone before IP configuration (rh #805405) 2012-03-21 15:10:11 -05:00
generated modem-manager: new `NMModemBroadband' 2012-11-21 11:48:25 -06:00
ip6-manager ip6: use generic device hardware address function 2013-01-24 15:06:05 -06:00
logging logging: add BRIDGE log domain 2013-02-04 10:37:46 -06:00
modem-manager modem-manager: properly follow name-owner changes 2013-02-07 12:17:32 -06:00
posix-signals build: remove G_DISABLE_DEPRECATED 2012-10-31 19:41:07 +01:00
ppp-manager build: remove G_DISABLE_DEPRECATED 2012-10-31 19:41:07 +01:00
settings wired: move hardware address handling back to NMDeviceWired subclasses 2013-01-24 14:56:38 -06:00
supplicant-manager wifi: always enable proactive key caching for WPA Enterprise (rh #834444) 2012-12-06 14:58:46 -06:00
tests build: improve documentation and test configure options 2012-11-13 20:23:06 +01:00
vpn-manager vpn: it is not a problem to flush IPv6 routes 2013-01-23 09:09:21 +01:00
wifi build: drop libnl 1.x and 2.x support, require libnl >= 3.2.7 2013-01-24 19:47:53 +01:00
wimax core: add generic way of getting device hardware addresses 2013-01-24 14:56:38 -06:00
gdb-cmd 2006-02-26 Dan Williams <dcbw@redhat.com> 2006-02-27 04:31:52 +00:00
main.c build: clean up dbus-glib checks 2013-01-30 11:19:15 -06:00
Makefile.am Remove SIGSEGV/SIGFPE etc. handling 2013-01-22 12:49:48 -05:00
NetworkManagerUtils.c core: preserve errno in nm_utils_do_sysctl() 2013-02-04 10:37:46 -06:00
NetworkManagerUtils.h libnm-util: move nm_utils_is_uuid() here 2012-09-26 12:14:37 -04:00
nm-activation-request.c core: add the NM_ACTIVE_CONNECTION_STATE_DEACTIVATED state 2012-12-17 17:01:10 -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: handle some connection timestamp updating in NMActiveConnection 2012-12-17 17:01:10 -06: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-config.c build: unify NetworkManager path handling (some paths are changed) 2012-11-05 14:01:47 +01:00
nm-config.h Fix names of error enum values 2012-03-12 15:29:52 -04: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 core: additional connectivity checking debug messages 2012-02-27 10:56:51 -06:00
nm-connectivity.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-dbus-manager.c core: use #defines for NMDBusManager signal names 2010-12-10 11:36:55 -06:00
nm-dbus-manager.h build: do the right thing with config.h (bgo #644664) 2011-03-14 01:01:22 -05:00
nm-device-adsl.c core: simplify nm_device_get_best_auto_connection() implementations 2013-01-29 10:14:19 -05:00
nm-device-adsl.h docs: fix a few documentation errors 2012-06-29 11:49:51 +02:00
nm-device-bond.c core: generalize waiting for IP config until slaves are ready 2013-02-04 10:37:47 -06: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 core: generalize waiting for IP config until slaves are ready 2013-02-04 10:37:47 -06: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 core: simplify nm_device_get_best_auto_connection() implementations 2013-01-29 10:14:19 -05: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: simplify nm_device_get_best_auto_connection() implementations 2013-01-29 10:14:19 -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: simplify nm_device_get_best_auto_connection() implementations 2013-01-29 10:14:19 -05:00
nm-device-infiniband.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-modem.c device: share implementation of hw_is_up, hw_bring_up and hw_take_down 2013-01-22 18:03:25 +01: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: add generic way of getting device hardware addresses 2013-01-24 14:56:38 -06: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: let subclasses find slaves by ifindex 2013-02-04 10:37:47 -06:00
nm-device-vlan.c core: simplify nm_device_get_best_auto_connection() implementations 2013-01-29 10:14:19 -05:00
nm-device-vlan.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-device-wifi.c core: simplify nm_device_get_best_auto_connection() implementations 2013-01-29 10:14:19 -05:00
nm-device-wifi.h core: add generic way of getting device hardware addresses 2013-01-24 14:56:38 -06:00
nm-device-wired.c wired: wait for carrier on master devices before proceeding with IP config 2013-02-04 10:37:47 -06:00
nm-device-wired.h core: allow Wired device subclasses to override carrier handling 2013-02-04 10:37:46 -06:00
nm-device.c core: let subclasses find slaves by ifindex 2013-02-04 10:37:47 -06:00
nm-device.h core: generalize waiting for IP config until slaves are ready 2013-02-04 10:37:47 -06:00
nm-dhcp4-config.c dispatcher: pass DHCP options as string:string hash 2011-05-11 16:01:12 -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 dispatcher: pass DHCP options as string:string hash 2011-05-11 16:01:12 -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 a crash due to GValueArray/GArray freeing mismatch (rh #865009) 2012-10-11 15:41:48 +02: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 trivial: use the constant for NM_IP*_COMPARE_FLAG_ALL 2012-06-12 10:00:03 -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 ip6: rename defgw to gateway 2012-06-26 23:50:19 -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 core: use nm_connection_get_setting_<type>() whenever possible 2011-12-06 16:06:43 -06:00
nm-manager-auth.h core: add nm_auth_chain_steal_data() 2011-07-01 15:38:38 -05:00
nm-manager.c rfkill: set kernel WiFi rfkill state to cached state on startup 2013-02-06 13:02:29 -06:00
nm-manager.h core: don't allow auto-activation of a master that has been disconnected 2013-02-04 10:37:47 -06:00
nm-netlink-compat.c netlink: clean up header includes 2013-01-25 00:13:39 +01:00
nm-netlink-compat.h netlink: clean up header includes 2013-01-25 00:13:39 +01:00
nm-netlink-monitor.c core: expose IP4 wait state to subclasses 2013-02-04 10:37:47 -06:00
nm-netlink-monitor.h core: expose IP4 wait state to subclasses 2013-02-04 10:37:47 -06:00
nm-netlink-utils.c netlink: clean up header includes 2013-01-25 00:13:39 +01:00
nm-netlink-utils.h netlink: clean up header includes 2013-01-25 00:13:39 +01:00
nm-policy-hostname.c policy: fix logging address for reverse-lookup in hostname4_thread_new() 2012-12-17 19:48:40 +01:00
nm-policy-hostname.h policy: stop touching /etc/hosts 2010-12-17 09:28:49 -06:00
nm-policy-hosts.c hosts: reduce warnings to debug messages 2012-10-04 14:40:27 -05:00
nm-policy-hosts.h policy: stop touching /etc/hosts 2010-12-17 09:28:49 -06:00
nm-policy.c policy: monitor connection activation/deactivation via the manager 2012-12-17 17:01:10 -06: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 core: add nm-logging.h when compiling with DEBUG 2012-01-17 14:43:03 +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 sleep-monitor: make the systemd's sleep also work for GLib < 2.30 2012-12-04 11:30:20 -06: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 core: only manage those bridges created by NetworkManager (rh #905035) 2013-02-04 11:59:15 -06: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 bridge: add bridge device type 2012-11-30 13:21:51 -06: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 wifi: fix AP mode check in nm_ap_check_compatible() 2012-11-01 14:52:14 +01: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: remove 'max_replies_per_connection' limit from D-Bus configuration 2012-05-23 10:37:19 +02:00