<div>Sorry, but, i don't understand very well.</div>
<div> </div>
<div>The version of squid don't is patched to be use with tproxy-4, because the wrong at hour when compiled the kernel version <a href="http://2.6.22.9">2.6.22.9</a>.</div>
<div>
<p>===========ERROR Start=============<br>net/netfilter/xt_tproxy.c:48: warning: initialization from incompatible pointer type<br>net/netfilter/xt_tproxy.c:56: warning: initialization from incompatible pointer type<br>===========ERROR END===============
</p><br>Att..</div>
<div> </div>
<div>Welisson </div>
<div> </div>
<div><span class="gmail_quote">2008/1/11, Ming-Ching Tiew <<a href="mailto:mingching.tiew@redtone.com">mingching.tiew@redtone.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Welisson wrote:<br>> Hi all,<br>><br>> Somebody it would know to say because of this error in the compilation
<br>> of kernel <a href="http://2.6.22.9">2.6.22.9</a> <<a href="http://2.6.22.9/">http://2.6.22.9/</a>>, in system x86_64<br>><br>> net/netfilter/xt_tproxy.c:48: warning: initialization from<br>> incompatible pointer type
<br>> net/netfilter/xt_tproxy.c:56: warning: initialization from<br>> incompatible pointer type<br>><br>> I applied patch tproxy-4.0.3-2.6.22, in this kernel, iptables<br>> iptables-1-3.8.diff, and compiled
squid-2.6STABLE17, and in going up<br>> of squid it returns.<br>><br>> "Missing needed capability support. Will continue without tproxy support"<br>><br>> Parameter of compiled squid<br>><br>> Squid Cache: Version
2.6.STABLE17-20080108<br>> configure options: '--sysconfdir=/etc/squid' '--enable-storeio=aufs,coss<br>> ,diskd,ufs' '--enable-poll' '--enable-delay-pools'<br>> '--enable-linux-tproxy' '--enable-htcp' '--enable-carp'
<br>> '--with-pthreads' '--enable-underscores'<br>> '--enable-external--enable-arp-acl' '--enable-follow-x-forwarded-for'<br>><br><br>If you haven't apply the squid patch, you will obviously won't be able
<br>to use tproxy4 with squid.<br><br>Note that the previous squid patch submitted here in this forum has got<br>some problems :-<br><br>1. If does not patch the 'autoconfigure' at all, so if you apply the<br>squid patch on a
2.6.22 system, Squid (being wired to look for tproxy2<br>headers ) will still unable to enable linux-tproxy even if you specify<br>the correct configure options, so ~lib/autoconf.h will still not define<br>TPROXY as 1.<br>
<br>2. Even if you manually enable the linux-tproxy option by changing<br>~include/autoconf.h to define TPROXY 1, squid will still not compile<br>because of lack of tproxy2 headers, the source code ~src/forward.c<br>should be modified to remove dependency on tproxy2 headers ( ie remove
<br>include <linux/netfiler_ipv4/ip_tproxy.h> ).<br><br>So even if you apply the squid patch, you will still have problems, does<br>not matter if it is 32 bit or 64 bit.<br><br>Ming-Ching<br><br><br><br>_______________________________________________
<br>tproxy mailing list<br><a href="mailto:tproxy@lists.balabit.hu">tproxy@lists.balabit.hu</a><br><a href="https://lists.balabit.hu/mailman/listinfo/tproxy">https://lists.balabit.hu/mailman/listinfo/tproxy</a><br></blockquote>
</div><br>