sshguard improvements as firewald is used in stead of iptables OBS-URL: https://build.opensuse.org/request/show/947707 OBS-URL: https://build.opensuse.org/package/show/security/sshguard?expand=0&rev=47
27 lines
724 B
Desktop File
27 lines
724 B
Desktop File
[Unit]
|
|
Description=SSHGUARD provides automatic attack blocking
|
|
After=network.target
|
|
|
|
[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
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
EnvironmentFile=-/etc/sshguard.conf
|
|
ExecStart=/usr/sbin/sshguard -a $THRESHOLD -p $BLOCK_TIME -s $DETECTION_TIME -w $WHITELIST_FILE -b $BLACKLIST_FILE
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|