Skip to content

Instantly share code, notes, and snippets.

View dennyhalim's full-sized avatar

DennyHalim.com dennyhalim

View GitHub Profile
@arno
arno / update-blocklists.sh
Created April 17, 2009 09:15
automatic download of common bluetack blocklists and update pf table
#!/bin/sh
#
# in /etc/pf.conf:
# table <p2p_blocklist> file "/etc/pfdata/p2p_blocklist"
# set limit table-entries 500000
# block log quick from <p2p_blocklist>
# block return log quick from any to <p2p_blocklist>
BLOCKLIST_URL="http://www.bluetack.co.uk/config"
DOWNLOAD_DIR="/tmp/blocklists"