[squid-users] Fwd: Tproxy squid 3.1 centos 5.3

From: 7441122 <7441122_at_gmail.com>
Date: Wed, 27 May 2009 14:27:04 +0300

Dear All,

I have centos 5.3, installed custom kernel 2.6.28, and iptables 1.4.3, squid 3.1

I followed all steps in WIKI, i am not able to find the problem, if
its the kernel i compiled or somewhere else.

In compiling the custom kernel, i copied the old config and added the below :-

NF_CONNTRACK
NETFILTER_TPROXY
NETFILTER_XT_MATCH_SOCKET
NETFILTER_XT_TARGET_TPROXY

When i do iptables stat :-

[root_at_gateway ~]# iptables -t mangle -L -v -n

Chain PREROUTING (policy ACCEPT 5768K packets, 1538M bytes)
 pkts bytes target     prot opt in     out     source
destination
Chain INPUT (policy ACCEPT 1494K packets, 892M bytes)
 pkts bytes target     prot opt in     out     source
destination
Chain FORWARD (policy ACCEPT 4234K packets, 638M bytes)
 pkts bytes target     prot opt in     out     source
destination
Chain OUTPUT (policy ACCEPT 2398K packets, 1027M bytes)
 pkts bytes target     prot opt in     out     source
destination
Chain POSTROUTING (policy ACCEPT 6632K packets, 1665M bytes)
 pkts bytes target     prot opt in     out     source
destination
Chain DIVERT (0 references)
 pkts bytes target     prot opt in     out     source
destination
    0     0 MARK       all  --  *      *       0.0.0.0/0
0.0.0.0/0           MARK xor 0x1
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0
0.0.0.0/0

The packets do not get to squid, on port 1328, even if i kill squid pc
can still browse.

Any help would really be appriciated ! as i have searched everywhere !
Received on Wed May 27 2009 - 11:27:18 MDT

This archive was generated by hypermail 2.2.0 : Wed May 27 2009 - 12:00:02 MDT