Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6812 - iptables 1.2.7 - unknown arg error
Summary: iptables 1.2.7 - unknown arg error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
: 6907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-21 00:54 UTC by Kaleb Pederson
Modified: 2002-08-29 02:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaleb Pederson 2002-08-21 00:54:42 UTC
When trying to run iptables-restore on my iptables policies, 1.2.7 dies on the  
following line complaining about "unknown arg 113".  
 -A INPUT -p tcp -m tcp --dport 113 -j REJECT --reject-with tcp-reset  
  
If I comment out the line.. then it dies on:  
-A INPUT -p icmp -m icmp --icmp-type 3 -j ACCEPT  
(which is the following line) with a message about "unknown arg 3".
Comment 1 Todd Heim (RETIRED) gentoo-dev 2002-08-21 00:57:55 UTC
iptables 1.2.7 is acting similar here also. 
 
the file ipt.tmp was generated by iptables-save > ipt.tmp 
 
tnt root # /sbin/iptables-restore < ipt.tmp 
iptables-restore v1.2.7: Unknown arg `80' 
Try `iptables-restore -h' or 'iptables-restore --help' for more information. 
 
line with "80" in it is this: 
-A INPUT -i eth0 -p tcp -m tcp --dport 80 -j ACCEPT 
 
similarily, the following fails with the same message  
tnt root # iptables-save|iptables-restore 
 
downgrading back to 1.2.6a-r1 solved this problem. 
Comment 2 Bert Lindner 2002-08-22 19:40:47 UTC
*** Bug 6907 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-25 12:56:50 UTC
I have masked iptables-1.2.7 as it contains bugs confirmed by the authors of
iptables. A new version, 1.2.7a, is to be released ASAP. I will repoen these
bugs and make sure the errors reported doesn't exist in the new version before
unmasking 1.2.7a.
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-27 01:49:44 UTC
I've just commited iptables 1.2.7a. Please test this version and see if upstream
has fixed your problems. It's currently masked, I need to know if this version
works as expected before I can unmask.
Comment 5 Bert Lindner 2002-08-27 13:43:39 UTC
I've just merged and tested (saved/restored/listed ruleset) iptables-1.2.7a and
it seems to work just fine again.