hi list, i want to know if its possible to limit download speeds per IP/user as well as upload speeds (the bottom of http://shorewall.net/traffic_shaping.htm) using shorewall? i have two users on my broadband account and want to split the download bandwidth into two rather than using something like wondershaper based on ports. anyone able to help me?
----- Original Message ----- From: <s0ma@optusnet.com.au>>i want to know if its possible to limit download speeds per IP/user as wellas>upload speeds (the bottom of http://shorewall.net/traffic_shaping.htm)using>shorewall? i have two users on my broadband account and want to split the >download bandwidth into two rather than using something like wondershaper >based on ports.This is the best place to start in my opinion. http://lartc.org/lartc.html Joshua Banks
s0ma@optusnet.com.au wrote:> i want to know if its possible to limit download speeds per IP/user as well as > upload speeds (the bottom of http://shorewall.net/traffic_shaping.htm) using > shorewall? i have two users on my broadband account and want to split the > download bandwidth into two rather than using something like wondershaper > based on ports. > > anyone able to help me?Traffic control questions are a bit OT here -- Shorewall doesn''t do traffic shaping itself but rather has a couple of hooks so that the ''fwmark'' packet classifier can be made to work with it. You must first understand your traffic-shaping/bandwidth management solution; if that solution involves fwmark then you can configure the packet marking using the /etc/shorewall/tcrules file. That file can mark packets both inbound and outbound and can mark then based on (proto,port), IP or simply by interface. Shorewall can also run your traffic-shaping script during "shorewall [re]start". The above is the sum total of what Shorewall has to do with traffic shaping. Other resources such as the LARTC Howto have better information on that specific topic. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net
Tom Eastep wrote on 09/06/2004 10:38:01:> s0ma@optusnet.com.au wrote: > > i want to know if its possible to limit download speeds per IP/user > as well as > > upload speeds (the bottom of http://shorewall.net/traffic_shaping.htm)using> > shorewall?[...]> Traffic control questions are a bit OT here [...]if you just want to limit bandwidth when surfing, you could use squid and delay pools... ________________________ Eduardo Ferreira Icatu Holding S.A. Supervisor de TI (5521) 3804-8606
On Tue, 2004-06-08 at 22:17, Joshua Banks wrote:> ----- Original Message ----- > From: <s0ma@optusnet.com.au> > >i want to know if its possible to limit download speeds per IP/user as well > as > >upload speeds (the bottom of http://shorewall.net/traffic_shaping.htm) > using > >shorewall? i have two users on my broadband account and want to split the > >download bandwidth into two rather than using something like wondershaper > >based on ports. > > This is the best place to start in my opinion. > http://lartc.org/lartc.htmlfor integrating with tcrules and you only want to "limit" it, take a look at this http://my-opensource.org/howto/qostrafficshaping-shorewall-wondershaper-howto.html