Table of Contents

About

This database contains all Level 1 peers in htaccess format for Apache.

Generation

The list is generated by feeding the following script with the peer list as the first argument.

peerToApache.pl
###########################################################################
##  Copyright (C) Wizardry and Steamworks 2015 - License: GNU GPLv3      ##
###########################################################################
#!/usr/bin/perl -w
 
use Net::IP;
 
open FILE, "<", $ARGV[0] or die "Could not open file peers file";
 
while (<FILE>) {
	$_ =~ /([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\-([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})/ || next;
	$ip = new Net::IP("$1 - $2");
	print map {"$_\n"} $ip->find_prefixes();
}

Files

To use the file, download the database and save it to your web-server directory as .htaccess.

FilenameFilesizeLast modified
htaccess.txt6.6 MiB2015/11/21 12:43

assets/databases/peerblock.txt ยท Last modified: 2017/02/22 18:30 (external edit)

Access website using Tor Access website using i2p


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy and plagiarism pages.