LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-15-2002, 06:37 PM   #1
Bomber
LQ Newbie
 
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Download Limits by IP


Hey

I was just wondering how I would about setting a download limit for the machines on my network.

Eg: Each month they can download 100meg and once they have used that 100meg it says to them something like "Download Limit Reached, see the system admin"

I'd probably like to set it so different ip's had different limits.

I am pretty sure this would be possible, but I've no idea where to begin.

Thanks guys.

BAH: Topic should really read "Download limiting by IP"

Last edited by Bomber; 01-15-2002 at 06:55 PM.
 
Old 01-15-2002, 07:26 PM   #2
jrocha
LQ Newbie
 
Registered: May 2001
Posts: 18

Rep: Reputation: 0
squid

I don't know if you're using squid, i know that squid has a limit for each packet you download, so, if you set the bigest package to 2 or 3 megs you will reduce the downloads, usually music and all those entertaining stuff.

but maybe it has another option to block the trafic by quote.

cheers!!
 
Old 01-15-2002, 08:26 PM   #3
Bomber
LQ Newbie
 
Registered: Jan 2002
Location: Melbourne, Australia
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Yeh Im using squid,

However on looking at it, it can only really throttle bandwidth and not set download limits so no more downloading can be done from that client machine......it is definately something to consider though, thanks for the suggestion.

Any other options for download limits?

Thanks.
 
Old 01-16-2002, 02:42 AM   #4
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
hi

hi ,

did u read the bandwidth limiting howto at :

www.linuxdoc.org/HOWTO/Bandwidth-Limiting-HOWTO/


Iam suggesting a few good links for you :
http://bubba.org/?option=software/cbq
www.bubba.org/cbq.html

In issue 62 of www.linuxjournal.com there is a nice tute about traffic shaping. check it out. The URL is
http://www.linuxjournal.com/article.php?sid=3369

There is some real time explanation at http://www.linuxguruz.org/iptables/h...outing-15.html

See this whit papare :
http://www.lucent.com/livelink/139611_Whitepaper.pdf


Try reading the man pages for iproute2 .

or u can try searching www.google.com for the terms such as CBQ or "bandwidth limiting" , "traffic shaping"

i hope this is what ur looking for.

regards,
Xanthium.
 
  


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
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
no /etc/limits ? Mig21 Slackware 7 07-25-2005 11:18 PM
/etc/limits doesn't exist hampel Slackware 2 07-15-2003 11:26 AM
trafic limits gekkie_007 Linux - Networking 1 02-23-2003 05:06 AM
CD/RW capacity limits slackerboy Linux - General 14 01-20-2003 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:44 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