|
Home > Archive > Squid > April 2004 > [squid-users] Cttproxy patch squid-2.5.STABLE5
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[squid-users] Cttproxy patch squid-2.5.STABLE5
|
|
| Andrew Ivins 2004-04-29, 6:54 pm |
|
Hi there,
I was wondering if anybody knows the current state of the
squid-2.5-cttproxy-04JES.diff patch for squid. While I was able to patch
and build a 2.4.25 kernel with the tproxy netfilter patch
(cttproxy-2.4.25-1.2.0) from
http://www.balabit.com/downloads/tproxy/linux-2.4/, I am having
difficulty compiling a patched squid.
After applying the JES patch cleanly, running bootstrap.sh and
"configure --enable-linux-netfilter --enable-linux-tproxy", "make all"
fails on forward.c as included below.
Has anybody had success applying this patch?
Regards,
Andrew
gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=3D\"/usr/local/squid/etc/squid.conf\" -I. -I.
-I../include -I. -I. -I../include -I../include -g -O2 -Wall -c `test
-f forward.c || echo './'`forward.c
forward.c: In function `fwdConnectStart':
forward.c:464: structure has no member named `v'
forward.c:465: structure has no member named `v'
forward.c:470: structure has no member named `op'
forward.c:470: `TPROXY_ASSIGN' undeclared (first use in this function)
forward.c:470: (Each undeclared identifier is reported only once
forward.c:470: for each function it appears in.)
forward.c:471: `IP_TPROXY' undeclared (first use in this function)
forward.c:474: structure has no member named `v'
forward.c:475: structure has no member named `v'
forward.c:476: structure has no member named `v'
forward.c:479: structure has no member named `op'
forward.c:479: `TPROXY_FLAGS' undeclared (first use in this function)
forward.c:480: structure has no member named `v'
forward.c:484: structure has no member named `v'
forward.c:485: structure has no member named `v'
make[3]: *** [forward.o] Error 1
make[3]: Leaving directory `/usr/src/squid-2.5.STABLE5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/squid-2.5.STABLE5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/squid-2.5.STABLE5/src'
make: *** [all-recursive] Error 1
| |
| James MacLean 2004-04-29, 6:54 pm |
| On Sun, 25 Apr 2004, Andrew Ivins wrote:
>
> Hi there,
>
> I was wondering if anybody knows the current state of the
> squid-2.5-cttproxy-04JES.diff patch for squid. While I was able to patch
> and build a 2.4.25 kernel with the tproxy netfilter patch
> (cttproxy-2.4.25-1.2.0) from
> http://www.balabit.com/downloads/tproxy/linux-2.4/, I am having
> difficulty compiling a patched squid.
It appears your are not getting the correct information from the include :
#include <linux/netfilter_ipv4/ip_tproxy.h>
I expect the necessary information is not available in the cttproxy patch
you are applying. May I suggest using the patch suggested in the diff :
http://www.balabit.com/downloads/tp...25-1.9.3.tar.gz
to see if that provides the proper structures/enums you need?
I only started with cttproxy at these patches and can not comment if the
earlier ones would work ;(.
> Has anybody had success applying this patch?
Well, me, but I don't count as I submitted the patch .
> Regards,
> Andrew
JES
--
James B. MacLean macleajb@ednet.ns.ca
Department of Education
Nova Scotia, Canada
| |
| Henrik Nordstrom 2004-04-29, 6:54 pm |
| On Sun, 25 Apr 2004, Andrew Ivins wrote:
> I was wondering if anybody knows the current state of the
> squid-2.5-cttproxy-04JES.diff patch for squid. While I was able to patch
> and build a 2.4.25 kernel with the tproxy netfilter patch
> (cttproxy-2.4.25-1.2.0) from
> http://www.balabit.com/downloads/tproxy/linux-2.4/, I am having
> difficulty compiling a patched squid.
There was a updated TPROXY patch for Squid not long ago. Unfortunately I
don't remember where as I am not using TPROXY.
Regards
Henrik
|
|
|
|
|