I would like to suggest including a cidrmerge util like the one found at http://ftp.heanet.ie/disk1/sourcefor...rge/cidrmerge/

Makes the creation of whitelists, blacklists, ACLs, etc. of overlapping cidr networks a ton easier.