[tproxy] error comming --ip_tables: TPROXY target: invalid size 8 != 16

KOVACS Krisztian hidden at sch.bme.hu
Thu Apr 23 11:00:08 CEST 2009


Hi,

On sze, ápr 22, 2009 at 02:20:05 +0600, Tanvir Adnan wrote:
> hello everyone
> 
> i am trying to configure my tproxy,
> 
> i am using debian - kernel 2.6.18.6 and  successfully patched the 
> cttproxy-2.6.18-2.0.6.
> and iptables-1.4.3.1 successfully patched by 
> tproxy-iptables-1.4.0-20080521-113954-1211362794.patch
> now i am going to add the following chain on my iptables--
> 
>  iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j 
> TPROXY --on-port 80
> 
> it is showing this following error---
> 
> iptables: Invalid argument. Run `dmesg' for more information.
> 
> debproxy:~# dmesg
> ip_tables: TPROXY target: invalid size 8 != 16
> ip_tables: TPROXY target: invalid size 8 != 16
> 
> 
> Please let me know where is the problem and how to  solve this.

I'm afraid you might have applied an incompatible patch for iptables. As
far as I can remember the
tproxy-iptables-1.4.0-20080521-113954-1211362794.patch you've mentioned
does not support tproxy 2.0.6.

The option would be to use the iptables patch incorporated in the cttproxy
release. You'll probably have to use an older version of iptables to be
able to apply that patch, though.

-- 
KOVACS Krisztian


More information about the tproxy mailing list