Re: Bandwith thinking error

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux