Fixed dbus/cynara policy 85/176285/2
authorhyunuktak <hyunuk.tak@samsung.com>
Wed, 18 Apr 2018 05:37:10 +0000 (14:37 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Wed, 18 Apr 2018 05:37:44 +0000 (14:37 +0900)
Change-Id: I1d7b3ada82cff09149317ce9902d873b8a63e239
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/stc-iptables.spec
resources/dbus/stc-iptables.conf

index 399128c..9c30e66 100644 (file)
@@ -1,6 +1,6 @@
 Name:       stc-iptables
 Summary:    STC(Smart Traffic Control) iptables
-Version:    0.0.14
+Version:    0.0.15
 Release:    0
 Group:      Network & Connectivity/Other
 License:    GPL-2.0+ and Apache-2.0
index 1cc8769..fc035a0 100755 (executable)
@@ -2,19 +2,16 @@
         "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
        <policy user="root">
-               <allow own="net.stc"/>
-               <allow send_destination="net.stc"/>
-               <allow send_interface="net.stc"/>
-               <allow receive_sender="net.stc"/>
+               <allow own="net.stc.iptables"/>
+               <allow send_destination="net.stc.iptables"/>
        </policy>
        <policy user="network_fw">
-               <allow own="net.stc"/>
-               <allow send_destination="net.stc"/>
-               <allow send_interface="net.stc"/>
-               <allow receive_sender="net.stc"/>
+               <allow own="net.stc.iptables"/>
+               <allow send_destination="net.stc.iptables"/>
        </policy>
        <policy context="default">
-               <deny own="net.stc"/>
-               <deny send_destination="net.stc"/>
+               <deny own="net.stc.iptables"/>
+               <deny send_destination="net.stc.iptables"/>
+               <allow send_destination="net.stc.iptables" send_type="signal"/>
        </policy>
 </busconfig>