Re: zph / squid syntaxis ?

Linux Advanced Routing and Traffic Control

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

 



ThE LinuX_KiD wrote:

Hi,

I've used old ZPH patch under squid 2.4 Stable4
and it works great !

Now I want to patch squid 2.4 stable 5, with new patch, on http://www.it-academy.bg/zph/

I've patched and installed squid 2.5 stable 5
succefully, but I can't get ZPH works.

I'm trying with

...
$TC class add dev $LANDEV parent 1: classid 1:7 htb rate 1Mbit

$TC filter add dev $LANDEV parent 1:0 protocol ip prio 1 u32 \
  match ip protocol 0x6 0xff \
  match ip tos 0x10 0xff \
  flowid 1:7

And SQUID.CONF:

zph_tos 0x10
zph_tos_peer off

(i've tried with various combinations, but I can't
get ZPH works as older version under squid 2.5 stable 4)

Have you some idea ?

Thank you very much

andres
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/




Bug:). Sorry,  I haven't spotted parse_int() parses only decimal numbers.
Workaround for now:
instead
zph_tos 0x10
write
zph_tos 16
_______________________________________________
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