etc-gentoo/dbus-1/system.d/org.netfilter.pgl.conf

26 lines
959 B
XML

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!-- ../system.conf denies everything so we have to allow some things ourselves.
This file has to be placed in /etc/dbus-1/system.d/ in Ubuntu in order for pgld to be able to connect to the system bus
This is just an example and I imagine not secure at all -->
<busconfig>
<!-- Only root can own the service -->
<policy user="root">
<allow own="org.netfilter.pgl"/>
<!-- <allow send_destination="org.netfilter.pgl"/>
<allow send_interface="org.netfilter.pgl"/> -->
</policy>
<!-- For debugging purposes, will probably disable later-->
<policy at_console="true">
<allow own="org.netfilter.pgl"/>
<allow send_destination="org.netfilter.pgl"/>
<allow send_interface="org.netfilter.pgl"/>
</policy>
</busconfig>