Removed $_LOGIN_LIMIT variable
This commit is contained in:
parent
8a0225d526
commit
419ae9e1c9
BIN
.README.md.kate-swp
Normal file
BIN
.README.md.kate-swp
Normal file
Binary file not shown.
@ -170,7 +170,7 @@ https://sslbl.abuse.ch/blacklist/sslipblacklist.txt
|
|||||||
|
|
||||||
### SSH attackers
|
### SSH attackers
|
||||||
# https://lists.blocklist.de/lists/22.txt
|
# 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
|
# https://lists.blocklist.de/lists/bruteforcelogin.txt
|
||||||
|
|
||||||
### FTP attackers
|
### 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 "${_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 "${_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 "${_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 "${_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 "${_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!'
|
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!'
|
ERR 'No address family enabled! Please enable IPv4 and/or IPv6 in your pf-badhost config!'
|
||||||
fi
|
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
|
# Make sure $RETRY is greater than 0
|
||||||
if [ "${_RETRY}" -lt 1 ]; then
|
if [ "${_RETRY}" -lt 1 ]; then
|
||||||
_RETRY=1
|
_RETRY=1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user