This commit is contained in:
Manuel Friedli 2020-08-04 04:22:16 +02:00
parent 758e53a270
commit fd3b719cb2
1 changed files with 2 additions and 3 deletions

View File

@ -132,10 +132,10 @@ function filter() {
# Reject already banned addresses
while read -r -u3 address ; do
if [[ "${banned}" != *"${address}${ext}${suffix}"* ]] ; then
echo "Considering ${address}."
echo "Considering ${address}${ext}${suffix}."
echo "${address}" >> "${filtered}"
else
echo "IGNORING ${address}, already banned."
echo "IGNORING ${address}${ext}${suffix}, already banned."
fi
done 3< "${file}"
@ -392,7 +392,6 @@ parse_command_line_args "$@"
check_installed "sudo" "app-admin/sudo"
check_installed "python" "dev-lang/python:3.8"
check_installed "fail2ban-client" "net-analyzer/fail2ban"
check_installed "whois" "net-misc/whois"
check_installed "cut" "sys-apps/coreutils"
check_installed "id" "sys-apps/coreutils"
check_installed "sort" "sys-apps/coreutils"