Munawar Zeeshan (zmunawar) wrote:
I am configuring squid with tproxy.
I have patched the kernal and IPtables. But at squid configuration I am =
getting these errors.
/configure --enable-linux-tproxy --enable-linux-netfilter =
--enable-storeio=3D"diskd,aufs,ufs"=20
--enable-removal-policies=3D"lru,heap" --enable-delay-pools =
--enable-snmp --enable-arp-acl=20
--enable-cache-digests --enable-linux-netfilter --disable-ident-lookups =
--enable-underscores=20
--enable-auth=3D"basic" --enable-basic-auth-helpers=3D"NCSA" =
--with-maxfd=3D8192
checking if Linux 2.4 or newer kernel header files are installed... no
WARNING: Cannot find necessary Linux kernel header files
Linux Netfilter Transparent Proxy support WILL NOT be enabled
checking if TPROXY header files are installed... no
make all
/usr/include/linux/netfilter.h:41: error: expected =
specifier-qualifier-list=20
before =E2__be32=E2
make[3]: *** [client_side.o] Error 1
make[3]: Leaving directory `/root/Desktop/squid-2.6.STABLE9/src'
This looks very much like a known bug that has just been fixed in the
latest squid sources.
Depends which version of TPROXY you are trying to build for. The old
v2.2 is supported by all curent squid. For that take your pick:
3.0 STABLE 8 (rolling right now)
http://www.squid-cache.org/Versions/v3/3.0/
or 2.7 daily bugfix snapshots:
http://www.squid-cache.org/Versions/v2/2.7/
For the currently supported TPROXY v4, you will need the Squid3-HEAD
sources (_without_ the tproxy configure option):
http://www.squid-cache.org/Versions/v3/HEAD/
Amos
--
Please use Squid 2.7.STABLE3 or 3.0.STABLE8