Yes its the sameYou can probably cut it down to:
Code:netstat -ntu | grep ffff | awk '{print $5}' | cut -d: -f4 | sort | uniq -c | sort -nr > $BAD_IP_LIST

Yes its the sameYou can probably cut it down to:
Code:netstat -ntu | grep ffff | awk '{print $5}' | cut -d: -f4 | sort | uniq -c | sort -nr > $BAD_IP_LIST
I know this is an old post. But would this work on Centos 6+ and if so is the first post the latest versions. Thanks
Speaking for my KISS firewall instance at:I know this is an old post. But would this work on Centos 6+ and if so is the first post the latest versions. Thanks