Community discussions

MikroTik App
 
Abdisirat
just joined
Topic Author
Posts: 24
Joined: Fri May 15, 2020 9:56 pm

Block or Limit Torrents

Thu Jul 29, 2021 6:39 pm

Is there an effective Firewall procedure for Blocking torrents or Limiting their bandwidth ?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Block or Limit Torrents

Thu Jul 29, 2021 6:51 pm

You ask effective, with this assumption, the reply is NO
 
Abdisirat
just joined
Topic Author
Posts: 24
Joined: Fri May 15, 2020 9:56 pm

Re: Block or Limit Torrents

Thu Jul 29, 2021 7:13 pm

You ask effective, with this assumption, the reply is NO
:) Let me rephrase the question..I would like to block torrents or Limit their bandwidth usage within my network. Please share some working procedures. thanks
 
Cablenut9
Long time Member
Long time Member
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: Block or Limit Torrents

Thu Jul 29, 2021 7:16 pm

:) Let me rephrase the question..I would like to block torrents or Limit their bandwidth usage within my network. Please share some working procedures. thanks
You can't, because torrents can use ports 80 and 443 and then it looks like regular website traffic.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Block or Limit Torrents

Thu Jul 29, 2021 7:27 pm

I stopped doing this several years ago.
The programs have adapted to the countermeasures
and now everything is encrypted and uses standard ports used from other services...
 
Abdisirat
just joined
Topic Author
Posts: 24
Joined: Fri May 15, 2020 9:56 pm

Re: Block or Limit Torrents

Thu Jul 29, 2021 7:34 pm

:) Let me rephrase the question..I would like to block torrents or Limit their bandwidth usage within my network. Please share some working procedures. thanks
You can't, because torrents can use ports 80 and 443 and then it looks like regular website traffic.
..thanks Cablenut9.

Now what options or best practices are we left with on Mikrotik ? ..walking to the identified users and telling them to stop torrenting..
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Block or Limit Torrents

Thu Jul 29, 2021 7:42 pm

Simply let the user use the line that pays you.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Block or Limit Torrents

Thu Jul 29, 2021 8:30 pm

If you are a company and have control over all PC client, you can use system like Forcepoint that replaces the HTTPS certificate between the client and a proxy server that then do the examination og the internett traffic. At my company we do this. So yes its possible, but not for all type of clients and networks.
 
DarkNate
Forum Veteran
Forum Veteran
Posts: 997
Joined: Fri Jun 26, 2020 4:37 pm

Re: Block or Limit Torrents

Thu Jul 29, 2021 8:38 pm

Make use of common sense and use simple queues. Cap per customer not per protocol/traffic.

Why are people so hell-bent on violating net neutrality?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Block or Limit Torrents

Thu Jul 29, 2021 8:41 pm

Simple, buy the disney channel for your kids and then they wont need to torrent the shows!
What is worth torrenting these days anyway??
 
Cablenut9
Long time Member
Long time Member
Posts: 542
Joined: Fri Jan 08, 2021 5:30 am

Re: Block or Limit Torrents

Thu Jul 29, 2021 8:45 pm

What is worth torrenting these days anyway??
If you need to find something old, weird, or otherwise hard to get the regular way (like the Olympics) then torrenting is a suitable option.
 
tapsin
just joined
Posts: 6
Joined: Wed Feb 05, 2014 6:56 pm

Re: Block or Limit Torrents

Mon Nov 06, 2023 10:45 pm

Mark PACKAGE

Layer 7 Protocol
/ip firewall layer7-protocol
add comment="Block Bit Torrent" name=layer7-bittorrent-exp regexp="^(\\x13bitt\
    orrent protocol|azver\\x01\$|get /scrape\\\?info_hash=get /announce\\\?inf\
    o_hash=|get /client/bitcomet/|GET /data\\\?fid=)|d1:ad2:id20:|\\x08'7P\\)[\
    RP]"
Layer 7 bittorrent add

And Mangle Add
/ip firewall mangle
add action=mark-packet chain=prerouting layer7-protocol=layer7-bittorrent-exp \
    new-packet-mark=Torrentci passthrough=yes
/queue simple
add max-limit=512k/1M name=TORRENT packet-marks=Torrentci target=""
Bandwith limited.. :D
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Block or Limit Torrents

Tue Nov 07, 2023 10:47 am

Poor deluded... Which version are you referring to, the one from 10 years ago?

Pretending it works would only limit the speed of the first packet...

Who is online

Users browsing this forum: BinaryTB, chinhbq, Majestic-12 [Bot] and 39 guests