Country mask generate scripts README

THIS SOFTWARE IS PROVIDED gAS ISh, WITHOUT WARRANTY OF ANY KIND.

How to use
These scripts are for UNIX command line. You need perl, grep and wget (or ncftpget).
You can use these scripts like described below.
> COUNTRY=JP
> perl get-delegate.pl 
> grep $COUNTRY delegated-*-latest | perl generate-mask.pl 32 > $COUNTRY.txt
> perl iptables-generate.pl < $COUNTRY.txt > $COUNTRY.iptables
In this case JP.txt and JP.iptables are generated. JP means Japan.
If you want to do this for other country, you need the country-code TLDLs.
http://www.iana.org/domains/root/db/index.html

http://countrymask.sourceforge.jp

