Mailing List Message #92600
From: Dave Pooser <>
Subject: Re: Speaking of CGP and Spam....
Date: Wed, 12 Sep 2007 18:08:58 -0500
To: CommuniGate Pro Discussions <>
> Would you mind sharing what those blocked IP ranges are?  (and what each
> range corresponds to, so "these are the APNIC ones", and "these are the
> Eastern Europe ones", etc.)

For RIR-wide ranges, I just steal 'em from IANA in an ipfw-suitable format:

(all one line)

curl | grep APNIC | cut
-f1 -d " " | sed s#^0## | sed s#/8#.0.0.0/8#

For country-specific ranges I've been using lists, though it
looks as if many haven't been updated for about a year; generally there's
not a lot of churn in those ranges so I'm OK with them:

curl<$2-letterTLD>.txt | cut -f 2
Dave Pooser
"...Life is not a journey to the grave with the intention of arriving
safely in one pretty and well-preserved piece, but to slide across the
finish line broadside, thoroughly used up, worn out, leaking oil, and
shouting GERONIMO!!!" -- Bill McKenna

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster