create bruteforce list
Posted on .
# cat /etc/pf.conf
# pfctl -t bruteforce -T show > /etc/scripts/bruteforce_list.txt... table <bruteforce> persist ... pass quick proto { tcp, udp } from any to 78.128.27.117 port ssh \ flags S/SA keep state \ (max-src-conn 3, max-src-conn-rate 3/45, \ overload <bruteforce> flush global) ...
# cat /www/bruteforce_list.txt /etc/scripts/bruteforce_list.txt | cut -d "<" -f 1 | sort -n | uniq | sed -e s#\$#\<br\ \/># > /etc/scripts/brute.tmp
# mv /etc/scripts/brute.tmp /www/bruteforce_list.txt