LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2005, 11:30 AM   #1
chingyenccy
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
Unhappy How to upgrade iptables version


Hi,
my iptables is version 1.2.7a and I have to use version 1.2.9 for a project. I have downloaded the 1.2.9 version and 'run' the new version without deleting the old one. But when I insert iptables rules, it still uses the old version. Do I have to delete the version 1.2.7a or are there any commands to install the newer version? The actual error message I got was

Using /lib/modules/2.4.20-8custom/kernel/net/ipv4/netfilter/ipt_modbus.o
Enabling forwarding...
iptables: match `modbus' v1.2.9 (I'm v1.2.7a).
iptables v1.2.7a: unknown protocol `tp' specified
Try `iptables -h' or 'iptables --help' for more information.

I have intentionally put a wrong spelling of tcp in the iptables ruleset. Does that mean that I'm running on the iptables 1.2.7a version?
Thanks for your advice.
 
Old 01-17-2005, 01:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Yes, that's what it means ... as for the upgrade:
depends on the distro you're using.


Cheers,
Tink
 
Old 01-17-2005, 10:17 PM   #3
chingyenccy
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Unhappy Package iptables is not installed

Thanks.

I have deleted the iptables version 1.2.7a by using
#rpm -e iptables

and then installed (make) the iptables version 1.2.9
When I type
#iptables -V
I get
iptables v1.2.9

But when I use
#rpm -q iptables
the response was package iptables is not installed.
I cannnot even do
#service iptables start
Bad argument `start'
Try `iptables -h' or 'iptables --help' for more information.

I don't understand the problem, have I not installed the iptables version 1.2.9? What should I do?
 
Old 01-17-2005, 10:20 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You most likely DO have 1.2.9 installed ... however,
it's a) not registered with rpm since you installed from
source, and b) most likely in a spot where the scripts
won't find it, e.g. /usr/local/sbin rather than /usr/sbin.

I'd suggest trying to find an rpm
and install that instead ...



Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Upgrade - still at the old version Seventh Linux - Newbie 1 12-21-2004 03:40 PM
what iptables version do I need? greklas Linux - Security 1 09-11-2004 02:43 AM
Iptables in Debian Stable Version swmok Debian 1 07-31-2003 07:24 AM
Iptables Version ? LinuxGuy4567 Linux - Security 2 01-28-2003 02:28 PM
How can I tell which version of iptables is in a given kernel distribution? cestor Linux - General 4 05-27-2002 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration