Hello, i've been using the zph patch for a while and works fine. I was wondering if you would care to patch the portage version of squid. Is small, and verry efficient for a squid running on a transparent proxy with tc classes.
I will add in the next release of squid, controlled by a zph local flag. However, there are 2 variants of this patch, the original one (simple patch indeed) and that made by Evgeni Gechev (a more elaborate patch). Which one do you use?
I'm using the one with TOS marking(Evgeni Gechev), the more complex one. The good thing about this patch is that TOS mark can be specified at runtime, and matched with iptables TOS match. The other patch is indeed more simple, but is harder to implement. One thing is that IP_OPTIONS cannot be specified at commandline, only at compile time. The other thing is that netfilter support for ipv4options is experimental, and still cannot match packets with flag Stream ID, as in the patch. The iproute2 filter might work, but i never tried it. I do the shaping with tc clases + iptables/mangle/CLASSIFY traget.
I've included in 2.5.9-r4, along with current official patches. it is applied only if zero-penalty-hit flag is set. it wasn't a smooth process (I had to rebuild the patch for 2.5.STABLE9 because upstream seems to be uninterested in current versions of squid). makes me wonder if it was wise to fix this bug. If I didn't know how useful is this patch for Romanian users, I wouldn't do it.
I am Romanian too, and you bet is very useful :D Thanks a lot !