This database contains all Level 1 peers in htaccess format for Apache.
The list is generated by feeding the following script with the peer list as the first argument.
########################################################################### ## 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(); }
To use the file, download the database and save it to your web-server directory as .htaccess
.
Filename | Filesize | Last modified |
---|---|---|
htaccess.txt | 6.6 MiB | 2015/11/21 12:43 |