Export IP's blocked with FreeBSD's PF
Exporting IP's blocked with PF for further processing (eg. Cloudflare Threat Control)
sudo tcpdump -n -e -tttt -r /var/log/pflog | cut -d ' ' -f9 | cut -d . -f1-4 | sort -u > blocked.txt
Written by Goran
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cloudflare
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#