NetworkManager/src
Lubomir Rintel 117e62040d 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"

(cherry picked from commit 85ee1f4a9c)
2015-06-17 13:39:42 +02:00
..
devices core: Use tokenized identifiers when constructing an address 2015-06-17 13:19:16 +02:00
dhcp-manager libnm: move _nm_utils_ascii_str_to_int64() from src/ to libnm-core/ 2015-06-17 13:30:39 +02:00
dns-manager dns: don't override DHCP-supplied search order with domain 2015-05-17 19:25:17 +02:00
dnsmasq-manager tests: enable valgrind tests for tests 2015-03-13 11:50:04 +01:00
platform platform: give the platform an opportunity to override default-unmanaged 2015-06-17 13:39:42 +02:00
ppp-manager core: use nm_utils_modprobe() 2015-06-17 12:53:24 +02:00
rdisc core: Use tokenized identifiers when constructing an address 2015-06-17 13:19:16 +02:00
settings libnm: move _nm_utils_ascii_str_to_int64() from src/ to libnm-core/ 2015-06-17 13:30:39 +02:00
supplicant-manager libnm: accept unknown WEP key type in nm_utils_wep_key_valid() 2015-03-20 13:07:10 +01:00
tests libnm: move _nm_utils_ascii_str_to_int64() from src/ to libnm-core/ 2015-06-17 13:30:39 +02:00
vpn-manager vpn: don't fail if no system secrets exist 2015-05-20 14:26:48 -05:00
main-utils.c config: add handler for SIGHUP and a reload-configuration stub 2015-05-05 16:49:58 +02:00
main-utils.h config: add handler for SIGHUP and a reload-configuration stub 2015-05-05 16:49:58 +02:00
main.c core: don't assume the loopback interface is called "lo" 2015-06-04 14:40:22 +02:00
Makefile.am config: add new NMConfigData class 2015-05-05 16:49:44 +02:00
NetworkManagerUtils.c libnm: move _nm_utils_ascii_str_to_int64() from src/ to libnm-core/ 2015-06-17 13:30:39 +02:00
NetworkManagerUtils.h libnm: move _nm_utils_ascii_str_to_int64() from src/ to libnm-core/ 2015-06-17 13:30:39 +02:00
nm-activation-request.c all: remove a bunch of unnecessary dbus/dbus-glib includes 2014-09-03 10:45:24 -04: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 logging: use _nm_log() to avoid duplicate check of whether logging is enabled 2015-04-29 15:15:39 +02: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 15:04:22 +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:16:31 +01:00
nm-auth-utils.h auth: rework polkit autorization to use DBUS interface directly 2014-09-29 13:51:11 +02:00
nm-config-data.c libnm: move _nm_utils_ascii_str_to_int64() from src/ to libnm-core/ 2015-06-17 13:30:39 +02:00
nm-config-data.h device: don't assume by default IPv6LL-only connections 2015-06-10 22:09:40 +02:00
nm-config.c config: make ignore-carrier option reloadable 2015-06-10 18:44:57 +02:00
nm-config.h config: make ignore-carrier option reloadable 2015-06-10 18:44:57 +02: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: use default on missing connectivity.interval config 2015-05-19 15:37:14 +02:00
nm-connectivity.h connectivity: make NMConnectivity independent of NMConfig 2015-05-05 16:50:10 +02:00
nm-dbus-manager.c dbus-manager: harden registering/unregistering object 2015-04-23 19:51:42 +02:00
nm-dbus-manager.h dbus-manager: add nm_dbus_manager_setup() function for testing 2015-03-13 11:50:50 +01:00
nm-dcb.c all: consistently include config.h 2014-11-13 17:18:42 -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 logging: use _nm_log() to avoid duplicate check of whether logging is enabled 2015-04-29 15:15:39 +02: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-05-11 15:31:16 +02:00
nm-dispatcher.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-firewall-manager.c firewall: always complete callbacks asynchronously 2014-11-19 12:59:42 +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 config: add handler for SIGHUP and a reload-configuration stub 2015-05-05 16:49:58 +02:00
nm-ip4-config.c nm-device: move device MTU setting from IP4Config to NMDevice 2015-05-05 16:37:06 +02:00
nm-ip4-config.h core: fix route metrics for subnet routes 2014-11-25 22:30:38 +01:00
nm-ip6-config.c core: fix memleak releasing priv->path in NMIP4Config and NMIP6Config 2015-01-29 15:04:22 +01:00
nm-ip6-config.h core: add nm_ip4_config_get_subnet_for_host() function 2014-11-07 15:23:11 +01:00
nm-logging.c logging/trivial: rename _nm_log() to _nm_log_impl() 2015-04-29 15:15:17 +02:00
nm-logging.h logging: add logging macro _nm_log() that logs unconditionally 2015-04-29 15:15:19 +02:00
nm-manager.c platform: give the platform an opportunity to override default-unmanaged 2015-06-17 13:39:42 +02: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 firewall: don't set firewall zone for assumed devices 2014-11-19 12:59:42 +01:00
nm-policy.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-posix-signals.c core: merge src/config, src/logging, src/posix-signals into src/ 2014-07-30 15:56:29 -04:00
nm-posix-signals.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-properties-changed-signal.c core: log ignored property notification with level TRACE 2015-03-11 17:07:55 +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-session-monitor-ck.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-session-monitor-null.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-session-monitor-systemd.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-session-monitor.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-session-utils.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-session-utils.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-sleep-monitor-systemd.c core: don't auto-launch logind (bgo #741572) 2014-12-16 09:26:32 -06:00
nm-sleep-monitor-upower.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-sleep-monitor.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-types.h core: Add NMUtilsIPv6IfaceId to nm-types.h 2015-06-17 13:19:16 +02:00
org.freedesktop.NetworkManager.conf dbus: increase 'max_replies_per_connection' limit in D-Bus configuration 2015-05-29 08:29:04 +02:00