2021-09-21 10:14:01 +02:00
|
|
|
Index: fail2ban-0.11.2/files/fail2ban.service.in
|
|
|
|
===================================================================
|
|
|
|
--- fail2ban-0.11.2.orig/files/fail2ban.service.in
|
|
|
|
+++ fail2ban-0.11.2/files/fail2ban.service.in
|
|
|
|
@@ -5,6 +5,18 @@ After=network.target iptables.service fi
|
2022-01-26 08:56:20 +01:00
|
|
|
PartOf=firewalld.service
|
2021-09-21 10:14:01 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
|
|
|
+ProtectHome=true
|
|
|
|
+PrivateDevices=true
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectClock=true
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
|
|
|
Type=simple
|
|
|
|
EnvironmentFile=-/etc/sysconfig/fail2ban
|
|
|
|
Environment="PYTHONNOUSERSITE=1"
|