Problem with iptables-restore in iptables v1.4.3-rc1

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

 



Hello All,

I am working with iptables-1.4.3-rc1 from 20090301.

This is my filter table added manually and then used iptables-save
# Generated by iptables-save v1.4.3-rc1 on Fri Mar  6 11:00:51 2009
*filter
:INPUT ACCEPT [830153:787507461]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [365602:481550138]
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A INPUT -p udp -m udp --dport 161 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
# Completed on Fri Mar  6 11:00:51 2009


When I use iptables-restore, it give the following error.
 iptables-restore -v filter.rules
# Generated by iptables-save v1.4.3-rc1 on Fri Mar  6 11:00:59 2009
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Bad argument `NEW'
Error occurred at line: 10
Try `iptables-restore -h' or 'iptables-restore --help' for more information.


What am I missing, I understand that its not yet released, so should I
be looking at some other 1.4.3 rc1 version, to get this working.
It works fine if I add the rules manually.

 I need the tproxy support so I would like to use 1.4.3. Any ideas
when its going to release.

-- Pranav
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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