#!/bin/sh

# Firewalls P2P enemies like RIAA, MPAA, Mediaforce
# List made by ioccatflashdancedotcx

# N2H2 (NETBLK-NETBLK-BESS-NET1) NETBLK-BESS-NET1 206.129.0.0 - 206.129.1.0
# makes filter for inet
iptables -I INPUT -p all -s 206.129.0.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 206.129.1.0/24 -d any/0 -j DROP

# The Allegro Group (NETBLK-UU-208-196-168-175) UU-208-196-168-175
# www.MediaForce.com - looks for copyrighted stuff
# 208.196.168.0 - 208.196.175.255
iptables -I INPUT -p all -s 208.196.168.0/21 -d any/0 -j DROP

# Interliant (NETBLK-ILNT-DH21) ILNT-DH21 216.205.94.0 - 216.205.94.255
# www.Copyright.net - looks for copyrighted stuff
iptables -I INPUT -p all -s 216.205.94.0/24 -d any/0 -j DROP

# Web Sense. Makes filter for inet.
# sluggo2.websense.com. A 209.132.99.194
# sluggo3.websense.com. A 63.212.171.193
# sluggo.websense.com. A 209.132.98.162
iptables -I INPUT -p all -s 209.132.99.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 63.212.171.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 209.132.98.0/24 -d any/0 -j DROP

#Netsweeper FW-NETSWEEPER-1 (NET-66-207-120-224-1)
# 66.207.120.224 - 66.207.120.239
# Internet Web filtering, parental controls, Content
# filtering for ISPs, Corporations, and Educational Institutions
iptables -I INPUT -p all -s 66.207.120.0/24 -d any/0 -j DROP

#NAMEPROTECT.COM NAMEPROT75-209-192 (NET-12-148-209-192-1)
# 12.148.209.192 - 12.148.209.255
# http://www.nameprotect.com/botinfo.html
# NameProtect engages in crawling activity in search of a wide range of brand
# and other intellectual property violations that may be of interest to our
# clients.
iptables -I INPUT -p all -s 12.148.209.0/24 -d any/0 -j DROP

# hosts that are known to have bots on irc
iptables -I INPUT -p all -s 38.144.57.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 65.215.219.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 4.67.43.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 4.23.0.0/16 -d any/0 -j DROP
iptables -I INPUT -p all -s 4.43.108.0/24 -d any/0 -j DROP

# Time Warner Inc
iptables -I INPUT -p all -s 168.161.0.0/16 -d any/0 -j DROP


####### Added from http://methlab.tech.nu/ #########


# RIAA

iptables -I INPUT -p all -s 208.225.90.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 12.150.191.0/24 -d any/0 -j DROP

# OverPeer

iptables -I INPUT -p all -s 65.160.0.0/15 -d any/0 -j DROP

# Teosto

iptables -I INPUT -p all -s 194.194.240.0/24 -d any/0 -j DROP

# Ranger

iptables -I INPUT -p all -s 216.122.0.0/16 -d any/0 -j DROP
iptables -I INPUT -p all -s 204.92.244.0/24 -d any/0 -j DROP

# MediaForce

iptables -I INPUT -p all -s 65.192.0.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 65.223.0.0/16 -d any/0 -j DROP

# MediaDefender

iptables -I INPUT -p all -s 66.79.0.0/16 -d any/0 -j DROP
iptables -I INPUT -p all -s 64.225.192.0/25 -d any/0 -j DROP

# MPAA

iptables -I INPUT -p all -s 63.199.57.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 198.70.114.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 209.67.0.0/16 -d any/0 -j DROP

# NetPD

iptables -I INPUT -p all -s 207.155.128.0/17 -d any/0 -j DROP
iptables -I INPUT -p all -s 128.241.0.0/16 -d any/0 -j DROP

# Unknown C&D Cop (WARNER OWNS NETBLOCK!)
# CustName: Warner
# Address: Private Residence <- haha

iptables -I INPUT -p all -s 64.106.170.128/26 -d any/0 -j DROP

# BayTSP

iptables -I INPUT -p all -s 209.204.128.0/18 -d any/0 -j DROP

# Vidius
# dupe!
# iptables -I INPUT -p all -s 207.155.128.0/17 -d any/0 -j DROP

# xupiter.com
# (only IP 64.236.32.50 but i fw /24 anyway)

iptables -I INPUT -p all -s 64.236.32.0/24 -d any/0 -j DROP

# Xupiter.com - Site
# (only IP 63.236.52.20 but i fw /24 anyway)

iptables -I INPUT -p all -s 63.236.52.0/24 -d any/0 -j DROP

# OverPeer

iptables -I INPUT -p all -s 64.15.228.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 65.174.0.0/16 -d any/0 -j DROP

# Media Force

iptables -I INPUT -p all -s 4.43.96.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 4.43.124.192/26 -d any/0 -j DROP
iptables -I INPUT -p all -s 65.247.105.240/28 -d any/0 -j DROP

# BayTSP

iptables -I INPUT -p all -s 209.122.130.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 209.204.190.0/24 -d any/0 -j DROP

# DoD Network Information Center

iptables -I INPUT -p all -s 214.0.0.0/8 -d any/0 -j DROP
iptables -I INPUT -p all -s 215.0.0.0/8 -d any/0 -j DROP

