Re: Problem with ROUTE target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2007/07/30-09:29(+0200), Ludovic wrote :
> i'm using kernel 2.6.21.5 and iptables 1.3.7. I have patched it with
> patch-o-matic in order to have the ROUTE target but it doesn't work:
> 
> root@linux:~ $ iptables -t mangle -A POSTROUTING -d 10.8.0.6 -j ROUTE --oif tun0
> iptables: No chain/target/match by that name
> 
> root@linux:~ $ ll /lib/iptables/ | grep ROUTE
> 12 -rwxr-xr-x 1 root root  8216 Jul 26 17:55 libipt_ROUTE.so
> 
 < skip >
> 
> root@linux:~ $ lsmod
> Module                  Size  Used by
> ipt_ROUTE               3760  0
> 
> What can i do to find where my problem is ?
> 

Hi Ludovic,
 Two things:

  - help message on errors is given by iptables in user-land. It seems that
    it's compiled with "ROUTE target" support. So it (iptables) "knows" the
    command line synthax. In this case, it is a "user-land error".

  - The error you get when you send a valid command line, comes from that
    the ROUTE target may not be correctly loaded in the netfilter framework
    but lsmod shows us that you performed a modprobe...

 Can you please send the content of the file proc/net/ip_tables_target


Regards

Yann.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux