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

Anton VG anton.vazir at gmail.com
Tue May 13 20:32:59 CEST 2008


Hello!

Just confused with some staff and can't find answers myself, decided
to finally ask here ;)
I'm an old user of -tproxy for over than 3 years now, and used the
first -tproxy with SQUID 2.4STABLE5 for a long while before upgrading
to squid 2.6stable18 recently - but after a few months of use - I
found that -tproxy patched kenel+SQUID2.6STABLE_X influences weirdly
(inserts delay up to several seconds!) on the any transit traffic
(kernel ip stack???) when it get's hit by certain type of traffic on
the proxy-redirect port (I pcap-ed the weird traffic - but did not
udertood yet why it has such impact) - and had to disable PROXY
entirely on the transit cache and wait for next usable version to try.
But still cannot find what version I could try on the production
cache...

For a 2 last monthes periodically looking at the
http://www.balabit.com/downloads/files/tproxy/
frequently saw a newer versions pf patches, but I was never able to
cleanly apply any of the patches to any of the
corresponding Linux Kernel v 2.6.24 or 2.6.25 and the SQUID-3.0STABLE-X

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)

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 ?

Trying patching the kernel - looks I would need corresponding -git
development branch - but I'm not so familiar
with -git yet.

I would be just gratefull if you could point me out to a working
versions of patches for TPROXY 4.1 for kernel and squid.

Below is my output for trying patching squid Stable4

Kind regards,
Anton.

--
What i get while trying patching the squid.

cacheng:/usr/src/TPROXY4/squid-3.0.STABLE4# patch -p0 <
tproxy4-squid-3.0.STABLE4.patch
patching file ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
patching file configure.in
Reversed (or previously applied) patch detected!  Assume -R? [n] y
can't find file to patch at input line 83
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|=== modified file 'doc/release-notes/release-3.0.sgml'
|--- doc/release-notes/release-3.0.sgml 2008-04-01 11:51:41 +0000
|+++ doc/release-notes/release-3.0.sgml 2008-04-24 07:39:18 +0000
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
patching file src/ACLChecklist.cc
patching file src/IPInterception.cc
patching file src/IPInterception.h
patching file src/cache_cf.cc
patching file src/cf.data.pre
patching file src/client_side.cc
Hunk #1 succeeded at 1792 (offset 2 lines).
Hunk #2 FAILED at 1963.
Hunk #3 succeeded at 2188 (offset -1 lines).
Hunk #4 succeeded at 2705 (offset -1 lines).
Hunk #5 succeeded at 3013 (offset -1 lines).
Hunk #6 succeeded at 3028 (offset -1 lines).
1 out of 6 hunks FAILED -- saving rejects to file src/client_side.cc.rej
patching file src/client_side_request.h
patching file src/comm.cc
patching file src/fde.h
patching file src/forward.cc
Hunk #5 succeeded at 833 (offset 2 lines).
Hunk #6 FAILED at 870.
Hunk #7 succeeded at 1214 (offset -28 lines).
1 out of 7 hunks FAILED -- saving rejects to file src/forward.cc.rej
patching file src/forward.h
Hunk #1 succeeded at 94 (offset -1 lines).
patching file src/globals.h
patching file src/http.cc
patching file src/structs.h
patching file src/tools.cc
cacheng:/usr/src/TPROXY4/squid-3.0.STABLE4#


More information about the tproxy mailing list