Skip to content
Blockfinder enumerates network information for countries
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
block_finder correct spelling mistake Sep 1, 2017
embedded_ipaddr Support python 2.7 and 3.0. Jan 5, 2014
.gitignore Use github's python gitignore file. Dec 25, 2015
.travis.yml Merge remote-tracking branch 'upstream/master' into pypi_package Nov 9, 2015
CHANGELOG Initial public release Dec 25, 2009
LICENSE Initial public release Dec 25, 2009
Makefile If someone runs make, let them know we are a python program Jun 29, 2010
README Update readme to remove myself. Apr 14, 2017
blockfinder Move blockfinder to block_finder/, update the tests to use Nov 9, 2015
blockfinder.bat Windows .bat file from Gisle Vanem Apr 15, 2013
requirements-py2.txt In python 2 either use embedded_ipaddr or where that's not available … Nov 9, 2015
setup.cfg Update setup.cfg and remove myself. Apr 14, 2017
test_lir_data.gz Normalize incoming country codes Mar 8, 2014
test_rir_data Import MaxMind's CSV files into our database cache. Nov 22, 2012


blockfinder by Jacob Appelbaum <>

"All that Blockfinder does is allow you to identify, contact and potentially
hack into every computer network in the world." - Rolling Stone, August 2010 [0]

Contrary to popular media claims, blockfinder is a simple text based console
tool that returns a list of netblocks for a given country.  It does this by
fetching the following lists of allocations:

The list of ISO codes is ISO 3166-1 as found here:

blockfinder has two methods of operation:

    Update the lists of network object allocations
    Returning a list of all netblocks (or asn, etc) for a given country

To use blockfinder, first create or update the cache:

    blockfinder -i

Once you have a proper cache, search for the desired resource in the country
of your choice:

    ./blockfinder -v -t mm

Additionally, to filter results for a specific protocol you can use a selector:

    ./blockfinder -v -t mm:ipv4 

On Windows (in cmd, PowerShell and 4nt) one may find blockfinder.bat useful:


You can’t perform that action at this time.