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

Blocking Torrenting

Joined
May 13, 2008
Messages
20 (0.01/day)
Likes
0
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
#1
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
2,481 (1.40/day)
Likes
1,913
Location
GMT +2
System Name Red Radiance
Processor fx 8320
Motherboard GA-990FXA-UD5
Cooling CM Hyper 212 EVO
Memory 16gb G.skill TridentX 2400mhz (2x8 kit)
Video Card(s) GV-R929XOC-4GD
Storage OCZ vertex 460 480gb
Display(s) 32" Toshiba Full HD TV
Case CMstorm Trooper
Audio Device(s) sennheiser's pc323d usb soundcard
Power Supply corsair AX860i
Mouse roccat tyon
Keyboard roccat ryos mk fx
Software windows 7
#2
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
669 (0.16/day)
Likes
28
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
#3
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
10,173 (3.48/day)
Likes
6,825
Location
Oregon
System Name Delta // Alpha-HTPC
Processor Intel i7 6700K // Intel i5 4570
Motherboard GIGABYTE Z270X-Gaming K7 // Gigabyte H97M -D3H
Cooling Corsair H80i V2 // Silverstone NT-06 Pro
Memory Corsair DDR4 3000 32gb //G.SKILL Ripjaws X Series 8GB 1600
Video Card(s) EVGA GTX980ti// EVGA GTX 1050ti
Storage Samsung 950 Pro 512, 2 Tb FireCuda// Samsung 850 Pro, Synology NAS with 2X Toshiba 6Tb
Display(s) ASUS PB278Q 27" 1440X 2560 // 50" Samsung Plasma 720p
Case Corsair Obsidian Series 550D // Silverstone Granada GD05
Audio Device(s) ASUS Xonar DGX // HDMI to Yamaha RX V571
Power Supply Corsair TX850M // SeaSonic G Series 550w
Mouse Logitech G502
Keyboard Corsair K70
Software Windows 10 64bit // Windows 7 64bit with Kodi
#4
The FCC fined Comcast for Bittorrent trafic shaping. I think it was back in 2008
 
Joined
Jan 20, 2007
Messages
216 (0.05/day)
Likes
119
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
#5
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
2,698 (1.24/day)
Likes
1,930
Location
Zagreb, Croatia
System Name Windows 7 64-bit Core i5 3570K
Processor Intel Core i5 3570K @ 4.2 GHz, 1.26 V
Motherboard Gigabyte GA-Z77MX-D3H
Cooling Scythe Katana 4
Memory 4 x 4 GB G-Skill Sniper DDR3 @ 1600 MHz
Video Card(s) Gainward NVIDIA GeForce GTX 970 Phantom
Storage Western Digital Caviar Blue 1 TB, Seagate Baracuda 1 TB
Display(s) Dell P2414H
Case CoolerMaster Silencio 550
Audio Device(s) VIA HD Audio
Power Supply Corsair TX v2 650W
Mouse Steelseries Sensei
Keyboard CM Storm Quickfire Pro, Cherry MX Reds
Software MS Windows 7 Enterprise 64-bit SP1
#6
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
263 (0.11/day)
Likes
96
System Name potato
Processor Ryzen 7 1800X
Motherboard ASUS Crosshair VI Hero
Cooling Corsair H100i
Memory Team Delta 2x16GB 3000MHz
Video Card(s) MSI R9 Fury X
Storage Samsung SSD 850 240GB & 840 120GB + HDD 2x WD VRaptor 500GB & WD Green 4TB
Display(s) Benq XL2730z
Case be quiet dark base pro 900
Audio Device(s) Asus Xonar DX
Power Supply Corsair AX860i
Mouse Steelseries PC Bang
Keyboard Corsair K65
Software win 10 amd64
#7
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
394 (0.16/day)
Likes
158
Processor i7 4770k @ 4.6Ghz
Motherboard Asrock z97 Extreme6
Cooling Watercooled
Memory 16GB @ 2400Mhz
Video Card(s) MSI GTX 1070 Armor OC
Case Cooltek W2
#8
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
 
