NetworkManager/src
Lubomir Rintel 85ee1f4a9c platform: give the platform an opportunity to override default-unmanaged
Some out of tree drivers add Ethernet devices that are supposed to be managed
by other their tooling, e.g. VirtualBox or VMWare.

Rather than hardcoding their drivers (at least VirtualBox doesn't even set a
"driver" property in sysfs) or hardcoding a logic that identifies such devices
let's just add a possibility to blacklist them in udev. This makes it possible
for whoever who ships such a driver to ship rules that prevent NetworkManager
from managing the device itself.

Furthermore it makes it possible for the user with special needs leverage the
flexibility of udev rules to override the defaults. In the end the user can
decide to let NetworkManager manage default-unmanaged interfaces such as VEth
or turn on default-unmanaged for devices on a particular bus.

An udev rule for VirtualBox would look like this:

  SUBSYSTEM=="net", ENV{INTERFACE}=="vboxnet[0-9]*", ENV{NM_UNMANAGED}="1"
2015-03-23 15:13:02 +01:00
..
devices libnm,core: don't mix up enum types 2015-03-19 11:48:49 +01:00
dhcp-manager libnm: move _nm_utils_ascii_str_to_int64() from src/ to libnm-core/ 2015-03-12 18:12:26 +01:00
dns-manager dns-manager: react to dns management mode changes 2015-02-25 18:25:04 +01:00
dnsmasq-manager tests: enable valgrind tests for tests 2015-02-09 11:51:07 +01:00
platform platform: give the platform an opportunity to override default-unmanaged 2015-03-23 15:13:02 +01:00
ppp-manager core: pass ifindex as parameter to nm_ip6_config_new() 2015-02-27 16:50:09 +01:00
rdisc ndp: memleak: unregister router advertisement handler on dispose 2015-02-18 18:10:47 +01:00
settings libnm: accept unknown WEP key type in nm_utils_wep_key_valid() 2015-03-20 13:02:04 +01:00
supplicant-manager libnm: accept unknown WEP key type in nm_utils_wep_key_valid() 2015-03-20 13:02:04 +01:00
tests platform: don't wait for udev device initializaton if there's no udev 2015-03-23 15:13:02 +01:00
vpn-manager vpn: convert NMVpnConnection <-> VPN service communication to GDBus (bgo #745307) 2015-03-03 15:04:46 -06:00
main-utils.c main: (order) move root user check after help/version option 2015-03-20 11:43:30 +01:00
main-utils.h main: (order) move root user check after help/version option 2015-03-20 11:43:30 +01:00
main.c main: (order) early start D-Bus service 2015-03-20 11:43:30 +01:00
Makefile.am supplicant: remove unused nm-call-store.c/.h 2015-03-03 14:56:26 -06:00
NetworkManagerUtils.c libnm: move _nm_utils_uuid_generate_from_strings() from src/ to libnm-core/ 2015-03-12 18:12:26 +01:00
NetworkManagerUtils.h libnm: move _nm_utils_uuid_generate_from_strings() from src/ to libnm-core/ 2015-03-12 18:12:26 +01:00
nm-activation-request.c core, dispatcher: drop unnecessary setpgid() calls 2015-01-19 11:29:13 -05:00
nm-activation-request.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-active-connection.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-active-connection.h vpn/core: move VPN gateway route between devices when routing changes 2014-11-06 21:17:34 -06:00
nm-auth-manager.c auth: destroy singleton instance of NMAuthManager on exit 2015-01-12 12:10:03 +01:00
nm-auth-manager.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-auth-subject.c auth: fix memleak in _new_unix_process() 2015-01-29 14:59:42 +01:00
nm-auth-subject.h auth: support disabling POLKIT authentication entirely at compile time 2014-09-29 13:51:11 +02:00
nm-auth-utils.c auth-utils: memleak: free the key when we steal data 2015-02-18 18:10:47 +01:00
nm-auth-utils.h auth: remove session monitor argument 2015-01-05 18:38:44 +01:00
nm-config-data.c config: move dns mode configuration to NMConfigData 2015-02-25 18:25:04 +01:00
nm-config-data.h config: move dns mode configuration to NMConfigData 2015-02-25 18:25:04 +01:00
nm-config.c config: move dns mode configuration to NMConfigData 2015-02-25 18:25:04 +01:00
nm-config.h config: move dns mode configuration to NMConfigData 2015-02-25 18:25:04 +01:00
nm-connection-provider.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-connection-provider.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-connectivity.c connectivity: disable HTTP keepalive for connectivity checks 2015-03-16 10:45:25 -05:00
nm-connectivity.h connectivity: make NMConnectivity independent of NMConfig 2015-02-03 13:01:53 +01:00
nm-dbus-manager.c dbus-manager: add nm_dbus_manager_setup() function for testing 2015-02-16 17:42:01 +01:00
nm-dbus-manager.h dbus-manager: add nm_dbus_manager_setup() function for testing 2015-02-16 17:42:01 +01:00
nm-dcb.c core: use GUnixSignalWatchSource to simplify signal handling 2015-01-19 11:29:13 -05:00
nm-dcb.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-default-route-manager.c default-route-manager/trivial: add code comment 2015-02-17 12:28:55 +01:00
nm-default-route-manager.h policy: remove redundant remove_default_route() functions from NMDefaultRouteManager 2014-11-19 22:55:32 +01:00
nm-dhcp4-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp4-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dhcp6-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp6-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dispatcher.c trivial: remove a tautological compare 2015-03-19 11:48:49 +01:00
nm-dispatcher.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-firewall-manager.c core: declare nm_firewall_manager_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:03 +01:00
nm-firewall-manager.h firewall: make call handle an opaque pointer type 2014-11-19 12:58:36 +01:00
nm-iface-helper.c nm-iface-helper: remove duplicate setpgid() call 2015-03-20 12:31:44 +01:00
nm-ip4-config.c nm-device: move device MTU setting from IP4Config to NMDevice 2015-03-09 18:21:01 +01:00
nm-ip4-config.h core: pass ifindex as parameter to nm_ip6_config_new() 2015-02-27 16:50:09 +01:00
nm-ip6-config.c core: pass ifindex as parameter to nm_ip6_config_new() 2015-02-27 16:50:09 +01:00
nm-ip6-config.h core: pass ifindex as parameter to nm_ip6_config_new() 2015-02-27 16:50:09 +01:00
nm-logging.c logging: add error argument to _nm_log() to support "%m" format specifier 2015-03-02 14:22:09 +01:00
nm-logging.h build: disable warnings where macros expand to tautological comparisons 2015-03-19 11:48:49 +01:00
nm-manager.c platform: give the platform an opportunity to override default-unmanaged 2015-03-23 15:13:02 +01:00
nm-manager.h iface-helper: add nm-iface-helper for dynamic configure-then-quit support 2014-11-07 12:18:33 -06:00
nm-policy.c core: declare nm_dns_manager_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:02 +01:00
nm-policy.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-properties-changed-signal.c core: intern hyphen_name string in nm_properties_changed_signal_add_property() 2015-01-29 16:23:43 +01:00
nm-properties-changed-signal.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-rfkill-manager.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-rfkill-manager.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-route-manager.c route-manager: fix memleaks in nm_route_manager_ip4_route_sync() 2015-03-12 13:51:06 +01:00
nm-route-manager.h core: split route management code out from platform 2015-02-27 16:48:27 +01:00
nm-session-monitor.c core: fix session-monitor build with --with-session-tracking=none 2015-02-05 11:09:22 +01:00
nm-session-monitor.h session: merge nm-session-monitor-* modules 2015-01-05 18:39:46 +01:00
nm-sleep-monitor-systemd.c core: declare nm_sleep_monitor_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:02 +01:00
nm-sleep-monitor-upower.c core: declare nm_sleep_monitor_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:02 +01:00
nm-sleep-monitor.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-types.h core: split route management code out from platform 2015-02-27 16:48:27 +01:00
org.freedesktop.NetworkManager.conf vpn: convert NMVpnConnection <-> VPN service communication to GDBus (bgo #745307) 2015-03-03 15:04:46 -06:00