Post details: Piratebay blocks Swedish ISP
2006-12-11
When the the swedish ISP Perspektiv decided to block their customers from visiting the music site allofmp3.com just before the weekend they pissed quite a few people off.
Well, now The Piratebay strikes back and announces that they are blocking Perspektiv customers from using their site.
It must really suck being a Perspektiv customer, right?
Here's the press release from Piratebay (sorry, loosely translated from Swedish):
As one of the larges websites in Sweden we will not sit silently and watch some of our basic rights be restricted. If we want a working and good society even on the Internet we must stand up for one another and show courage when it is needed.
After careful consideration, we have for the first time ever, decided to block an ISP because of their management. The ISP *Perspektiv Bredband* is a very controversial enterprise - in the way that they have shown to put the unrealistic ideas of some powerful media-companies over their own customers freedom of information - something which in our eyes is comparable with dictatorialness and censorship.
*Perspektiv Bredband* has every right in the world to block whichever site they want on their own net. And their customers have every right in the world to change to a new ISP which does not take upon itself the task of ensuring collective conscience.
Do you have any opinions on this? Call Perspektiv Bredband's support line on 075-555-0030! (source)
The Pirate Party is also calling for sites to block the ISP - and they also provide this PHP code for the convenience of people who would like to do so:
if (get_perspektiv_ban(getenv("REMOTE_ADDR"))) { Header("Location: http://piratbyran.org/perspektiv/blockad.php"); exit; }
function get_perspektiv_ban($iip) {
$a=explode(".", $iip);
$ip=str_pad(decbin($a[0]), 8, "0", STR_PAD_LEFT).str_pad(decbin($a[1]), 8, "0", STR_PAD_LEFT).str_pad(decbin($a[2]), 8, "0", STR_PAD_LEFT).str_pad(decbin($a[3]), 8, "0", STR_PAD_LEFT);
$match[]="193.108.42.0/23";
$match[]="85.235.16.0/21";
$match[]="213.185.16.0/20";
$match[]="81.88.0.0/20";
$match[]="195.60.68.0/23";
$match[]="85.235.0.0/20";
$match[]="217.72.48.0/20";
$match[]="85.235.16.0/20";
$match[]="81.186.240.0/20";
$match[]="213.185.0.0/19";
$match[]="89.236.0.0/18";
while (list(, $value) = each($match)) {
$c=explode("/", $value);
$b=explode(".", $c[0]);
$net=str_pad(decbin($b[0]), 8, "0", STR_PAD_LEFT).str_pad(decbin($b[1]), 8, "0", STR_PAD_LEFT).str_pad(decbin($b[2]), 8, "0", STR_PAD_LEFT).str_pad(decbin($b[3]), 8, "0", STR_PAD_LEFT);
if (!strncmp($ip, $net, $c[1])) {
return 1;
}
}
return 0;
}
// Edit; a visitor commented that he has created a better version of this script, and it's available here
The Pirate Party also ask that sites that decide to block Perspektiv let them know by e-mailing them at info@piratbyran.org.
Sources: (sorry, they are all in either Swedish or Norwegian)
Piratebay press release
Pirate Party press release
PirateBay stenger ute bredbåndsleverandør
Comments:
No Comments for this post yet...
This post has 56 feedbacks awaiting moderation...
Leave a comment: