initial commit of file from CVS for e-smith-packetfilter on Wed 12 Jul 09:02:33 BST 2023

This commit is contained in:
Brian Read
2023-07-12 09:02:33 +01:00
parent b2c0968fc3
commit 4a060af783
87 changed files with 2343 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
[Unit]
Description=masq, the Koozali SME Server firewall script
Before=network-pre.target
Wants=network-pre.target
Conflicts=iptables.service ip6tables.service ebtables.service ipset.service nftables.service firewalld.service
[Service]
Type=oneshot
ExecStartPre=/sbin/e-smith/service-status masq
ExecStart=/etc/rc.d/init.d/masq start
ExecStop=/etc/rc.d/init.d/masq stop
ExecReload=/etc/rc.d/init.d/masq adjust
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1,3 @@
[Unit]
Wants=ulogd.service

View File

@@ -0,0 +1,17 @@
[Unit]
Description=Netfilter Userspace Logging Daemon
Before=masq.service
[Service]
User=root
Group=root
Restart=always
TimeoutSec=0
Type=forking
PIDFile=/run/ulog/ulogd.pid
ExecStart=/usr/sbin/ulogd --daemon --uid ulog --pidfile /run/ulog/ulogd.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=sme-server.target multi-user.target

View File

@@ -0,0 +1 @@
d /run/ulog 2755 ulog ulog