Joined
May 13, 2008
Messages
20 (0.01/day)
Likes
0
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
#9
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
263 (0.11/day)
Likes
96
System Name potato
Processor Ryzen 7 1800X
Motherboard ASUS Crosshair VI Hero
Cooling Corsair H100i
Memory Team Delta 2x16GB 3000MHz
Video Card(s) MSI R9 Fury X
Storage Samsung SSD 850 240GB & 840 120GB + HDD 2x WD VRaptor 500GB & WD Green 4TB
Display(s) Benq XL2730z
Case be quiet dark base pro 900
Audio Device(s) Asus Xonar DX
Power Supply Corsair AX860i
Mouse Steelseries PC Bang
Keyboard Corsair K65
Software win 10 amd64
#10
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
2,481 (1.40/day)
Likes
1,913
Location
GMT +2
System Name Red Radiance
Processor fx 8320
Motherboard GA-990FXA-UD5
Cooling CM Hyper 212 EVO
Memory 16gb G.skill TridentX 2400mhz (2x8 kit)
Video Card(s) GV-R929XOC-4GD
Storage OCZ vertex 460 480gb
Display(s) 32" Toshiba Full HD TV
Case CMstorm Trooper
Audio Device(s) sennheiser's pc323d usb soundcard
Power Supply corsair AX860i
Mouse roccat tyon
Keyboard roccat ryos mk fx
Software windows 7
#11
...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
10,520 (4.81/day)
Likes
5,600
Location
Concord, NH
System Name Kratos
Processor Intel Core i7 3930k @ 4.2Ghz
Motherboard ASUS P9X79 Deluxe
Cooling Zalman CPNS9900MAX 130mm
Memory G.Skill DDR3-2133, 16gb (4x4gb) @ 9-11-10-28-108-1T 1.65v
Video Card(s) MSI AMD Radeon R9 390 GAMING 8GB @ PCI-E 3.0
Storage 2x120Gb SATA3 Corsair Force GT Raid-0, 4x1Tb RAID-5, 1x500GB
Display(s) 1x LG 27UD69P (4k), 2x Dell S2340M (1080p)
Case Antec 1200
Audio Device(s) Onboard Realtek® ALC898 8-Channel High Definition Audio
Power Supply Seasonic 1000-watt 80 PLUS Platinum
Mouse Logitech G602
Keyboard Rosewill RK-9100
Software Ubuntu 17.10
Benchmark Scores Benchmarks aren't everything.
#12
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,527 (6.38/day)
Likes
6,950
Location
Chatsworth, GA
System Name The StarCrunch Defender! | X58 Cruncher!
Processor I7 6700K @ STOCK | Intel I7-920
Motherboard Gigabyte Z170X-UD5 | Alienware MS-7543 X58
Cooling Corsair A70 Push/Pull | Corsair H50
Memory Crucial Ballistix DDR4 2400 MHz | Pereema 3x2GB DDR3
Video Card(s) Gigabyte Gaming G1 GTX 1070 | Gigabyte 7970 3GB
Storage 2x Samsung Pro 256GB M.2 SSD's in Raid 0 | 4TB Western Digital SATA drive
Display(s) ViewSonic VG2227wm 1080P | OLD viewsonics
Case NZXT Tempest 410 Elite | NZXT Source 210
Audio Device(s) Onboard
Power Supply Corsair 750TX | Enermax Liberty 500W
Mouse MX518 | MX502
Keyboard TESORO Mechanical | ANZO Mechanical
Software Windows 10 Pro on both
#13
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
263 (0.11/day)
Likes
96
System Name potato
Processor Ryzen 7 1800X
Motherboard ASUS Crosshair VI Hero
Cooling Corsair H100i
Memory Team Delta 2x16GB 3000MHz
Video Card(s) MSI R9 Fury X
Storage Samsung SSD 850 240GB & 840 120GB + HDD 2x WD VRaptor 500GB & WD Green 4TB
Display(s) Benq XL2730z
Case be quiet dark base pro 900
Audio Device(s) Asus Xonar DX
Power Supply Corsair AX860i
Mouse Steelseries PC Bang
Keyboard Corsair K65
Software win 10 amd64
#14
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
Joined
Nov 13, 2006
Messages
14,414 (3.53/day)
Likes
4,275
System Name VHOST01 | Desktop
Processor i7 980x | i5 7500 Kaby Lake
Motherboard Gigabyte x58 Extreme | AsRock MicroATX Z170M Exteme4
Cooling Prolimatech Megahelams | Stock
Memory 6x4 GB @ 1333 | 2x 8G Gskill Aegis DDR4 2400
Video Card(s) Nvidia GT 210 | Nvidia GTX 970 FTW+
Storage 4x2 TB Enterprise RAID5 |Corsair mForce nvme 250G
Display(s) N/A | Dell 27" 1440p 8bit GSYNC
Case Lian Li ATX Mid Tower | Corsair Carbide 400C
Audio Device(s) NA | On Board
Power Supply SeaSonic 500W Gold | Seasonic SSR-650GD Flagship Prime Series 650W Gold
Mouse N/A | Logitech G900 Chaos Spectrum
Keyboard N/A | Posiden Z RGB Cherry MX Brown
Software Centos 7 | Windows 10
#15
Joined
Mar 15, 2013
Messages
2,481 (1.40/day)
Likes
1,913
Location
GMT +2
System Name Red Radiance
Processor fx 8320
Motherboard GA-990FXA-UD5
Cooling CM Hyper 212 EVO
Memory 16gb G.skill TridentX 2400mhz (2x8 kit)
Video Card(s) GV-R929XOC-4GD
Storage OCZ vertex 460 480gb
Display(s) 32" Toshiba Full HD TV
Case CMstorm Trooper
Audio Device(s) sennheiser's pc323d usb soundcard
Power Supply corsair AX860i
Mouse roccat tyon
Keyboard roccat ryos mk fx
Software windows 7

