[tproxy] Is there a usable TPROXY4+squid+linuxKernel patches?

Anton anton.vazir at gmail.com
Wed May 14 12:28:31 CEST 2008


Hello Laszlo! 
Thanks for detailed reply! :)

On Wednesday 14 May 2008 11:54, Laszlo Attila Toth wrote:
> Hello,
>
> Anton VG wrote:
> > Hello!
> >
> Strange because the patches are on the top of v2.6.24 and
> v2.6.25 tags of Linus' git tree. If you use any other
> version of the kernel, could you tell, where is it
> available? Now I can check the patches with kernel
> releases of Gentoo or Ubuntu...

I just tried to apply to vanilla 2.6.24 and 25 - since 
setting unknown or unstable branch on the server is 
a "little" dangerous :)

>
> > Also even the patch
> >
> > tproxy4-squid-3.0.STABLE4.patch - looks suspicious
> > since does not apply cleanly to any of the SQUID
> > versions 3.0Stable 4 or STABLE5 (below is the patch
> > output)
>
> I've deleted this patch because it is now in the official
> Squid-3 source, (its version is 3.1). It can be checked
> out as in:
>
>   http://wiki.squid-cache.org/Squid3VCS

Will try it! - Do you think that squid 3.1 is stable enough? 
I have to use it in production environment...

>
> When you have the source code, in the squid source
> directory:
>
>   ./bootstrap.sh
>   ./configure --enable-linux-netfilter &&
>   make &&
>   make install
>
> > and notes internally to the STABLE6 - which is not yet
> > released (according to the SQUID downloads page)
> >
> > Just please could you point out to the working versions
> > of the tproxy4.1 patches for any of the 2.4.20+ kernels
> > and squid 3.0STABLE_ANY ?
>
> I'm sorry but TProxy 4.1 won't be released for the 2.4
> tree. Both squid-3 and squid-2.6 works with the cttproxy2
> patches, also you get the same functionality.

the first squid3 STABLE1 (if I'm not wrong) did not have 
tproxy support... will try!

>
> > Trying patching the kernel - looks I would need
> > corresponding -git development branch - but I'm not so
> > familiar
> > with -git yet.
>
> The following two commands are enough:
>
>   git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/li
>nux-2.6.git cd linux-2.6
>   git checkout -b my-2.6.24 v2.6.24
> or
>   git checkout -b my-2.6.25 v2.6.25
>
> Then you can apply the patches from the latest
> tproxy-kernel-*bz2 files.
>

Thanks for instructions, thats clearer now :) 
Just strange for me - with SVN I could get a tree in a 
minutes, git already giving indexing for a few hours... 
looks it's not satellite-link (latency) - frendly... :)
But As i userstang - it would bring ALL of the versions and 
changes available on the check time?

Sincerely,
Anton.


More information about the tproxy mailing list