LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-27-2010, 03:39 AM   #1
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
blocking bittorrent trackers


Hi,

I've done some research on the issue of blocking bittorrent traffic. What I've come up with is that it is very difficult to detect the data traffic. Tools such us ipp2p fall short because of encryption of the data between peers.

What I'm thinking of (and starting to test at the same time) is to block the "single poit of failure" - the trackers.

My idea is to collect a list of IP addresses of the most used trackers and block all traffic to them:

Code:
# bittorrent trackers
# # tracker.prq.to
$IPTABLES -A INPUT -d 85.17.80.0/24 -j DROP
# # tracker.openbittorrent.com
$IPTABLES -A INPUT -d 188.126.64.0/24 -j DROP
# # free.btr.kz
$IPTABLES -A INPUT -d 195.210.47.0/24 -j DROP
# # tracker.mightynova.com
$IPTABLES -A INPUT -d 209.50.48.0/24 -j DROP
# # tracker.torrentbay.to
$IPTABLES -A INPUT -d 94.228.210.0/24 -j DROP
What do you think about this? Is this going to work? Where could I get a bigger list of bittorrent tracker addresses?

Thank you for any ideas,
Robert
 
Old 04-27-2010, 11:26 AM   #2
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
Those blocks are too large, there will probably be other hosts in thoose ranges not related to bittorent.

Modern bittorent clients can use distributed hash tables and therefore work without trackers.

Why are you trying to block bittorent? There is probably a better solution.
 
Old 04-27-2010, 01:32 PM   #3
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
ISPs around here try to block torrent traffic whenever they can, but most of the time it has no effects so I guess it's very difficult. If you're in a position where you actually legitimately can deny such traffic and it's really needed (say, you were an employer and wanted to deny it from your employers inside your firm), your best bet might be a written ban instead of a technical one, along with appropriate penalty if violated. That way you wouldn't need to take the impossible route of blocking every hole, as long as the threat of penalty was real enough. The downside is that you wouldn't be liked much after that. If you are not in a position like that, you can probably forget about being able to block torrent traffic except for single cases and probably short periods of time.

Blocking by a range of IP addresses is always a bad move, especially when they're client IPs which can and often are dynamic, meaning that you're blocking out a lot of unrelated users per every related user. Some forums on the net use IP based blocking (probably for spammers), and a few forums have displayed a "your IP address is banned" message even though I've never visited them before. Means I won't be visiting any time soon either..

Last edited by b0uncer; 04-27-2010 at 01:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] C - For system calls, is blocking or non-blocking default? golmschenk Programming 4 03-23-2010 10:29 PM
[SOLVED] C - What's the difference between a blocking and a non-blocking call? golmschenk Programming 5 03-06-2010 06:45 PM
ISO bit torrent trackers johnp Linux - General 1 05-04-2004 06:26 PM
is there anyone using bittorrent bittorrent-shadowsclient-5.8.3 moonloader Linux - Software 0 01-12-2004 05:35 AM
BitTorrent help oblivion590 Linux - Software 4 11-07-2003 08:42 PM


All times are GMT -5. The time now is 04:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration