Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] zph / squid syntaxis ?
@ 2004-04-14  1:06 ThE LinuX_KiD
  2004-04-14 11:38 ` Evgeni Gechev
  0 siblings, 1 reply; 2+ messages in thread
From: ThE LinuX_KiD @ 2004-04-14  1:06 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] zph / squid syntaxis ?
  2004-04-14  1:06 [LARTC] zph / squid syntaxis ? ThE LinuX_KiD
@ 2004-04-14 11:38 ` Evgeni Gechev
  0 siblings, 0 replies; 2+ messages in thread
From: Evgeni Gechev @ 2004-04-14 11:38 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-14 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-14  1:06 [LARTC] zph / squid syntaxis ? ThE LinuX_KiD
2004-04-14 11:38 ` Evgeni Gechev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox