LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-13-2009, 02:24 AM   #1
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 111
Blog Entries: 1

Rep: Reputation: 17
Question Torrent downloads blocking


Hi All,

We have a squid proxy running in our company. eth1 is connected to the
Internet and eth0 is connected to the local network. Now we are facing a problem. User are downloading Movies using p2p softwares like bittorrent, limewire,mutorrent....Anybody having idea how to block this. Thx n advance.
 
Old 10-13-2009, 02:58 AM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
two points i would like to make is
bit torrents can be ligit
and they may use filesharing if you block bittorrent
but in order to block it you need to block all ports execpt 80 and 45
 
Old 10-13-2009, 10:03 AM   #3
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 111

Original Poster
Blog Entries: 1

Rep: Reputation: 17
Quote:
Originally Posted by smeezekitty View Post
two points i would like to make is
bit to.........45
Thx for the repley..In the same machine squid is running and using port 8080, if i block that proxy will get blocked..
 
Old 10-13-2009, 10:32 AM   #4
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 782
Blog Entries: 8

Rep: Reputation: 158Reputation: 158
I believe corporate AUP should explain what is legit or not. If the issue is black/white (meaning the usage policy explains explicitly what is allowed and what is not), then the issue is less murky.

That aside, in some cases (and IMO), you're not going to be able to use Squid alone to block such traffic. That which you can't block but which you can at least observe can be reported. If you block (via a FW) all but the very essential ports, torrent traffic can still go across port 80 and such...this is the prime area of web proxies such as Squid, since in order to allow general web traffic, the associated ports have to be open.
 
Old 10-13-2009, 10:54 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Take a look at
http://www.ipp2p.org/
 
Old 10-13-2009, 10:57 AM   #6
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 111

Original Poster
Blog Entries: 1

Rep: Reputation: 17
Quote:
Originally Posted by repo View Post
Take a look at
http://www.ipp2p.org/
thx i will look into this...
 
Old 10-15-2009, 10:23 PM   #7
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 111

Original Poster
Blog Entries: 1

Rep: Reputation: 17
Quote:
Originally Posted by repo View Post
Take a look at
http://www.ipp2p.org/
I Downloaded ipp2p package, when I try to 'make' its giving errors. In the manual
they are saying that i need to set the path for IUSER variable. But when i try to edit the file I am not able to find the variable. I am using fedora 6. I need help.
 
Old 10-15-2009, 11:06 PM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 10 (Buster)
Posts: 3,373

Rep: Reputation: 138Reputation: 138
Have you tried blocking the well-known torrent hosts (or whatever they're called) as well as sending out a notice to your employees stating that this is not acceptable and what the consequences will be if it continues? Generally after the first person gets called on the carpet everyone else will find other things to do with their time; such as their work.
 
Old 10-15-2009, 11:25 PM   #9
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 111

Original Poster
Blog Entries: 1

Rep: Reputation: 17
Quote:
Originally Posted by Quakeboy02 View Post
Have you tried blocking the well-known torrent hosts (or whatever they're called) as well as sending out a notice to your employees stating... to do with their time; such as their work.
I stated the company policy and drafted the same...but i wand to block the torrents..
 
Old 10-16-2009, 12:01 AM   #10
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 10 (Buster)
Posts: 3,373

Rep: Reputation: 138Reputation: 138
Have you tried blocking access to the major torrent search sites such as piratebay, bittorrent, mininova, whatever? Here's a list of the 35 most popular sites. http://netforbeginners.about.com/od/...ent_search.htm
 
Old 10-16-2009, 01:56 AM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by Febi881 View Post
I Downloaded ipp2p package, when I try to 'make' its giving errors. In the manual
they are saying that i need to set the path for IUSER variable. But when i try to edit the file I am not able to find the variable. I am using fedora 6. I need help.
Did you get some errormessages after ./configure?
 
Old 10-21-2009, 05:24 AM   #12
mkp
Member
 
Registered: Jul 2008
Posts: 57

Rep: Reputation: 15
With squid you can block url(like thepiratebay), but is it possible to block trackers? Just start 1 torrent from thepiratebay.org and see how many trackers they are.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling torrent downloads with cron Grizz54 Linux - Networking 3 09-21-2008 06:33 AM
LXer: Headless torrent downloads with rTorrent and Screen LXer Syndicated Linux News 0 06-12-2008 07:00 PM
Slackware 12.1 torrent downloads cd/dvd onebuck Slackware 65 05-06-2008 11:10 AM
Torrent downloads terrible slow in Ubuntu 7.10 Anubis Ubuntu 6 11-04-2007 11:20 AM
extracting compressed torrent downloads that are password protected aw76 Linux - General 2 11-26-2005 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration