Name: stc-iptables
Summary: STC(Smart Traffic Control) iptables
-Version: 0.0.12
+Version: 0.0.13
Release: 0
Group: Network & Connectivity/Other
License: GPL-2.0+
%manifest %{name}.manifest
%license LICENSE
%license COPYING
-%defattr(-,root,root,-)
-%attr(500,root,root) %{_bindir}/stc-iptables
+%defattr(-,network_fw,network_fw,-)
+%attr(500,network_fw,network_fw) %{_bindir}/stc-iptables
%attr(644,root,root) %{_libdir}/systemd/system/stc-iptables.service
%attr(644,root,root) %{_libdir}/systemd/system/multi-user.target.wants/stc-iptables.service
#DBus DAC
-%attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/stc-iptables.conf
+%attr(644,network_fw,network_fw) %{_sysconfdir}/dbus-1/system.d/stc-iptables.conf
#Test
%{_bindir}/stc_ipt_test
<allow send_interface="net.stc"/>
<allow receive_sender="net.stc"/>
</policy>
+ <policy user="network_fw">
+ <allow own="net.stc"/>
+ <allow send_destination="net.stc"/>
+ <allow send_interface="net.stc"/>
+ <allow receive_sender="net.stc"/>
+ </policy>
<policy context="default">
<deny own="net.stc"/>
<deny send_destination="net.stc"/>