diff --git a/examples/sshguard.conf.sample b/examples/sshguard.conf.sample index f2f17be..0b87626 100644 --- a/examples/sshguard.conf.sample +++ b/examples/sshguard.conf.sample @@ -6,7 +6,11 @@ #### REQUIRED CONFIGURATION #### # Full path to backend executable (required, no default) -#BACKEND="/usr/local/libexec/sshg-fw-iptables" +# Example 1: iptables backend +#BACKEND="/usr/libexec/sshg-fw-iptables" +# Example 2: firewalld backend; for firewalld configuration instructions see +# https://www.ctrl.blog/entry/how-to-sshguard-firewalld.html#sshguard-section-firewalld +#BACKEND="/usr/libexec/sshg-fw-firewalld" # Space-separated list of log files to monitor. (optional, no default) #FILES="/var/log/auth.log /var/log/authlog /var/log/maillog" @@ -17,7 +21,7 @@ # Example 2: ssh from os_log (macOS 10.12+) #LOGREADER="/usr/bin/log stream --style syslog --predicate '(processImagePath contains \"sshd\")'" # Example 3: mail, auth and authpriv facilities -#LOGREADER="LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat SYSLOG_FACILITY=2 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10" +#LOGREADER="LANG=C /bin/journalctl -afb -p info -n1 -o cat SYSLOG_FACILITY=2 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10" #### OPTIONS #### # Block attackers when their cumulative attack score exceeds THRESHOLD.