#!/bin/sh for c in cn il ua ru ro hk by vn il mu do curl -s http://www.ipdeny.com/ipblocks/data/aggregated/${c}-aggregated.zone done | egrep '([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}' | uniq | sort -n > /etc/pf_tables/pf.country