# Federal Bureau of Investigation-CJIS

iptables -I INPUT -p all -s 153.31.0.0/16 -d any/0 -j DROP

# Warner Music Group

iptables -I INPUT -p all -s 216.52.242.0/24 -d any/0 -j DROP

# Warner Music Group, network bigger than listed in http://methlab.tech.nu/
# entire network banned.

iptables -I INPUT -p all -s 206.245.128.0/23 -d any/0 -j DROP
iptables -I INPUT -p all -s 206.245.130.0/24 -d any/0 -j DROP

# IDSA

iptables -I INPUT -p all -s 216.194.192.0/18 -d any/0 -j DROP

# SPA

iptables -I INPUT -p all -s 207.95.37.0/24 -d any/0 -j DROP

# APG

iptables -I INPUT -p all -s 213.150.32.0/19 -d any/0 -j DROP

# US Department of Justices

iptables -I INPUT -p all -s 149.101.0.0/16 -d any/0 -j DROP

# GainCME (Spyware)

iptables -I INPUT -p all -s 66.35.247.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 66.35.229.0/24 -d any/0 -j DROP

# R. R. Donnelly (Harvesting/Marketing)

iptables -I INPUT -p all -s 207.79.74.0/24 -d any/0 -j DROP

# Bogus File Server

iptables -I INPUT -p all -s 66.28.151.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 66.250.24.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 66.28.103.0/24 -d any/0 -j DROP

# RIAA
# removed. bans to much. www.overclockers.com for example.
# iptables -I INPUT -p all -s 208.192.0.0/10 -d any/0 -j DROP

# Audiofon Chat & Play GmbH

iptables -I INPUT -p all -s 213.61.148.0/24 -d any/0 -j DROP

# RIAA

iptables -I INPUT -p all -s 208.209.2.0/24 -d any/0 -j DROP

# AVI Faker

iptables -I INPUT -p all -s 66.118.165.0/24 -d any/0 -j DROP

# AVI Faker

iptables -I INPUT -p all -s 66.118.165.0/24 -d any/0 -j DROP

# MediaForce

iptables -I INPUT -p all -s 65.217.219.192/27 -d any/0 -j DROP

# UUnet Technologies-RIAA ??

iptables -I INPUT -p all -s 208.218.191.0/24 -d any/0 -j DROP

# MediaForce

iptables -I INPUT -p all -s 65.243.215.0/26 -d any/0 -j DROP

# betis.com ==> RIAA Host

iptables -I INPUT -p all -s 65.244.101.0/24 -d any/0 -j DROP

# Retspan

iptables -I INPUT -p all -s 66.150.161.0/24 -d any/0 -j DROP

# Warner Music Group

iptables -I INPUT -p all -s 216.052.242.0/24 -d any/0 -j DROP

# Telecom Italia
#
# maybe a bit unfair
#iptables -I INPUT -p all -s 80.180.0.0/17 -d any/0 -j DROP

# Fake MP3s

# iptables -I INPUT -p all -s 66.28.0.0/16 -d any/0 -j DROP
# bans to much! www.deviantart.com for example!

# Antipiracybyra Sweden

iptables -I INPUT -p all -s 195.42.192.0/24 -d any/0 -j DROP

# MediaForce

iptables -I INPUT -p all -s 208.251.137.0/24 -d any/0 -j DROP

# MPAA

iptables -I INPUT -p all -s 208.50.66.224/27 -d any/0 -j DROP

# RIAA
# (netblock larger than listed, all banned)

iptables -I INPUT -p all -s 208.229.252.0/22 -d any/0 -j DROP

# OverPeer

iptables -I INPUT -p all -s 64.14.37.128/27 -d any/0 -j DROP

# RIAA

iptables -I INPUT -p all -s 208.207.98.0/24 -d any/0 -j DROP

# http://www.worldstudio.com/ peer to peer monitoring on winmx

iptables -I INPUT -p all -s 192.205.0.0/16 -d any/0 -j DROP

# When-U

iptables -I INPUT -p all -s 192.108.53.0/24 -d any/0 -j DROP

# OverPeer

iptables -I INPUT -p all -s 64.14.40.0/24 -d any/0 -j DROP

# Cogent Systems
# their network block is larger, all firewalled

# seams to do hosting. ban removed…
# iptables -I INPUT -p all -s 66.250.0.0/16 -d any/0 -j DROP

# iptables -I INPUT -p all -s 66.28.0.0/16 -d any/0 -j DROP
# bans to much! www.deviantart.com for example!

# Cyveillance

iptables -I INPUT -p all -s 65.118.41.0/24 -d any/0 -j DROP
iptables -I INPUT -p all -s 63.148.99.0/24 -d any/0 -j DROP

# OverPeer

iptables -I INPUT -p all -s 216.35.73.0/24 -d any/0 -j DROP

# MPAA

iptables -I INPUT -p all -s 64.166.187.0/24 -d any/0 -j DROP

# Gain(Gator)

iptables -I INPUT -p all -s 64.94.89.0/24 -d any/0 -j DROP

# IDSA

iptables -I INPUT -p all -s 216.194.192.0/18 -d any/0 -j DROP

# GEMA - German Copyright Society

iptables -I INPUT -p all -s 193.108.8.0/21 -d any/0 -j DROP
Have a nice day, somewere else