diff --git a/ddos-mitigator.sh b/ddos-mitigator.sh index dcddaae..0149601 100755 --- a/ddos-mitigator.sh +++ b/ddos-mitigator.sh @@ -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"