diff --git a/.README.md.kate-swp b/.README.md.kate-swp new file mode 100644 index 0000000..f419be0 Binary files /dev/null and b/.README.md.kate-swp differ diff --git a/pf-badhost.sh b/pf-badhost.sh index 749a74b..e59ab6e 100644 --- a/pf-badhost.sh +++ b/pf-badhost.sh @@ -170,7 +170,7 @@ https://sslbl.abuse.ch/blacklist/sslipblacklist.txt ### SSH attackers # https://lists.blocklist.de/lists/22.txt -# https://lists.blocklist.de/lists/ssh.txt +# https://lists.blocklist.de/lists/ssh.txt: # https://lists.blocklist.de/lists/bruteforcelogin.txt ### FTP attackers @@ -960,7 +960,6 @@ VAR_SANITY_CHECK() { IS_INT "${_IPV4}" || 'User defined variable "$_IPV4" contains a non-integer value - Unable to proceed!' IS_INT "${_IPV6}" || ERR 'User defined variable "$_IPV6" contains a non-integer value - Unable to proceed!' IS_INT "${_LOG}" || ERR 'User defined variable "$_LOG" contains a non-integer value - Unable to proceed!' - IS_INT "${_LOGIN_LIMIT}" || ERR 'User defined variable "$_LOGIN_LIMIT" contains a non-integer value - Unable to proceed!' IS_INT "${_NO_UID_CHECK}" || ERR 'User defined variable "$_NO_UID_CHECK" contains a non-integer value - Unable to proceed!' IS_INT "${_PRINT_ONLY}" || ERR 'User defined variable "$_PRINT_ONLY" contains a non-integer value - Unable to proceed!' IS_INT "${_RETRY}" || ERR 'User defined variable "$_RETRY" contains a non-integer value - Unable to proceed!' @@ -976,11 +975,6 @@ VAR_SANITY_CHECK() { ERR 'No address family enabled! Please enable IPv4 and/or IPv6 in your pf-badhost config!' fi - # Make sure $_LOGIN_LIMIT is greater than 0 - if [ "${_LOGIN_LIMIT}" -lt 1 ]; then - _LOGIN_LIMIT=1 - fi - # Make sure $RETRY is greater than 0 if [ "${_RETRY}" -lt 1 ]; then _RETRY=1