• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Blocking Torrenting

jsbkool@yahoo.com

New Member
Joined
May 13, 2008
Messages
20 (0.00/day)
System Name Sona
Processor INTEL I7 920
Motherboard Gigabyte GA X58 Exterme
Cooling Cooler master Aquagate (customized)
Memory corsiar 8GB kit 1600MHz(Dominator series)
Video Card(s) 2*470 GTX (SLI)
Storage Intel X25 in raid and WD320GB,500GB WD black in raid
Display(s) 28inches viewsonic X2835WB
Case Cooler master HAF 932
Audio Device(s) on broad 7.1
Power Supply Corsair HX1000
Software Windows 7 64 bit
Hello all ,

I am a internet distributor in my town, we use wireless network to connect the client , i m facing a problem ie most of my clients are torrenting which cause our entire bandwidth gets choked. Hence we need help , I got a manageable switch from tp-link which is a smart switch.We want to know whether i can block torrenting using the manageable switch or is there any other solution for this problem.
Looking forward for the solution..
 
Joined
Mar 15, 2013
Messages
3,626 (0.90/day)
Location
GMT +2
System Name Red Radiance l under construction
Processor 5800x
Motherboard x470 taichi
Cooling stock wrath
Memory TridentZ Neo rgb 3600mhz (2x8 kit)
Video Card(s) Sapphire Vega 64 nitro+
Storage 970 evo nvme
Display(s) lc27g75tq
Case tt core x5 tge
Audio Device(s) sennheiser's pc323d usb soundcard
Power Supply corsair AX860i
Mouse roccat burst pro
Keyboard roccat ryos mk fx
Software windows 10
have you tried to put max brandwidth torrents can use
what is the model of the switch.
if you block torrenting you may face a lot angry customers
why expanding capabilities of network is not an option
 
Joined
Jul 6, 2006
Messages
666 (0.10/day)
Location
England, UK
Processor AMD Athlon 3800+ X2
Motherboard ASUS A8N-SLI SE
Cooling 2 Exhaust fans
Memory 2x512MB DDR400 RAM
Video Card(s) Connect3D ATI Radeon X1900XT 512MB
Storage 80GB Maxtor DiamondMax
Display(s) Packard bell 17" CRT
Case Stock
Power Supply 580W Hiper Type-R
Hello all ,

I am a internet distributor in my town, we use wireless network to connect the client , i m facing a problem ie most of my clients are torrenting which cause our entire bandwidth gets choked. Hence we need help , I got a manageable switch from tp-link which is a smart switch.We want to know whether i can block torrenting using the manageable switch or is there any other solution for this problem.
Looking forward for the solution..

How can you be sure they're torrenting?

What's your current maximum bandwidth?

