2004-06-24 14:18:37 +00:00
|
|
|
<!DOCTYPE busconfig PUBLIC
|
|
|
|
|
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
|
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
|
|
|
<busconfig>
|
2005-01-05 20:40:38 +00:00
|
|
|
<policy user="root">
|
|
|
|
|
<allow own="org.freedesktop.NetworkManager"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"/>
|
2007-11-29 14:38:07 +00:00
|
|
|
|
2009-02-05 07:15:04 -05:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2009-02-05 06:05:10 -05:00
|
|
|
send_interface="org.freedesktop.NetworkManager.PPP"/>
|
2010-12-14 15:32:12 -06:00
|
|
|
|
|
|
|
|
<allow send_interface="org.freedesktop.NetworkManager.SecretAgent"/>
|
2015-10-23 12:03:40 +02:00
|
|
|
<!-- These are there because some broken policies do
|
2017-04-21 11:42:45 +02:00
|
|
|
<deny send_interface="..." /> (see dbus-daemon(8) for details).
|
|
|
|
|
This seems to override that for the known VPN plugins.
|
2011-08-19 16:55:16 -05:00
|
|
|
-->
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.openconnect"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.openswan"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.openvpn"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.pptp"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.vpnc"/>
|
2013-03-20 08:28:14 -05:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.ssh"/>
|
2013-12-12 10:53:34 -06:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.iodine"/>
|
2015-08-27 15:09:58 +02:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.l2tp"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.libreswan"/>
|
2015-10-06 17:31:50 +02:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.fortisslvpn"/>
|
2015-10-23 12:05:37 +02:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.strongswan"/>
|
2015-02-25 16:31:37 -06:00
|
|
|
<allow send_interface="org.freedesktop.NetworkManager.VPN.Plugin"/>
|
2016-03-22 10:03:44 -04:00
|
|
|
|
2017-04-21 11:56:28 +02:00
|
|
|
<allow send_destination="org.fedoraproject.FirewallD1"/>
|
|
|
|
|
|
2016-03-22 10:03:44 -04:00
|
|
|
<!-- Allow the custom name for the dnsmasq instance spawned by NM
|
2018-04-18 14:13:28 +02:00
|
|
|
from the dns dnsmasq plugin to own its dbus name, and for
|
2016-03-22 10:03:44 -04:00
|
|
|
messages to be sent to it.
|
|
|
|
|
-->
|
|
|
|
|
<allow own="org.freedesktop.NetworkManager.dnsmasq"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager.dnsmasq"/>
|
2005-01-05 20:40:38 +00:00
|
|
|
</policy>
|
2014-01-09 12:10:31 -06:00
|
|
|
<policy context="default">
|
|
|
|
|
<deny own="org.freedesktop.NetworkManager"/>
|
2009-02-17 10:43:53 -05:00
|
|
|
|
2014-01-09 12:10:31 -06:00
|
|
|
<deny send_destination="org.freedesktop.NetworkManager"/>
|
|
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<!-- Basic D-Bus API stuff -->
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.DBus.Introspectable"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.DBus.Properties"/>
|
2015-07-20 17:30:02 -05:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.DBus.ObjectManager"/>
|
2009-05-10 00:20:12 -04:00
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<!-- Devices (read-only properties, no methods) -->
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2014-01-09 12:10:31 -06:00
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Adsl"/>
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2014-01-09 12:10:31 -06:00
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Bond"/>
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2014-01-09 12:10:31 -06:00
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Bridge"/>
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2014-01-09 12:10:31 -06:00
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Bluetooth"/>
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Wired"/>
|
2014-01-09 12:10:31 -06:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Generic"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Gre"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Infiniband"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Macvlan"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Modem"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.OlpcMesh"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Team"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Tun"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Veth"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Vlan"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.WiMax.Nsp"/>
|
|
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.AccessPoint"/>
|
2018-10-10 23:30:46 +02:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2019-01-28 15:21:59 +01:00
|
|
|
send_interface="org.freedesktop.NetworkManager.WifiP2PPeer"/>
|
2009-05-10 00:20:12 -04:00
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<!-- Devices (read-only, no security required) -->
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2014-01-09 12:10:31 -06:00
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.WiMax"/>
|
2009-05-10 00:20:12 -04:00
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<!-- Devices (read/write, secured with PolicyKit) -->
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.Wireless"/>
|
2018-10-10 23:30:46 +02:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2019-01-28 15:21:59 +01:00
|
|
|
send_interface="org.freedesktop.NetworkManager.Device.WifiP2P"/>
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Device"/>
|
2009-05-10 00:20:12 -04:00
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<!-- Core stuff (read-only properties, no methods) -->
|
2014-01-09 12:10:31 -06:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Connection.Active"/>
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.DHCP4Config"/>
|
2014-01-09 12:10:31 -06:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.DHCP6Config"/>
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.IP4Config"/>
|
2014-01-09 12:10:31 -06:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.IP6Config"/>
|
2009-07-28 10:07:52 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.VPN.Connection"/>
|
2010-05-04 12:07:57 -07:00
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<!-- Core stuff (read/write, secured with PolicyKit) -->
|
2010-12-14 15:32:12 -06:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2014-01-09 12:10:31 -06:00
|
|
|
send_interface="org.freedesktop.NetworkManager"/>
|
2010-08-06 21:21:24 -04:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
2010-08-07 01:07:44 -04:00
|
|
|
send_interface="org.freedesktop.NetworkManager.Settings"/>
|
2014-01-09 12:10:31 -06:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Settings.Connection"/>
|
2010-08-06 21:21:24 -04:00
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<!-- Agents; secured with PolicyKit. Any process can talk to
|
|
|
|
|
the AgentManager API, but only NetworkManager can talk
|
|
|
|
|
to the agents themselves. -->
|
2010-12-14 15:32:12 -06:00
|
|
|
<allow send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.AgentManager"/>
|
2014-01-09 12:10:31 -06:00
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<!-- Root-only functions -->
|
2016-03-20 12:06:42 +01:00
|
|
|
<deny send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager"
|
|
|
|
|
send_member="SetLogging"/>
|
|
|
|
|
<deny send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager"
|
|
|
|
|
send_member="Sleep"/>
|
|
|
|
|
<deny send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Settings"
|
|
|
|
|
send_member="LoadConnections"/>
|
|
|
|
|
<deny send_destination="org.freedesktop.NetworkManager"
|
|
|
|
|
send_interface="org.freedesktop.NetworkManager.Settings"
|
|
|
|
|
send_member="ReloadConnections"/>
|
2016-03-22 10:03:44 -04:00
|
|
|
|
|
|
|
|
<deny own="org.freedesktop.NetworkManager.dnsmasq"/>
|
|
|
|
|
<deny send_destination="org.freedesktop.NetworkManager.dnsmasq"/>
|
2005-01-05 20:40:38 +00:00
|
|
|
</policy>
|
2015-05-21 12:25:45 +02:00
|
|
|
|
2017-04-21 11:42:45 +02:00
|
|
|
<limit name="max_replies_per_connection">1024</limit>
|
|
|
|
|
<limit name="max_match_rules_per_connection">2048</limit>
|
2004-06-24 14:18:37 +00:00
|
|
|
</busconfig>
|
|
|
|
|
|