50 |
+enabled |
+enabled |
51 |
diff -Nur e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log |
diff -Nur e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log |
52 |
--- e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log 1969-12-31 19:00:00.000000000 -0500 |
53 |
+++ e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log 2021-03-05 01:22:20.009000000 -0500 |
+++ e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log 2021-03-05 02:10:30.289000000 -0500 |
54 |
@@ -0,0 +1,23 @@ |
@@ -0,0 +1,23 @@ |
55 |
+/var/log/ulogd/ulogd.log { |
+/var/log/ulogd/ulogd.log \{ |
56 |
+ missingok |
+ missingok |
57 |
+ notifempty |
+ notifempty |
58 |
+ weekly |
+ weekly |
61 |
+ postrotate |
+ postrotate |
62 |
+ /usr/bin/systemctl reload ulogd > /dev/null 2>&1 |
+ /usr/bin/systemctl reload ulogd > /dev/null 2>&1 |
63 |
+ endscript |
+ endscript |
64 |
+} |
+\} |
65 |
+ |
+ |
66 |
+/var/log/iptables/*.log { |
+/var/log/iptables/*.log \{ |
67 |
+ missingok |
+ missingok |
68 |
+ notifempty |
+ notifempty |
69 |
+ daily |
+ daily |
72 |
+ postrotate |
+ postrotate |
73 |
+ /usr/bin/systemctl reload ulogd > /dev/null 2>&1 |
+ /usr/bin/systemctl reload ulogd > /dev/null 2>&1 |
74 |
+ endscript |
+ endscript |
75 |
+} |
+\} |
76 |
+ |
+ |
77 |
+ |
+ |
78 |
diff -Nur e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/ulogd.conf/10global e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/ulogd.conf/10global |
diff -Nur e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/ulogd.conf/10global e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/ulogd.conf/10global |
180 |
+ |
+ |
181 |
diff -Nur e-smith-packetfilter-2.6.0.old/root/usr/lib/systemd/system/ulogd.service e-smith-packetfilter-2.6.0/root/usr/lib/systemd/system/ulogd.service |
diff -Nur e-smith-packetfilter-2.6.0.old/root/usr/lib/systemd/system/ulogd.service e-smith-packetfilter-2.6.0/root/usr/lib/systemd/system/ulogd.service |
182 |
--- e-smith-packetfilter-2.6.0.old/root/usr/lib/systemd/system/ulogd.service 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-packetfilter-2.6.0.old/root/usr/lib/systemd/system/ulogd.service 1969-12-31 19:00:00.000000000 -0500 |
183 |
+++ e-smith-packetfilter-2.6.0/root/usr/lib/systemd/system/ulogd.service 2021-03-05 01:49:07.788000000 -0500 |
+++ e-smith-packetfilter-2.6.0/root/usr/lib/systemd/system/ulogd.service 2021-03-05 01:59:37.680000000 -0500 |
184 |
@@ -0,0 +1,17 @@ |
@@ -0,0 +1,17 @@ |
185 |
+[Unit] |
+[Unit] |
186 |
+Description=Netfilter Userspace Logging Daemon |
+Description=Netfilter Userspace Logging Daemon |
193 |
+TimeoutSec=0 |
+TimeoutSec=0 |
194 |
+Type=forking |
+Type=forking |
195 |
+ |
+ |
196 |
+PIDFile=/var/run/ulog/ulogd.pid |
+PIDFile=/run/ulog/ulogd.pid |
197 |
+ExecStart=/usr/sbin/ulogd --daemon --uid ulog --pidfile /var/run/ulog/ulogd.pid |
+ExecStart=/usr/sbin/ulogd --daemon --uid ulog --pidfile /run/ulog/ulogd.pid |
198 |
+ExecReload=/bin/kill -HUP $MAINPID |
+ExecReload=/bin/kill -HUP $MAINPID |
199 |
+ |
+ |
200 |
+[Install] |
+[Install] |
201 |
+WantedBy=sme-server.target multi-user.target |
+WantedBy=sme-server.target multi-user.target |
202 |
|
diff -Nur e-smith-packetfilter-2.6.0.old/root/usr/lib/tmpfiles.d/ulog.conf e-smith-packetfilter-2.6.0/root/usr/lib/tmpfiles.d/ulog.conf |
203 |
|
--- e-smith-packetfilter-2.6.0.old/root/usr/lib/tmpfiles.d/ulog.conf 1969-12-31 19:00:00.000000000 -0500 |
204 |
|
+++ e-smith-packetfilter-2.6.0/root/usr/lib/tmpfiles.d/ulog.conf 2021-03-05 02:07:26.178000000 -0500 |
205 |
|
@@ -0,0 +1 @@ |
206 |
|
+d /run/ulog 2755 ulog ulog |