Due to how easy it is to switch the ports that are used on software such as utorrent (it's literally a button to randomize) i would think it would be hard to block a specific port that is being used on the switch for torrenting, but that's just as far as i know...
 
Joined
Jan 17, 2010
Messages
12,280 (2.37/day)
Location
Oregon
System Name Juliette // HTPC
Processor Intel i7 9700K // AMD Ryzen 5 5600G
Motherboard ASUS Prime Z390X-A // ASRock B550 ITX-AC
Cooling Noctua NH-U12 Black // Stock
Memory Corsair DDR4 3600 32gb //G.SKILL Trident Z Royal Series 16GB (2 x 8GB) 3600
Video Card(s) ASUS RTX4070 OC// GTX 1650
Storage Samsung 970 EVO NVMe 1Tb, Intel 665p Series M.2 2280 1TB // Samsung 1Tb SSD
Display(s) ASUS VP348QGL 34" Quad HD 3440 x 1440 // 55" LG 4K SK8000 Series
Case Seasonic SYNCRO Q7// Silverstone Granada GD05
Audio Device(s) Focusrite Scarlett 4i4 // HDMI to Samsung HW-R650 sound bar
Power Supply Seasonic SYNCRO 750 W // CORSAIR Vengeance 650M
Mouse Cooler Master MM710 53G
Keyboard Logitech 920-009300 G512 SE
Software Windows 10 Pro // Windows 10 Pro
The FCC fined Comcast for Bittorrent trafic shaping. I think it was back in 2008
 
Joined
Jan 20, 2007
Messages
217 (0.03/day)
Location
Mataram-NTB, Indonesia
System Name Folding System
Processor Intel 4770K Haswell
Motherboard Gigabyte G1 Sniper
Cooling EK Clean CSQ WB + EK CoolStream RAD XTX 480 + EK GTX780Ti Full WB + Swiftech D5 Pump
Memory 4 x 4 GB DDR3 GSkill Ripjaws F3 17000 GBZL | 4 x 4GB DDR3 Corsair Dominator Platinum
Video Card(s) 2 x Inno3D GTX 780Ti 3GB SLI
Storage 2x Patriot Pyro 240GB Raid 0 | 2x WD Green 3TB Raid 0 | 4x Seagate 4TB Raid 0
Display(s) Viewsonic LED VA1938wa 19" / 2 x Dell U2312HM 23" IPS Panel
Case Corsair 900D + 1 Aerocool 14cm Fan, 3 CM Fan 12cm, 4 Scythe Slim Fan 12cm, 4 Aerocool Shark 12cm
Audio Device(s) ASUS Xonar Phoebus + Hippo cri head amp + Sennheiser HD 598 + Razer Megalodon
Power Supply Seasonic P1000 Platinum
Mouse Logitech G502
Keyboard Gigabyte Aivia Osmium Mech Keyboard
Software Windows 10 Home
i dont think it possible to block torrent using switch, is it? my office connect to internet through University LAN, the Network admin used to try to block many thing but torrent is always one thing they cant block, when one of our workstation staff complain about connection, for quick troubleshooting i used torrent client to check if my office connection is fine.
 
Joined
Feb 8, 2012
Messages
3,012 (0.68/day)
Location
Zagreb, Croatia
System Name Windows 10 64-bit Core i7 6700
Processor Intel Core i7 6700
Motherboard Asus Z170M-PLUS
Cooling Corsair AIO
Memory 2 x 8 GB Kingston DDR4 2666
Video Card(s) Gigabyte NVIDIA GeForce GTX 1060 6GB
Storage Western Digital Caviar Blue 1 TB, Seagate Baracuda 1 TB
Display(s) Dell P2414H
Case Corsair Carbide Air 540
Audio Device(s) Realtek HD Audio
Power Supply Corsair TX v2 650W
Mouse Steelseries Sensei
Keyboard CM Storm Quickfire Pro, Cherry MX Reds
Software MS Windows 10 Pro 64-bit
Looking forward for the solution.

Torrent ports are random and traffic is encrypted so there is no "good" way to block it. It is better idea to edit quality of service options on router to let web, email, gaming, etc. have higher priority than anything else.
 
Joined
Jun 23, 2011
Messages
389 (0.08/day)
System Name potato
Processor Ryzen 9 3950X
Motherboard MSI MAG B550 Tomahawk
Cooling Custom WC Loop
Memory 2x16GB G.Skill Trident Z Neo 3600
Video Card(s) Radeon VII
Storage SSD: Team 512GB NVMe + Team 2TB SATA || HDD: 2x WD VRaptor 500GB & 2x WD Blue 4TB
Display(s) XIAOMI Curved 34" 144Hz UWQHD
Case be quiet dark base pro 900
Audio Device(s) Edifier R1800T, Logitech G733
Power Supply Corsair AX860i
Mouse Logitech G Pro
Keyboard Corsair K65
Software win 10 amd64
to effectively block torrent, you need to define fire-walling rules that are based on layer 7 pattern and packet content matching - which i doubt that your switch is capable of.

consider a mikrotik or any powerful router to get it done.

shall you deploy a mikrotik, all you need to do is add this rules to firewall:
  1. drop packet that are matching to a L7 pattern of torrents packet (use built in feature: p2p=all-p2p) - this will keep classic - non secure - torrents connection out
  2. block outgoing DHT from your network (packets containing "d1:ad2:id20:" with packet size from 95 to 190 and in a udp protocol)
  3. block outgoing torrent announce (packets containing "info_hash" in a tcp protocol format)
 
Joined
May 9, 2011
Messages
408 (0.09/day)
Processor 5900x
Motherboard MSI B550 Gaming Carbon
Cooling Artic freezer 280mm
Memory 32GB @ 3800Mhz
Video Card(s) RTX 3080 FE
I would simply send a letter out first explaining the situation and advise that people schedule large downloads to be performed overnight otherwise you will be forced to take more sever action to limit them
 

jsbkool@yahoo.com

New Member
Joined
May 13, 2008
Messages
20 (0.00/day)
System Name Sona
Processor INTEL I7 920
Motherboard Gigabyte GA X58 Exterme
Cooling Cooler master Aquagate (customized)
Memory corsiar 8GB kit 1600MHz(Dominator series)
Video Card(s) 2*470 GTX (SLI)
Storage Intel X25 in raid and WD320GB,500GB WD black in raid
Display(s) 28inches viewsonic X2835WB
Case Cooler master HAF 932
Audio Device(s) on broad 7.1
Power Supply Corsair HX1000
Software Windows 7 64 bit
Thank you guys for your valuable reply and lots of alternative solution . I have a smart tp-link 3210 8 port manageable switch and the mikrotik 750GL boardband routerboard .when i tried blocking the port some of the common sites were blocked . i am beginner in networking field , all i know is some basic things guys .
 
Joined
Jun 23, 2011
Messages
389 (0.08/day)
System Name potato
Processor Ryzen 9 3950X
Motherboard MSI MAG B550 Tomahawk
Cooling Custom WC Loop
Memory 2x16GB G.Skill Trident Z Neo 3600
Video Card(s) Radeon VII
Storage SSD: Team 512GB NVMe + Team 2TB SATA || HDD: 2x WD VRaptor 500GB & 2x WD Blue 4TB
Display(s) XIAOMI Curved 34" 144Hz UWQHD
Case be quiet dark base pro 900
Audio Device(s) Edifier R1800T, Logitech G733
Power Supply Corsair AX860i
Mouse Logitech G Pro
Keyboard Corsair K65
Software win 10 amd64
well, you already have a mikrotik so you will only need to learn a bit to harness its power :D

am not sure a 750gl would suffice coz L7 pattern and packets matching-based firewall rules are quite cpu consuming, but just give it a shot and see how it turns out ;)

