Community discussions

MikroTik App
 
User avatar
birendersinghbudhwar
Member Candidate
Member Candidate
Topic Author
Posts: 117
Joined: Thu Oct 29, 2009 5:15 am
Location: Rohtak, HARYANA, INDIA
Contact:

How to block torrents ....?

Thu Jul 15, 2010 8:47 am

Dear Mikrotik,

I don't find a good answer to my question after searching the whole forum what are methods are mention is not working.

I want to know how can be block access with layer 7 protocol like user-agent based.

Like User-Agent=uTorrent

This feature is available in ISA server and sonic wall firewalls were we can defined the user-agents to block once we see it in the proxy debug log and we can also monitor the user-agents in IP/Firewall/connection if we found any P2P connection then we can get the user-agent in log proxy.

Any comments from Mikrotik on the same.

Please help in this regard as my customer are using uTorrent for download illegal software and porn moves .

Birender
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7169
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How to block torrents ....?

Thu Jul 15, 2010 11:33 am

This pattern works fine.
But if your life is too easy, then you can detect new log entries, parse web proxy logs and add ip address from the log entry to the address list. Then set up firewall rules to block IPs from the address list.

BTW: torrents are also used for legal downloads, which is much faster then http download.
 
User avatar
birendersinghbudhwar
Member Candidate
Member Candidate
Topic Author
Posts: 117
Joined: Thu Oct 29, 2009 5:15 am
Location: Rohtak, HARYANA, INDIA
Contact:

Re: How to block torrents ....?

Thu Jul 15, 2010 12:20 pm

This pattern works fine.
But if your life is too easy, then you can detect new log entries, parse web proxy logs and add ip address from the log entry to the address list. Then set up firewall rules to block IPs from the address list.

BTW: torrents are also used for legal downloads, which is much faster then http download.
Ya i agree with you that torrents also for legal downloads like your own mikrotik router os downloads but in my case my clients are 18 to 28 year and all are downloading nonsense.

Can you give me some example how to use this http://l7-filter.sourceforge.net/layer7 ... orrent.pat because i try to use it earlier also but fail to do so.

Can you please give me a sample example.

regards,

Birender
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7169
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How to block torrents ....?

Thu Jul 15, 2010 1:17 pm

 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26820
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: How to block torrents ....?

Thu Jul 15, 2010 1:19 pm

sadly, I think the new uTorrent v2 encryption system is undetectable (yet).

So ... you have to find other ways. Drop everything except good and known ports. Allow only certain number of connections per client. Give client a speed limit.

If you do that, you won't even have to worry what they download. They won't disturb anyone else.
 
centurion
just joined
Posts: 3
Joined: Wed Jun 16, 2010 8:02 pm

Re: How to block torrents ....?

Wed Jul 21, 2010 2:17 pm

sadly, I think the new uTorrent v2 encryption system is undetectable (yet).

So ... you have to find other ways. Drop everything except good and known ports. Allow only certain number of connections per client. Give client a speed limit.

If you do that, you won't even have to worry what they download. They won't disturb anyone else.
How to limit the number of sessions from the client in the Hot Spot network, limited only by the TCP session, how to be UDP?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: How to block torrents ....?

Wed Jul 21, 2010 4:47 pm

http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Filter
connection-limit (integer,netmaks; Default: ) Restrict connection limit per address or address block
 
centurion
just joined
Posts: 3
Joined: Wed Jun 16, 2010 8:02 pm

Re: How to block torrents ....?

Wed Jul 21, 2010 5:23 pm

http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Filter
connection-limit (integer,netmaks; Default: ) Restrict connection limit per address or address block
connection limit works only with tcp!!!!!
 
gregsowell
Member Candidate
Member Candidate
Posts: 128
Joined: Tue Aug 28, 2007 1:24 am
Contact:

Re: How to block torrents ....?

Wed Jul 21, 2010 8:06 pm

http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/Filter
connection-limit (integer,netmaks; Default: ) Restrict connection limit per address or address block
connection limit works only with tcp!!!!!

Which is generally what file sharing uses.

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], mantouboji, satboxbg and 61 guests