■

Black Box Proxy Block

This blocklist has been discontinued. Although I was thrilled with its popularity, the public interface was putting too much strain on a server which I really need for other tasks. Thank you everyone for your interest and support, especially the people who helped contribute data and make the list more accurate. I see that there is demand for this type of service and I may attempt to revive it in the future when I have more time and resources. For now, a final copy of the blocklist generated on August 15, 2019 can be downloaded below. I hope it serves as a good starting point for your own proxy detection efforts! Best regards, -Ythan

MySQL Blocklist

To retrieve a copy of the blocklist as a database dump, please run this command: wget https://proxy.mind-media.com/block/blocklist.sql.gz

To decompress the file, please run this command: gunzip blocklist.sql.gz

To import the information as a MySQL database, please run this command, and enter your root MySQL password when prompted:

mysql -u root -p < blocklist.sql

At this point you should have a "blocklist" database with an "IP" table containing about 2.5 million rows.

When you want to check if someone is using a proxy, you would issue the following MySQL query. Replace the IP in the example (127.0.0.1) with the actual IP you wish to check. SELECT start FROM IP WHERE start <= INET_ATON('127.0.0.1') AND end >= INET_ATON('127.0.0.1');

If the query returns a result, it means a proxy was detected. If it returns no results, the IP is not detected as a proxy.

Text File Blocklist

To retrieve a copy of the blocklist as a text file, please run this command: wget https://proxy.mind-media.com/block/blocklist.txt.gz

To decompress the file, please run this command: gunzip blocklist.txt.gz

To check if an IP appears in the text blocklist, grepcidr is one possible high-performance solution. To retrieve the source code, please run this command: wget http://www.pc-tools.net/files/unix/grepcidr-2.0.tar.gz

To decompress the file, please run this command: tar zxvf grepcidr-2.0.tar.gz

To compile the executable, please run this command: cd grepcidr-2.0 && make && make install

When you want to check if someone is using a proxy, you would run the following command. Replace the IP in the example (127.0.0.1) with the actual IP you wish to check. grepcidr -c -f blocklist.txt <(echo "127.0.0.1")