Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20148 - net-firewall/iptables-1.2.7a-r4
Summary: net-firewall/iptables-1.2.7a-r4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Preston A. Elder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 01:20 UTC by Tony Clark
Modified: 2003-06-19 22:41 UTC (History)
2 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 Tony Clark 2003-04-29 01:20:18 UTC
iptables -A POSTROUTING -t nat -o eth1 -j MASQUERADE doesn't seem to work.  If
I go back to net-firewall/iptables-1.2.7a-r3 then it works ok.  No reboots or
anything just reinstall the pervious stable iptables.
Internal interface is eth0

Reproducible: Always
Steps to Reproduce:
1.emerge iptables
2. set up normal firewall rules and load modules for masq
3.iptables -A POSTROUTING -t nat -o eth1 -j MASQUERADE

Actual Results:  
media root # iptables -A POSTROUTING -t nat -o eth1 -j MASQUERADE
iptables: Invalid argument

Expected Results:  
media root # iptables -A POSTROUTING -t nat -o eth1 -j MASQUERADE
media root #

media root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP 2400+
GENTOO_MIRRORS="http://gentoo.linux.no/pub/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/pub/portage/distfiles"
PKGDIR="/pub/portage/packages/athlon-xp"
PORTAGE_TMPDIR="/pub/tmp"
PORTDIR_OVERLAY="/pub/portage_local"
USE="x86 oss 3dnow apm avi crypt gif jpeg libg++ libwww mikmod mmx mpeg ncurses
nls pdflib png quicktime spell xml2 zlib gtkhtml gdbm berkdb slang readline
bonobo svga java guile sdl gpm tcpd pam perl python imlib oggvorbis qt opengl X
gtk -gnome -alsa kde mozilla mysql ssl xmms xv dvd motif acpi cdr -pcmcia -arts
-cups -esd truetype encode lirc"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-06-18 03:53:23 UTC
Do you still have this problem with the latest stable version?
Comment 2 Tony Clark 2003-06-18 11:22:50 UTC
Seems ok nowdays.  thanks 
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2003-06-18 14:54:08 UTC
Ok, setting this to WONTFIX then?
Comment 4 Tony Clark 2003-06-18 15:35:45 UTC
yep, it's turned out to be me playing with different kernels and I had /usr/src/linux 
symlinked to a kernel that wasn't the current running one.  Under that condition 
iptables failed to build the masq stuff correctly.  Once it is built it is happy to work with 
any 2.4 flavour kernel it seems. 
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2003-06-19 22:40:23 UTC
So, reopening...
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-06-19 22:41:15 UTC
... and setting to INVALID. Thanks for investigating further though it worked for you :-)