Re: [squid-users] Please give a solution - Tproxy

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 05 May 2009 01:19:38 +1200

Monzur Md.. Alam wrote:
> Dear all,
>
> I have gone the the procedure as described at the following URL
> URL: http://wiki.squid-cache.org/Features/Tproxy4#head-f17bb712222beeb0aa083f02237aad6fdfaa1be2
>
> I have successfully complied kernel:2.6.28.1 and iptables:1.4.3 with tproxy:2.6.25-20080519-165031-1211208631.tar.bz2
>

What is "tproxy:2.6.25-20080519-165031-1211208631.tar.bz2" ??
It's not part of the Squid TPROXY v4 tools that I know of.

> Now when I run following ipables commands, all the commands
> running without any problem except....
>
> iptables 1.4.3 Configuration
> iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
>
> and error messege shown:
>
> [root_at_hpproxy ~]# iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
> iptables: No chain/target/match by that name. Run `dmesg' for more information.
> [root_at_hpproxy ~]#

Something is missing from your iptables. Possibly the kernel is not
built with all the new TPROXY options or has not loaded the right
modules. Follow its advice and run dmesg to find out more details.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
   Current Beta Squid 3.1.0.7
Received on Mon May 04 2009 - 13:19:46 MDT

This archive was generated by hypermail 2.2.0 : Tue May 05 2009 - 12:00:01 MDT