LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-14-2010, 03:34 AM   #1
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Rep: Reputation: 30
how do i block download managers?


hey i need to block 'all/most' download managers from downloading files from my server i know this can be done with .htaccess via blocking the HTTP_USER_AGENT for that dlm with something like this:

Code:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^AGENT-FOR-DLM-GOES-HERE [OR]
RewriteCond %{HTTP_USER_AGENT} ^AGENT-FOR-DLM-GOES-HERE [OR]
RewriteCond %{HTTP_USER_AGENT} ^AGENT-FOR-DLM-GOES-HERE
but is there ether a better way to do this or a list of all/most dlm's HTTP_USER_AGENT's?

Last edited by steve51184; 03-14-2010 at 03:38 AM.
 
Old 03-14-2010, 08:19 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Not that I can immediately think of, other than maybe limit concurrent connections from single IPs (in the event of a download manager that runs multiple threads).

Of course, some download managers will allow the user to change their UA string, so this method might not be terribly effective in the first place.
 
1 members found this post helpful.
Old 03-15-2010, 01:14 AM   #3
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
true but most people won't know how to do that so blocking USER_AGENT's should work... also i'm on apache2 so there's no way to limit connections/threads
 
0 members found this post helpful.
Old 03-15-2010, 03:09 AM   #4
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
I can't believe there is no way to limit concurrent connections in such a massive-development app like apache httpd, I've recently seen sites running nginx and lighttpd having a limit for concurrent connections per IP. You probably just need to google for it? There is a box of promising results over LQ and google.

Last edited by Web31337; 03-15-2010 at 03:10 AM.
 
Old 03-15-2010, 03:13 AM   #5
steve51184
Member
 
Registered: Dec 2006
Posts: 381

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Web31337 View Post
I can't believe there is no way to limit concurrent connections in such a massive-development app like apache httpd, I've recently seen sites running nginx and lighttpd having a limit for concurrent connections per IP. You probably just need to google for it? There is a box of promising results over LQ and google.
believe me i've looked and all th options are for apache1 and not apache2 :\
 
Old 03-15-2010, 12:10 PM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
perhaps an option would be to host the files via anonymous FTP (eg proftpd or wuftpd), it might be easier to limit concurrent connections with an ftp server then a web server, probably not the answer yer lookin for but just a suggestion
 
  


Reply



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
DOWNLOAD MANAGERS in linux khaleel5000 Linux - Software 1 04-13-2006 07:34 AM
Download managers for Solaris dimas Solaris / OpenSolaris 2 06-27-2005 12:50 PM
good download managers for linux????? isaac_linux Linux - Software 3 04-07-2004 11:20 AM
Download managers ??? qwijibow Linux - Software 8 05-25-2003 07:49 PM
nautilus vd download managers... alaios Linux - General 3 01-26-2003 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:42 AM.

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