you might want to try the setting in virtual machine first (virtualbox etc - just download the iso from mikrotik.com and install it) and see if you can get a grasp of it.

am still at work, i'll post a more detailed how to - later when am home
 
Last edited:
Joined
Mar 15, 2013
Messages
3,626 (0.90/day)
Location
GMT +2
System Name Red Radiance l under construction
Processor 5800x
Motherboard x470 taichi
Cooling stock wrath
Memory TridentZ Neo rgb 3600mhz (2x8 kit)
Video Card(s) Sapphire Vega 64 nitro+
Storage 970 evo nvme
Display(s) lc27g75tq
Case tt core x5 tge
Audio Device(s) sennheiser's pc323d usb soundcard
Power Supply corsair AX860i
Mouse roccat burst pro
Keyboard roccat ryos mk fx
Software windows 10
...when i tried blocking the port some of the common sites were blocked . i am beginner in networking field, all i know is some basic things guys.

in that case you may find this useful.
your tp-link specs

I would simply send a letter out first explaining the situation and advise that people schedule large downloads to be performed overnight otherwise you will be forced to take more sever action to limit them

this ^ is good idea. utorrent has possibility to limit download/upload speed (i guess other clients have this option too). you can ask them to limit their clients to lvl that wont cause troubles till you are able to expand network limits.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
Why don't you just shape all of your clients traffic? Obviously you're running out of bandwidth so you need to implement some level of QoS or your need to cap their bandwidth. That's what I'm getting from this thread. Don't focus on shaping a kind of traffic, you should just look at it as their internet as a whole. If they're consuming too much, give them less.
 

brandonwh64

Addicted to Bacon and StarCrunches!!!
Joined
Sep 6, 2009
Messages
19,542 (3.67/day)
That router has p2p limiting on the firewall side. You will need to get familiar with the commands on telnet to disable p2p transfers.

p2p (all-p2p | bit-torrent | blubster | direct-connect | edonkey | fasttrack | gnutella | soulseek | warez | winmx; Default: ) Matches packets from various peer-to-peer (P2P) protocols. Does not work on encrypted p2p packets.

http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Filter
 
Joined
Jun 23, 2011
Messages
389 (0.08/day)
System Name potato
Processor Ryzen 9 3950X
Motherboard MSI MAG B550 Tomahawk
Cooling Custom WC Loop
Memory 2x16GB G.Skill Trident Z Neo 3600
Video Card(s) Radeon VII
Storage SSD: Team 512GB NVMe + Team 2TB SATA || HDD: 2x WD VRaptor 500GB & 2x WD Blue 4TB
Display(s) XIAOMI Curved 34" 144Hz UWQHD
Case be quiet dark base pro 900
Audio Device(s) Edifier R1800T, Logitech G733
Power Supply Corsair AX860i
Mouse Logitech G Pro
Keyboard Corsair K65
Software win 10 amd64
That router has p2p limiting on the firewall side. You will need to get familiar with the commands on telnet to disable p2p transfers.

p2p (all-p2p | bit-torrent | blubster | direct-connect | edonkey | fasttrack | gnutella | soulseek | warez | winmx; Default: ) Matches packets from various peer-to-peer (P2P) protocols. Does not work on encrypted p2p packets.

http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Filter

vanilla p2p=all-p2p wont block magnet torrents


@OP: found a thread on mikrotik forum, all you need is there :toast:

