summaryrefslogtreecommitdiffstats
path: root/daemon/avahi.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/avahi.conf.example')
-rw-r--r--daemon/avahi.conf.example23
1 files changed, 23 insertions, 0 deletions
diff --git a/daemon/avahi.conf.example b/daemon/avahi.conf.example
new file mode 100644
index 0000000..39e9de9
--- /dev/null
+++ b/daemon/avahi.conf.example
@@ -0,0 +1,23 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <policy user="lathiat">
+ <allow own="org.freedesktop.Avahi"/>
+ </policy>
+ <policy user="root">
+ <allow own="org.freedesktop.Avahi"/>
+ </policy>
+
+ <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
+ <policy context="default">
+ <allow send_interface="org.freedesktop.Avahi"/>
+
+ <allow receive_interface="org.freedesktop.Avahi"
+ receive_sender="org.freedesktop.Avahi"/>
+ </policy>
+
+ <limit name="max_match_rules_per_connection">512</limit>
+
+</busconfig>