NetworkManager/man
Andrew Zaborowski 4229c97012
iwd: Mirror NM connections to IWD network config files
Watch for NMSettingConnection changes and creation signals and convert
them to IWD format and write them to the configured IWD profile storage
directory.  The logic is off by default and gets enabled when the new
iwd-config-path setting in nm.conf's [main] group is set to a path to
an existing directory.

The idea here is that when a user edits an NM connection profile, the
change is immediately mirrored in IWD since IWD watches its
configuration directory using inotify.  This way NM clients can be used
to edit 802.1x settings, the PSK passphrase or the SSID -- changes that
would previously not take effect with the IWD backend.

Some precautions are taken to not make connections owned by a user
available to other users, such connections are not converted at all.
In all other cases where a connection cannot be converted sufficiently
well to the IWD format, for various reasons, we also give up and not
mirror these connections.

Due to IWD limitations and design differences with NM this logic has
many problems where it may not do its task properly.  It's meant to work
on a best-effort and "better than nothing" basis, but it should be safe
in that it shouldn't delete users data or reveal secrets, etc.  The most
obvious limitation is that there can be multiple NM connections
referring to the same SSID+Security tuple and only one IWD profile can
exist because the filename is based on only the SSID+Security type.  We
already had one NM connection selected for each IWD KnownNetwork and
referenced by a pointer, so we ignore changes in NM connections other
than that selected one.
2021-03-23 14:24:42 +01:00
..
common.ent.in man: fix "no-auto-default" state dir in NetworkManager.conf manual 2018-10-25 15:24:38 +02:00
meson.build man: split NetworkManager-dispatcher(8) manual page out of NetworkManager(8) 2021-03-16 17:01:53 +01:00
NetworkManager-dispatcher.xml man: split NetworkManager-dispatcher(8) manual page out of NetworkManager(8) 2021-03-16 17:01:53 +01:00
NetworkManager.conf.xml iwd: Mirror NM connections to IWD network config files 2021-03-23 14:24:42 +01:00
NetworkManager.xml man: split NetworkManager-dispatcher(8) manual page out of NetworkManager(8) 2021-03-16 17:01:53 +01:00
nm-cloud-setup.xml man: clarify use of systemctl edit in man nm-cloud-setup 2021-02-02 17:50:58 +01:00
nm-initrd-generator.xml initrd: add support for rd.net.timeout.carrier 2021-01-20 16:10:56 +01:00
nm-online.xml nm-online: allow configuring timeout via NM_ONLINE_TIMEOUT environment 2020-04-30 21:46:59 +02:00
nm-openvswitch.xml man: update nm-openswitch example 2019-07-09 12:05:32 +02:00
nm-settings-dbus.xsl docs: update documentation for nm-settings-nmcli manual 2020-06-11 10:53:49 +02:00
nm-settings-ifcfg-rh.xsl man: document NOZEROCONF in man nm-settings-ifcfg-rh 2021-03-16 13:45:39 +01:00
nm-settings-keyfile.xsl docs: unify "nm-property-infos-*.xml" and "nm-settings-docs-*.xml" (root element) 2020-06-11 10:53:50 +02:00
nm-settings-nmcli.xsl docs: show aliases for settings in man nm-settings-nmcli 2020-06-12 14:01:26 +02:00
nmcli-examples.xml all: fix typo in man pages 2020-07-03 10:48:04 +02:00
nmcli.xml veth: add support to configure veth interfaces 2020-11-27 10:12:36 +01:00
nmtui.1.in man: update version number and dates in manual pages 2016-03-09 10:11:27 +01:00
nmtui.xml man: turn the manual page cross-references into links 2016-06-21 18:40:13 +02:00