methink it's wiser to just limit the bandwidth for torrents rather than block them all :)
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,436 (2.43/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
Joined
Mar 15, 2013
Messages
3,626 (0.90/day)
Location
GMT +2
System Name Red Radiance l under construction
Processor 5800x
Motherboard x470 taichi
Cooling stock wrath
Memory TridentZ Neo rgb 3600mhz (2x8 kit)
Video Card(s) Sapphire Vega 64 nitro+
Storage 970 evo nvme
Display(s) lc27g75tq
Case tt core x5 tge
Audio Device(s) sennheiser's pc323d usb soundcard
Power Supply corsair AX860i
Mouse roccat burst pro
Keyboard roccat ryos mk fx
Software windows 10

AsRock

TPU addict
Joined
Jun 23, 2007
Messages
18,853 (3.08/day)
Location
UK\USA
Processor AMD 3900X \ AMD 7700X
Motherboard ASRock AM4 X570 Pro 4 \ ASUS X670Xe TUF
Cooling D15
Memory Patriot 2x16GB PVS432G320C6K \ G.Skill Flare X5 F5-6000J3238F 2x16GB
Video Card(s) eVga GTX1060 SSC \ XFX RX 6950XT RX-695XATBD9
Storage Sammy 860, MX500, Sabrent Rocket 4 Sammy Evo 980 \ 1xSabrent Rocket 4+, Sammy 2x990 Pro
Display(s) Samsung 1080P \ LG 43UN700
Case Fractal Design Pop Air 2x140mm fans from Torrent \ Fractal Design Torrent 2 SilverStone FHP141x2
Audio Device(s) Yamaha RX-V677 \ Yamaha CX-830+Yamaha MX-630 Infinity RS4000\Paradigm P Studio 20, Blue Yeti
Power Supply Seasonic Prime TX-750 \ Corsair RM1000X Shift
Mouse Steelseries Sensei wireless \ Steelseries Sensei wireless
Keyboard Logitech K120 \ Wooting Two HE
Benchmark Scores Meh benchmarks.
Aah sales man ?..

I would find a router that QOS works well on and limit the speed, another way would be though a software firewall but would come expensive and require time to setup.


I use Outpost firewall and i can block programs and block all or some ports to a app.

If the your using newer OS on the machines maybe make a restricted user account and use parental controls and only allow programs that you want to run so that way if they install a new app the app will need permission.
 
Joined
Nov 12, 2013
Messages
74 (0.02/day)
get dd-wrt firmware, then you can block p2p activity and much more
 
Joined
Jul 21, 2008
Messages
5,172 (0.90/day)
System Name [Daily Driver]
Processor [Ryzen 7 5800X3D]
Motherboard [Asus TUF GAMING X570-PLUS]
Cooling [be quiet! Dark Rock Slim]
Memory [64GB Corsair Vengeance LPX 3600MHz (16GBx4)]
Video Card(s) [PNY RTX 3070Ti XLR8]
Storage [1TB SN850 NVMe, 4TB 990 Pro NVMe, 2TB 870 EVO SSD, 2TB SA510 SSD]
Display(s) [2x 27" HP X27q at 1440p]
Case [Fractal Meshify-C]
Audio Device(s) [Steelseries Arctis Pro]
Power Supply [CORSAIR RMx 1000]
Mouse [Logitech G Pro Wireless]
Keyboard [Logitech G512 Carbon (GX-Brown)]
Software [Windows 11 64-Bit]
Joined
May 13, 2010
Messages
5,632 (1.11/day)
System Name RemixedBeast-NX
Processor Intel Xeon E5-2690 @ 2.9Ghz (8C/16T)
Motherboard Dell Inc. 08HPGT (CPU 1)
Cooling Dell Standard
Memory 24GB ECC
Video Card(s) Gigabyte Nvidia RTX2060 6GB
Storage 2TB Samsung 860 EVO SSD//2TB WD Black HDD
Display(s) Samsung SyncMaster P2350 23in @ 1920x1080 + Dell E2013H 20 in @1600x900
Case Dell Precision T3600 Chassis
Audio Device(s) Beyerdynamic DT770 Pro 80 // Fiio E7 Amp/DAC
Power Supply 630w Dell T3600 PSU
Mouse Logitech G700s/G502
Keyboard Logitech K740
Software Linux Mint 20
Benchmark Scores Network: APs: Cisco Meraki MR32, Ubiquiti Unifi AP-AC-LR and Lite Router/Sw:Meraki MX64 MS220-8P
meraki's AP's have layer 7 firewalls and have a P2P preset that blocks all P2P or you can drill down and block bittorrents only:

I have a Meraki MR12 AP and here's the options:

Note: this is my guest network and I also have traffic shaping as well.

Screenshot 2013-12-15 03.29.18.png
 
Top