From: Alistair Tonner <Alistair@nerdnet.ca>
To: John Paul <john@pinoylinux.sytes.net>, netfilter@lists.netfilter.org
Subject: Re: SO HOW! iptables: invalid argument
Date: Sat, 25 Oct 2003 11:16:56 -0400 [thread overview]
Message-ID: <200310251116.56917.Alistair@nerdnet.ca> (raw)
In-Reply-To: <020b01c39b02$227d9040$63000a0a@pooh>
On October 25, 2003 10:13 am, John Paul wrote:
> > Ummm.
> >
> > I would personally apply POM before building iptables code
>
> I actually did the other way around but still have same problem "invalid
> argument"
>
> i have two versions of iptables running.
>
> iptables (from rpm /sbin/iptables) = works okay
> iptables (from source /usr/local/sbin/iptables) = invalid argument
1) iptables core code does depend on the code in the kernel to ensure
consistency. POM to kernel before building the iptables code.
2) having two copies of an application is ... difficult.
I would remove the rpm myself for ease of use. It can be worked around,
but it annoying at the least.
3) ensure that /etc/ld.so.conf does include a reference to /usr/local/lib/
this is where the libraries for the new version of iptables are. ... or
review *(uuuuhhmmm I think its) LD_PRELOAD variable when you are
running the iptables command. (if you want to try running with two
installed packages)
>
> my Q is... why did the iptables from source didnt work. any helpful hint?
>
Code inconsistencies between the RPM and the built versions.
>
> ----- Original Message -----
> From: "Alistair Tonner" <Alistair@nerdnet.ca>
> To: "John Paul" <john@pinoylinux.sytes.net>;
> <netfilter@lists.netfilter.org> Sent: Saturday, October 25, 2003 9:55 PM
> Subject: Re: SO HOW! iptables: invalid argument
>
> > On October 25, 2003 09:40 am, John Paul wrote:
> > > Hello Folks,
> > >
> > > Just want to find the real answer with this. sorry but ans to google is
>
> not
>
> > > clear for me. I did upgrade my iptables to iptables-1.2.9rc1.tar. steps
> > > done;
> > >
> > > --> installed new iptables source (iptables-1.2.9rc1.tar)
> > > - make KERNEL_DIR=/usr/local/linux
> > > - make install KERNEL_DIR=/usr/local/linux
> > >
> > > --> applied POM (patch-o-matic-20030912.tar) to my latest kernel
> > > (linux-2.4.22.tar)
> > >
> > > --> recompile the kernel
> > > - make dep; make clean; make bzImage; make modules; make
> > > modules_install
> > > - all went fine
> > >
> > > --> reboot the machine
> > >
> > > all went fine but when NAT/MASQUERADE is used, i got this "iptables:
> > > invalid argument"
> > >
> > > anything i missed?
> > >
> > > Thanks.
> > > -JP
> >
> > Ummm.
> >
> > I would personally apply POM before building iptables code....
> >
> > if you do find / -name iptables ... how many results do you get?
> >
> > I've found followup installs don't tend to sit on top of original
>
> installs,
>
> > thus you likely have two copies of iptables stuff on your system now...
>
> you
>
> > need todetermine which to remove.
> >
> >
> > --
> >
> > Alistair Tonner
> > nerdnet.ca
> > Senior Systems Analyst - RSS
> >
> > Any sufficiently advanced technology will have the appearance of
>
> magic.
>
> > Lets get magical!
--
Alistair Tonner
nerdnet.ca
Senior Systems Analyst - RSS
Any sufficiently advanced technology will have the appearance of magic.
Lets get magical!
prev parent reply other threads:[~2003-10-25 15:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 22:06 iptables1.2.7 + pptp + rh9 Daniel Chemko
[not found] ` <7C9884991ADAE0479C14F10C858BCDF52E375B@alderaan.smgtec.com >
2003-10-21 23:05 ` Fernando Barrocal
2003-10-22 1:00 ` Venkatesh. K
2003-10-22 19:55 ` Arnt Karlsen
2003-10-23 11:45 ` Arnt Karlsen
2003-10-25 13:40 ` SO HOW! iptables: invalid argument John Paul
2003-10-25 13:55 ` Alistair Tonner
2003-10-25 14:11 ` John Paul
2003-10-25 14:13 ` John Paul
2003-10-25 15:16 ` Alistair Tonner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310251116.56917.Alistair@nerdnet.ca \
--to=alistair@nerdnet.ca \
--cc=john@pinoylinux.sytes.net \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.