This is what you said Tom Eastep
> Christian Villa Real Lopes wrote:
>> Andrew Suffield wrote:
>>> Then you most likely botched the installation of the new version of
>>> iptables; somewhere, the paths got mixed up. This is likely to cause
>>> you further trouble later. I'm not sufficiently familiar with redhat
>>> to guess at where exactly the error occurred, but a correct
>>> reinstallation should sort it out.
>>>
>>
>> I'm a litte familiar and I can say you (Scott) installed and 64 bit
>> version of CentOS and later installed some 32 bits packages and some how
>> shorewall is looking for 32bit iptables instead of 64 bits version.
>
> Shorewall looks for $IPTABLES if that variable has been set in
> shorewall.conf. Otherwise, it uses $PATH as set in shorewall.conf. If
> neither is set, it uses a default $PATH
> (/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin)
>
I will admit I was brain dead when I installed my own version of iptables.
 Now that I am reading this I remember reading Tom's notes on the web page
about the IPTABLES variable.  In my older config I was specifically
setting IPTABLES.  When I upgraded shorewall I used the new default config
and missed changing the IPTABLES variable.  So besides doing a poor job
with the iptables installation, I also missed something in the Shorewall
upgrade.

Even with that being said, running 'which iptables', does produce the
correct path to the newer version of iptables.  Unfortunately using Tom's
logic above the shorewall.conf path takes precedence and that is probably
where one of many problems stem.

Too bad I did not originally do a better job with the iptables
installation.  I recall I was a bit nervous at the time and was not too
confident in what I was doing.  Thanks to everyone for refreshing my
memory.



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to