Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-24-2012, 07:11 AM
|
#1
|
Member
Registered: Apr 2012
Posts: 65
Rep:
|
How to block the torrent downloads on Squid
i want to block the torrent downloads totally in my squid server,
Pls help to sort this
|
|
|
04-24-2012, 07:17 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,702
|
|
|
|
04-24-2012, 07:29 AM
|
#3
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep:
|
i tried it, but still being downloading and also i have Forigate 110C hardware Firewall,, and i don know how to block on that....
|
|
|
04-24-2012, 10:16 AM
|
#4
|
Member
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286
Rep:
|
even if you block downloads with a .torrent extension you can still use torrent applications, you're going to want to look into blocking common ports associated with various torrent applications like vuze or transmission
but even then you can set those apps to use any port number...correct me if im wrong on this
|
|
|
04-24-2012, 10:18 AM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,147
|
Quote:
Originally Posted by mail2ganesh.cse
i want to block the torrent downloads totally in my squid server,
Pls help to sort this
|
Spell out your words. And the short answer is, you DON'T block torrents via Squid. Squid is an HTTP proxy server...torrent's do NOT run on that port, so they can't be BLOCKED by that. Putting "linux block bittorrent downloads" into Google pulls up lots, as does searching this very site, since this has been asked (and answered) many times:
http://serverfault.com/questions/270...-p2p-protocols
You need an L7 filter. Squid can block the .torrent file types, but that's pointless. All anyone has to do is copy the URL into any bittorrent downloader, and download away.
Quote:
Originally Posted by mail2ganesh.cse
i tried it, but still being downloading and also i have Forigate 110C hardware Firewall,, and i don know how to block on that....
|
If you have that firewall, then why don't you learn how to use it??? You've got it, along with the manuals and access to their tech support. Trying to implement another solution, because you don't want to learn the one you have seems a bit wasteful.
|
|
1 members found this post helpful.
|
04-24-2012, 03:41 PM
|
#6
|
Moderator
Registered: Mar 2008
Posts: 22,115
|
Might need a layer 7+ firewall.
Opps, didn't notice that was posted already.
Last edited by jefro; 04-25-2012 at 03:15 PM.
|
|
|
04-27-2012, 02:05 AM
|
#7
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep:
|
thanks all.. i tried using the acl coding to block the torrent downloads in squid......
its working over my coporate.. thanks to Linux technology...
|
|
|
04-27-2012, 03:56 AM
|
#8
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep:
|
Dear all,,
We don't need the 7+ filter to block the torrent downloads on squid.....
we can do it in acl itsef... i did it and its working now on my corporate office, hence No one is not able to download the torrents.... even i blocked the ultra surf in acl itself... so tottally they are under our Linux Technology..
|
|
|
04-27-2012, 02:49 PM
|
#9
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,147
|
Quote:
Originally Posted by mail2ganesh.cse
Dear all,,
We don't need the 7+ filter to block the torrent downloads on squid.....
we can do it in acl itsef... i did it and its working now on my corporate office, hence No one is not able to download the torrents.... even i blocked the ultra surf in acl itself... so tottally they are under our Linux Technology..
|
No, you can't. What you blocked was the torrent FILE TYPES and/or a few torrent sites. Get a URL to a torrent, and paste it into your torrent downloader, and watch it work.
|
|
1 members found this post helpful.
|
04-29-2012, 09:06 AM
|
#10
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep:
|
hi,
i have checked it its totally torrent downloads blocked on my network and hence i have copied the torrent file link from my data card and download started in my Lan proxy. its not downloading.... i was suprised... its working successfuly..
|
|
|
04-30-2012, 01:21 PM
|
#11
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,147
|
Quote:
Originally Posted by mail2ganesh.cse
hi,
i have checked it its totally torrent downloads blocked on my network and hence i have copied the torrent file link from my data card and download started in my Lan proxy. its not downloading.... i was suprised... its working successfuly..
|
No idea what you're saying by "copied the torrent file link from my data card and download started in my lan proxy". HOW did you copy the link? To what "data card"? What program are you using to download? Again, if you're doing it THROUGH A WEB BROWSER, you're blocking the file type. If you put the URL of the torrent into a bittorrent client, be using a different port, unless the ONLY ports you're allowing out are 80 and 443. If that's the case, then yes, it will block torrents...and also anything ELSE that doesn't use those ports.
|
|
|
05-01-2012, 02:44 AM
|
#12
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep:
|
we can, blocke the torrent client applications and i have speciefied both torrent client download and torrent file download on my acl,... it tottally prevent from the torrent downloading.. and i have checked even by giving the torrent link to the client to download.. its getting error...
|
|
1 members found this post helpful.
|
05-01-2012, 10:05 AM
|
#13
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,147
|
Quote:
Originally Posted by mail2ganesh.cse
we can, blocke the torrent client applications and i have speciefied both torrent client download and torrent file download on my acl,... it tottally prevent from the torrent downloading.. and i have checked even by giving the torrent link to the client to download.. its getting error...
|
Oh? Then you'd be the first to come up with a way to block torrents via ACL on Squid. Could you post the relevant parts of your ACL?
|
|
1 members found this post helpful.
|
05-01-2012, 10:08 AM
|
#14
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep:
|
wil post the squid config, by tmorrw,, today i m in half... not at office...
|
|
1 members found this post helpful.
|
08-08-2012, 10:37 PM
|
#15
|
LQ Newbie
Registered: Aug 2012
Posts: 15
Rep:
|
Can anyone tell me how to limit downloading in squid ?
|
|
|
All times are GMT -5. The time now is 08:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|