Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14219 - IPTABLES: INVALID ARGUMENT
Summary: IPTABLES: INVALID ARGUMENT
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 01:20 UTC by Glenn Aitchison
Modified: 2005-05-03 02:32 UTC (History)
4 users (show)

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


Attachments
config file causing problems : iptables invalid argument (.config,22.33 KB, text/plain)
2003-01-21 01:30 UTC, Glenn Aitchison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Aitchison 2003-01-20 01:20:46 UTC
Ive installed 1.4rc2 and kernel 2.4.20 but no matter what i do when i compile i get the 
errror when i try the command iptables -t nat -A POSTROUTING -o ppp0 -j 
MASQUERADE Invalid Argument
Comment 1 SpanKY gentoo-dev 2003-01-20 09:28:09 UTC
what does your machine show when you grep for these values ? 
 
root@rux0r net # grep CONFIG_IP_NF_NAT /usr/src/linux/.config 
CONFIG_IP_NF_NAT=y 
CONFIG_IP_NF_NAT_NEEDED=y 
# CONFIG_IP_NF_NAT_LOCAL is not set 
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set 
CONFIG_IP_NF_NAT_IRC=m 
CONFIG_IP_NF_NAT_FTP=m 
root@rux0r net # grep CONFIG_IP_NF_CONNTRACK /usr/src/linux/.config 
CONFIG_IP_NF_CONNTRACK=y 
root@rux0r net #  
Comment 2 Glenn Aitchison 2003-01-21 01:27:02 UTC
p3-667 root # grep CONFIG_IP_NF_NAT /usr/src/linux/.config 
CONFIG_IP_NF_NAT=y 
CONFIG_IP_NF_NAT_NEEDED=y 
# CONFIG_IP_NF_NAT_LOCAL is not set 
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set 
CONFIG_IP_NF_NAT_IRC=y 
CONFIG_IP_NF_NAT_FTP=y 
p3-667 root # grep CONFIG_IP_NF_CONNTRACK 
 
p3-667 root # grep CONFIG_IP_NF_CONNTRACK /usr/src/linux/.config 
CONFIG_IP_NF_CONNTRACK=y 
p3-667 root # 
 
 
 
 
Comment 3 Glenn Aitchison 2003-01-21 01:30:28 UTC
Created attachment 7492 [details]
config file causing problems : iptables invalid argument

please have a look to see what is wrong..... im trying iptables -t nat -A
POSTROUTING -o ppp0 -j MASQUERADE
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-01-21 05:47:25 UTC
did you compile your kernel with this settings and boot with the new kernel ?
Comment 5 Glenn Aitchison 2003-01-21 12:35:51 UTC
Yes...
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-01-21 14:21:28 UTC
do you use gentoo-sources ?
Comment 7 Brandon Low (RETIRED) gentoo-dev 2003-01-21 14:25:47 UTC
due to changes to the iptables core that caused the need to rebuild iptables
against this kernel, I've dropped the tcp-window-tracking patch from the ebuild,
remerging either iptables OR this kernel and should fix0r this.
Comment 8 Thomas Raschbacher gentoo-dev 2004-09-28 07:40:24 UTC
got the same problem.

didn't work with _all_ the iptables versions currently in portage .. i tried 1.2.8-r2 (from cvs attic) and it worked ..

could/should this be added again to the tree ?
Comment 9 Karol Wojtaszek (RETIRED) gentoo-dev 2004-11-26 14:07:03 UTC
There is iptables-1.2.9 in portage stable. Can we close this bug?
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-03 02:32:04 UTC
no response after 5 months, closing bug.