EDIT: Oops wrong GH repo! This question refers to a fork I think...
To get the script to work with ipv6, I think (along with changing the relevant variables) I need to alter this line:
# iterate through all known spamming hosts
for IP in $( cat "$CACHE_FILE" | grep -e "^\([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}\/[0-9]\{1,2\} " | cut -d' ' -f1 ); do
EDIT: Oops wrong GH repo! This question refers to a fork I think...
To get the script to work with ipv6, I think (along with changing the relevant variables) I need to alter this line:
But I'm not sure how. Does anyone know?