LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-17-2011, 10:40 AM   #1
peace18
LQ Newbie
 
Registered: Feb 2011
Posts: 19

Rep: Reputation: 0
upgrade to iptables 1.4.0 (o higher)


Hello Everyone,

I have iptables 1.3.5 on CentOS 5.5 32 bits.
kernel 2.6.18

How can I upgrade to 1.4.0 (o higher)?

I need a step by step tutorial.

Thanks

Peace

Last edited by peace18; 02-17-2011 at 10:47 AM.
 
Old 02-17-2011, 10:44 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You wait till Centos (RedHat) release an RPM. Seriously, you either wait,
or take the current SRPM, and try to build yourself. Maybe a bit much, I
can't be bothered checking the dependencies for 1.4.



Cheers,
Tink
 
Old 02-17-2011, 10:48 AM   #3
peace18
LQ Newbie
 
Registered: Feb 2011
Posts: 19

Original Poster
Rep: Reputation: 0
Hello,

I need to install at least version 1.3.7.
I need to install the statistic match module
 
Old 02-17-2011, 11:24 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Grab the src from a close by mirror, e.g., iptables 1.3.5 srpm .. check
the spec file for version numbers of software dependencies. Check
the versions 1.3.7 or newer depend on. Decide how much work you
want to do.





Cheers,
Tink
 
Old 03-06-2011, 09:24 PM   #5
AlmirKadric
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Building iptables 1.4 from src

I'm having a similar issue. I have CentOS 5.5 installed on a VPS with Rackspace Cloud Servers. And the image instance they use uses a xen custom kernel so the server can communicate with the cluster. This causes issues for me as that version of the kernel, and the current version of iptables don't play very nice with each other.

When I attempted to install the commercial version of OpenVPN, I got the error:
Service deferred error: IPTablesServiceBase: failed to run iptables-restore [status=1]: ['iptables-restore: line 95 failed']: python/context:37,internet/epollreactor:223,internet/posixbase:191,internet/process:260,internet/process:762,internet/process:775,internet/_baseprocess:60,svc/pp:116,svc/svcnotify:26,internet/defer:238,internet/defer:307,internet/defer:323,sagent/ipts:105,sagent/ipts:39,util/error:52,util/error:32
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['iptables_openvpn'])

After contacting the customer support about this they told me about, the above. Basically the kernel modules are there but the current CentOS versions of iptables don't load them properly. And They also mentioned that updating/compiling a more recent version of iptables would resolve the issue.

So far I have managed to resolve the dependencies, using yum/rpm for el6 for iptables 1.4.6 and this is what I've gotten so far:
install - nss-softokn-freebl-3.12.4-11.el6.i686.rpm
install - nss-softokn-freebl-3.12.4-11.el6.x86_64.rpm

update - binutils-2.20.51.0.2-5.3.el6.x86_64.rpm
update - prelink-0.4.2-6.el6.x86_64.rpm
update - glibc-2.11.1-1.10.el6.i686.rpm
update - glibc-2.11.1-1.10.el6.x86_64.rpm
update - glibc-common-2.11.1-1.10.el6.x86_64.rpm
update - glibc-devel-2.11.1-1.10.el6.x86_64.rpm
update - glibc-headers-2.11.1-1.10.el6.x86_64.rpm
update - iptables-1.4.6-1.el6.x86_64.rpm

The reason these are el6 packages is because I grabbed the rpms from the centos 6 repo to see what my system would say it needs to install these. I need complete deep backward/forward dependency resolution as this is a production server and I can't afford anything breaking.

So to finally get to my questions:
1. Do I really need binutils and prelink to be updated?
2. Are they just something yum spat out due to el6 having those versions by default?
3. Are the binutils, prelink and all glibc packages backward compatible with all my other packages installed which use them?

I know I might get "If yum said it's good, it's good" or "It's not recommended so don't do it", but please any honest advice on the above would be greatly appreciated.

Regards,

Almir Kadric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to upgrade kernel 2.6.13 or higher pro_chandan Linux - General 4 06-23-2006 01:07 PM
How to upgrade kernel 2.6.13 or higher pro_chandan Linux - General 4 06-23-2006 01:06 PM
How to upgrade kernel 2.6.13 or higher pro_chandan Red Hat 10 06-22-2006 11:37 AM


All times are GMT -5. The time now is 07:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration