Skip to contentSkip to conversation

bandwidth shaping

LARTC bhalchandra sawant 4 participants 5 messages Oct 2, 2001 – Aug 23, 2003

lore
Share & tools
lore
#0 lore raw

<html><div style='background-color:'>
<DIV>
<P>how to control bandwidth usage on lan connectivity?</P>
<P>-bs sawant<BR><BR></P></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw

[LARTC] Bandwidth Shaping

I own a WIreless ISP and have recently began suppling bandwidth to college dorms. As I expected, 90% of the bandwidth they consume is downloading music with programs such as Kazaa. I would like to throttle this bandwidth, only as needed. As long as extra, unused bandwidth was present, the music folks should be able to use it, but when a web or email user needed more bandwidth, the music user should be throttled and the web user should access the Internet at full speed.

I don't want to eliminate the music users ability to download music, I just would like them to receive the "left over" bandwidth and not the "Lion's share."

Is there a way to accomplish this with Linux?

I have reviewed several applications and appliances that claim to do this very thing. I would however like to find a cost effective Linux solution as opposed to a $5000 packateer solution.

I beleive the only way to accomplish this is to look at the application layer of the communication. Limiting via port is not sufficent as Kazaa and many other programs can be configured to operate on port 80.

Any and ALL help would be MUCH appreciated.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw

Re: [LARTC] Bandwidth Shaping

In reply to bhalchandra sawant
Quoted 8 lines · On Friday 04 April 2003 02:46, [email protected] wrote:

I own a WIreless ISP and have recently began suppling bandwidth to college dorms. As I expected, 90% of the bandwidth they consume is downloading music with programs such as Kazaa. I would like to throttle this bandwidth, only as needed. As long as extra, unused bandwidth was present, the music folks should be able to use it, but when a web or email user needed more bandwidth, the music user should be throttled and the web user should access the Internet at full speed.

Quoted 5 lines

I don't want to eliminate the music users ability to download music, I just would like them to receive the "left over" bandwidth and not the "Lion's share."

Is there a way to accomplish this with Linux?

Yes.
The only problem is separating the bulk download traffic from the other. Kazaa and other software uses dynamic ports.

Quoted 3 lines

I have reviewed several applications and appliances that claim to do this very thing. I would however like to find a cost effective Linux solution as opposed to a $5000 packateer solution.

I can give you my bank account and create a black box for you for that money :)

Quoted 3 lines

I beleive the only way to accomplish this is to look at the application layer of the communication. Limiting via port is not sufficent as Kazaa and many other programs can be configured to operate on port 80.

What you also can do is put all non-bulk traffic in a class (http, https ftp, smtp, ssh, telnet, DNS, SYN, ACK, ... can be easy filtered) and all other traffic in the default bulk class.
The only thing you have to do is to check that you don't put non-bulk traffic in the default, bulk class. But that's easy. If people complain that some stuff is not working, you can filter it out and put it in the non-bulk class.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw

[LARTC] Bandwidth Shaping

In reply to bhalchandra sawant

I have just read trough the HOWTO but its soo large.
I wonder if anyone have some simple examples of making everyone on my lan to share the bandwidth equally.

So if I'm the only one using the connection I get all the bandwidth but if someone else starts using the connection he gets half and so on.

\\kg

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#4 lore raw

Re: [LARTC] Bandwidth Shaping

In reply to bhalchandra sawant
Quoted 6 lines · Gustaf

I have just read trough the HOWTO but its soo large.
I wonder if anyone have some simple examples of making everyone on my lan to share the bandwidth equally.

So if I'm the only one using the connection I get all the bandwidth but if someone else starts using the connection he gets half and so on.

Try http://docum.org

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/