AsRock

TPU addict
Joined
Jun 23, 2007
Messages
15,372 (3.98/day)
Likes
4,783
Location
US
Processor 2500k \ 3770k
Motherboard ASRock Z68 \ Z77
Memory Samsung low profile 1600
Video Card(s) XFX 6770 \ XFX R9 390X
Storage Intel 80Gb (SATA2) WD 250Gb \ Team SSD+Samsung Evo 250Gb+500Gb+ 2xCorsair Force+WD250GbHDD
Display(s) Samsung 1080P \ Toshiba HDTV 1080P
Case HTPC400 \ Thermaltake Armor case ( original ), With Zalman fan controller ( wattage usage ).
Audio Device(s) Yamaha RX-V475 \ Marantz SR5008 Tannoy Mercury MKII Paradigm 5SE + Tannoy Mercury F4
Power Supply PC&Power 750w \ Seasonic 750w MKII
Mouse MS intelimouse \ Logitech G700s + Steelseries Sensei wireless
Keyboard Logitech K120 \ ROCCAT MK Pro ( modded amber leds )
Benchmark Scores Meh benchmarks.
#17
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
Jul 21, 2008
Messages
4,436 (1.28/day)
Likes
1,050
Location
Clifton Park, NY
System Name [Uber Noober Setup]
Processor [i7 3770K]
Motherboard [MSI P67A-G45(B3)]
Memory [32GB Corsair Vengeance (8GBx4)]
Video Card(s) [EVGA GTX 1080]
Storage [128GB OCZ VTX4 SSD, 2TB Internal HDD]
Display(s) [2x 27" ASUS at 1920x1080p - 1x 34" Samsung at 1440p]
Case [Coolermaster CM 690]
Audio Device(s) [X-Fi XtremeGamer]
Power Supply [CORSAIR 850W]
Software [Windows 10 64-Bit]
#19
Joined
May 13, 2010
Messages
4,440 (1.58/day)
Likes
1,621
System Name RemixedBeast
Processor Intel i5 3570K @ 3.4Ghz
Motherboard ASRock Z77 Pro3
Cooling Coolermaster Hyper 212 Evo
Memory 16GB Corsair XMS3
Video Card(s) EVGA Nvidia GTX 650 Ti SSC 1GB
Storage 1.5TB Seagate/128GB Samsung 840
Display(s) Samsung SyncMaster P2350 23in @ 1920x1080 + LG Flatron 19in Widescreen 1440x900
Case Antec Three Hundred Two
Audio Device(s) Beyerdynamic DT770 Pro 80 // Fiio E7 Amp/DAC
Power Supply 620w Antec High Current Gamer HCG-620M
Mouse Logitech G700s/G502
Keyboard Logitech K740
Software Windows Server 2012 x64 Standard
Benchmark Scores Network: APs: Cisco Meraki MR32, Ubiquiti Unifi AP-AC-LR and Lite, Ligowave NFT-3AC
#20
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