From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars Oeschey Date: Thu, 13 May 2004 18:59:14 +0000 Subject: Re: [LARTC] Bandwith thinking error Message-Id: <40A3C582.5000407@web.de> List-Id: References: <9999.143.164.102.13.1084370910.squirrel@vdr.oescheyhome.de> In-Reply-To: <9999.143.164.102.13.1084370910.squirrel@vdr.oescheyhome.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Andreas Klauer wrote: >The modified wondershaper is here: > http://www.metamorpher.de/files/wshaper-over-lan.htb > > I tested the script now, it works good so far in that LAN traffic isn't slowed down anymore . But when p2p has full Bandwidth, http over the proxy is very slow. I would like that p2p just gets the bandwidth thats left over after http, is that possible? What I tried with the original script was this, could that work? tc filter add dev $DEV parent 1: protocol ip prio 10 u32 \ match ip dport 3128 0xffff flowid 1:10 tc filter add dev $DEV parent 1: protocol ip prio 10 u32 \ match ip sport 3128 0xffff flowid 1:10 tc filter add dev $DEV parent 1: protocol ip prio 10 u32 \ match ip dport 80 0xffff flowid 1:10 tc filter add dev $DEV parent 1: protocol ip prio 10 u32 \ match ip sport 80 0xffff flowid 1:10 Lars _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/