why dont most consumer routers have an option to block bitorrent

ericloewe

Senior member
Dec 14, 2011
260
0
76
Because consumer routers don't usually do packet sniffing to figure out what's being sent. Nearly all allow you to block ports, but that's easily circumvented, especially with bittorrent.
 

theevilsharpie

Platinum Member
Nov 2, 2009
2,322
14
81
just curious.

Most consumer routers are simple packet filters that make routing decisions solely on IP addresses and port numbers. Applications like BitTorrent that don't use a common port number require a device that can inspect that entire payload of the IP packet, and consumer routers aren't able to do that while maintaining acceptable performance.
 

_Rick_

Diamond Member
Apr 20, 2012
3,937
69
91
You could probably implement a connection counter, and just drop a machine completely off the network once the number of connections established per second exceeds a certain amount.
Only p2p applications show this kind of behavior of opening a huge number of connections in a short time frame. Sure, you can probably tune libtorrent to open less connections per second than configured, but standard configuration and big swarms should trigger this every time. Any reaction other than completely cutting access to the machine can easily be circumvented.
This also works for worm/virus infected machines. A worm is essentially a p2p program.
It's probably easily implemented with some of the more advanced firmwares, as it's just a simple counter. Linux netfilter should support that.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
just curious.

Most people at home want to pay $50 for a router and bit torrent is a application layer service. You need a lot more horsepower than a $50 layer 3 filter can give to work on the Application layer. You also generally need some sort of support to tag frames since most home users wouldn't have a clue how to match packet types.
 

Mark R

Diamond Member
Oct 9, 1999
8,513
14
81
BitTorrent is damn near impossible to block. It was specifically designed so as to be able to pierce through most forms of NAT, it will find almost any open port, disguise traffic as something legitimate on an open port, encrypt traffic to prevent packet analysis, etc.

Blocking it requires sophisticated analysis, as simple things like port restrictions won't stop it. Even stuff like connection rate limiting often won't stop it, because most BT clients take care to limit their connection rate and total number of connections specifically to avoid triggering these limits.

The only way to detect and stop it is to watch the total number of active connections and look for "swarming" behavior. Even then, this only works reliably on very busy, active torrents. Unpopular, or poorly seeded torrents may well get through this.
 

robmurphy

Senior member
Feb 16, 2007
376
0
0
I think you need L7 packet filtering to do this.

Very few home routers can do this. Some linux routers may be able to do this. You would probably need an X86 based system to have enough CPU power for this.

The opening of TCP connections will not block torrents now. Many torrents are using UDP trackers now.

Monitoring the amount of data used by a user is one method of control. You can always use a local DNS and block known illegal sites using the local DNS. You will also need to block port 53 (I think) for the users to stop them having their own DNS.

If you have control of the machines the sites can be blocked in the hosts file. I use this to block many many annoying sites. If people are running their own PC however you will need to get a decent router, or build a linux based one.

Rob.
 

VirtualLarry

No Lifer
Aug 25, 2001
56,453
10,120
126
All good answers, but doesn't BT need to open an incoming port using UPnP? And doesn't it register a name with the router to describe that open port? Certain, a router could contain code to look for popular BT client names, and block opening the incoming port.

Heck, just disabling UPnP totally, could do that too, couldn't it?

Just a thought. (Yes, I realize that blocking it completely requires some heavy-duty L7 hardware.)
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,480
387
126
Routers are generic network hardware.

Asking them to inherently block a specific "gimmick", is like asking why a car does not come with a way to block driving to the Bad neighborhood in town.


 

Rifter

Lifer
Oct 9, 1999
11,522
751
126
Not enough processing power, plain and simple. If you want to do this i would look into a linux server to hookup inline with the router and have it do the packet inspection/filtering. If its a large network get something with some CPU power.
 

alkemyst

No Lifer
Feb 13, 2001
83,967
19
81
The main reasons consumer routers/network gear doesn't offer all the bells and whistles is because in a consumer network you usually 'know' what's going on since it's your traffic.

Commercial devices lean towards you usually won't know what people will be doing.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
All good answers, but doesn't BT need to open an incoming port using UPnP? And doesn't it register a name with the router to describe that open port? Certain, a router could contain code to look for popular BT client names, and block opening the incoming port.

Heck, just disabling UPnP totally, could do that too, couldn't it?

Just a thought. (Yes, I realize that blocking it completely requires some heavy-duty L7 hardware.)

No, it's faster with an open inbound port enabled but it still works without them.
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
plainly put, COST.
Most routers contain the slowest, cheapest possible processor to make the product work, often with zero overhead. They could add the features you want but not if it is going to cost them even 1 cent in profit.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |