Map of the IPv4 Address Space

This CSV file is a map of the IPv4 address space, containing information on who owns each netblock. It consists of the following fields:

Of course, such information is already easily available for an IP address via whois. But repeated whois queries aren't really feasible in many situations (eg generating stats from Apache logs, writing an anti-spam plugin which looks at country of origin etc); and reverse DNS lookups are even worse. This database also makes possible other stuff, such as:

These two features make it easy to do things like blacklisting dialup accounts from your mail server, preventing Chinese IP addresses from spamming your contact forms, or alerting you when certain organisations visit your website (I'm involved in a large consumer-related forum, and we like to know when banks, two-bit loan companies etc are taking an interest in a particular thread)

Enough talk, here's a sample:


1264943104:1264975871:75.101.128.0:75.101.255.255:Amazon.com, Inc.:Seattle:WA:US:aes-noc@amazon.com
1264975872:1264992255:75.102.0.0:75.102.63.255:Server Central Network:Chicago:IL:US:support@servercentral.net
1265041408:1265057791:75.103.0.0:75.103.63.255:Regus Business Center, LLC:Addison:TX:US:hostmaster@centri.net
1265106944:1265369087:75.104.0.0:75.107.255.255:Wildblue Communications, Inc.:GREENWOOD VILLAGE:CO:US:sye@wildbluecorp.com
1265369088:1265631231:75.108.0.0:75.111.255.255:Suddenlink Communications:Tyler:TX:US:dnshosting@suddenlink.net
1265631232:1265893375:75.112.0.0:75.115.255.255:BRIGHT HOUSE NETWORKS, LLC BLOCK-9::::
1265893376:1265958911:75.116.0.0:75.116.255.255:ALLTEL Corporation ALLTEL-COMMUNICATIONS-NET::::
1265958912:1266024447:75.117.0.0:75.117.255.255:Windstream Communications Inc WINDSTREAM::::
1266024448:1266089983:75.118.0.0:75.118.255.255:WideOpenWest Finance LLC WIDEOPENWEST::::
1266089984:1266122751:75.119.0.0:75.119.127.255:Ideal Technology Solutions US Inc.:Southfield:MI:US:msludvigson@cavtel.com
1266122752:1266139135:75.119.128.0:75.119.191.255:BroadbandONE, Inc.:Boca Raton:FL:US:arin@host.net
1266139136:1266147327:75.119.192.0:75.119.223.255:New Dream Network, LLC:Brea:CA:US:mna47-arin@dreamhost.com
1266147328:1266155519:75.119.224.0:75.119.255.255:TekSavvy Solutions, Inc.:Chatham:ON:CA:marc@teksavvy.com
1266155520:1266286591:75.120.0.0:75.121.255.255:CenturyTel Internet Holdings, Inc.:Monroe:LA:US:network@centurytel.net
1266286592:1266417663:75.122.0.0:75.123.255.255:Nextel Communications, Inc.:RESTON:VA:US:arinswip@sprint.com
1266417664:1266483199:75.124.0.0:75.124.255.255:RADIANZ Americas, Inc.:New York:NY:US:michael.dillon@bt.com
1266483200:1266548735:75.125.0.0:75.125.255.255:ThePlanet.com Internet Services, Inc.:Houston:TX:US:admins@theplanet.com

Some nation-wide ISPs (such as NTL/Virgin in the UK) also split their address space geographically, making it possible to determine the town/city a user is from:

1366105088:1366106111:81.109.28.0:81.109.31.255:NTL Infrastructure - Huddersfield:::GB:
1366106112:1366110207:81.109.32.0:81.109.47.255:NTL Infrastructure - Middlesbrough:::GB:
1366110208:1366114303:81.109.48.0:81.109.63.255:NTL Infrastructure - Oldham:::GB:
1366114304:1366118399:81.109.64.0:81.109.79.255:NTL Infrastructure - Peterborough:::GB:
1366118400:1366122495:81.109.80.0:81.109.95.255:NTL Infrastructure - Swindon:::GB:
1366122496:1366126591:81.109.96.0:81.109.111.255:NTL Infrastructure - Ashford:::GB:
1366126592:1366130687:81.109.112.0:81.109.127.255:NTL Infrastructure - Poole:::GB:

The CSV file (which was last updated August 2009) contains 59,000 entries, and is around 4.6 MB in size. You can download it here

Services

Books

Code

vBulletin

Data

Fun Stuff

Blog

A collection of smaller bits and pieces
about life as a sys admin

Pete's Shed

Art, Electronics, Woodwork and other little projects I do when I'm hiding in the shed from my wife.

linux support email pete@linuxbox.co.uk
(+44) 07890 592198