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/
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/
Thank you, Evgeni It has worked !! This squid / ToS patch is excelent. Regards, Andres. -> -> 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 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/