[SOLVED] How to block the torrent downloads on Squid
Linux - NetworkingThis 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.
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.
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
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.
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..
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.
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..
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.
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...
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.