Re: [squid-users] Tproxy mode on Debian 7 Table does not exist

2014-02-27 Thread David Touzeau

Thanks Eliezer,


But using tmangle allows me to use tproxy in Squid http_port ?



-Message d'origine- 
From: Eliezer Croitoru

Sent: Wednesday, February 26, 2014 3:18 PM
To: squid-users@squid-cache.org
Subject: Re: [squid-users] Tproxy mode on Debian 7 Table does not exist

You should use -t mangle instead of tproxy

Good luck,
Eliezer

On 26/02/2014 13:57, David Touzeau wrote:


uname –a report #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j
TPROXY --on-port 80
iptables v1.4.14: can't initialize iptables table `tproxy': Table does
not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Did i missing something ???


Best regards




Re: [squid-users] Tproxy mode on Debian 7 Table does not exist

2014-02-27 Thread Amos Jeffries
On 27/02/2014 11:17 p.m., David Touzeau wrote:
 Thanks Eliezer,
 
 
 But using tmangle allows me to use tproxy in Squid http_port ?

-t mangle is the [ip/ip6/nf/x]tables table where TPROXY operations are
configured.

-t tproxy does not exist, as mentioned by iptables error message.

Squid http_port is a different piece entirely. There are other pieces as
well like the routing rules, libcap2 permissions and spoofing flags.
Together the separate pieces make the transparent proxy feature work.

Amos

 
 
 
 -Message d'origine- From: Eliezer Croitoru
 Sent: Wednesday, February 26, 2014 3:18 PM
 To: squid-users@squid-cache.org
 Subject: Re: [squid-users] Tproxy mode on Debian 7 Table does not exist
 
 You should use -t mangle instead of tproxy
 
 Good luck,
 Eliezer
 
 On 26/02/2014 13:57, David Touzeau wrote:

 uname –a report #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

 iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j
 TPROXY --on-port 80
 iptables v1.4.14: can't initialize iptables table `tproxy': Table does
 not exist (do you need to insmod?)
 Perhaps iptables or your kernel needs to be upgraded.

 Did i missing something ???


 Best regards
 



[squid-users] Tproxy mode on Debian 7 Table does not exist

2014-02-26 Thread David Touzeau

Hi all

I’m trying to implement the Tproxy mode on Debian 7 without successs.
Is there anybody have successfully implement it on Debian 7

I have setup this :
modprobe -a nf_tproxy_core xt_TPROXY xt_socket xt_mark ip_gre gre

lsmod |grep proxy
nf_tproxy_core 12404  1 xt_TPROXY

uname –a report #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j 
TPROXY --on-port 80
iptables v1.4.14: can't initialize iptables table `tproxy': Table does not 
exist (do you need to insmod?)

Perhaps iptables or your kernel needs to be upgraded.

Did i missing something ???


Best regards 



Re: [squid-users] Tproxy mode on Debian 7 Table does not exist

2014-02-26 Thread Eliezer Croitoru

You should use -t mangle instead of tproxy

Good luck,
Eliezer

On 26/02/2014 13:57, David Touzeau wrote:


uname –a report #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j
TPROXY --on-port 80
iptables v1.4.14: can't initialize iptables table `tproxy': Table does
not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Did i missing something ???


Best regards