iptables 1.3.7, kernel 2.6.19, ROUTE and Layer7 issues
Patrick McHardy
kaber at trash.net
Tue Dec 12 09:34:31 CET 2006
ArcosCom Linux User wrote:
> El Lun, 11 de Diciembre de 2006, 20:44, ArcosCom Linux User escribió:
>
>>Hi, I'm having problems with this configuration:
>> iptables 1.3.7 (vanilla or repackaged for fc5)
>> kernel 2.6.19 (vanilla)
>> ROUTE 1.11 (last pom-ng)
>> layer7-filter 2.6 (last in sf.net)
>> connlimit (last pom-ng)
>>
>>When I try to use -j ROUTE in any chain in mangle table I have this error:
>>
>>[root at myhost ~]# iptables -v -t mangle -A POSTROUTING -p tcp --dport msnp
>>-j ROUTE --gw $chat_gw
>>ROUTE tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:1863 ROUTE
>>gw:80.32.61.1
>>iptables: Invalid argument
>>
>>[root at myhost ~]# dmesg | grep "ROUTE"
>>ipt_ROUTE: targinfosize 0 != 40
The ROUTE target needs to set the targetsize field in struct ipt_target.
It probably needs other adjustments for 2.6.19 as well. I would just use
normal policy routing ..
More information about the netfilter-devel
mailing list