What is the easy way to update IPTABLES?

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Hi,
is there a way to update IPTABLES with WHM?

Regards,
Sergio
The "iptables" functionality is installed with the Operating System; any updates would usually only come from the Linux distribution that is used, such as RHEL or CentOS.

If not referring to an OS software update, are you referring to just the rule set or configuration of iptables?
 

Secmas

Well-Known Member
Feb 18, 2005
391
21
168
The "iptables" functionality is installed with the Operating System; any updates would usually only come from the Linux distribution that is used, such as RHEL or CentOS.

If not referring to an OS software update, are you referring to just the rule set or configuration of iptables?
Thank you Don for replying.

What I intend to do is to upgrade IPTABLES to the latest version, I am using REDHAT Enterprise 5.2 i686 standard.

It seems there is a bug in older IPTABLES:

FROM REDHAT:
Updated iptables packages that fix a bug are now available.

The iptables utility controls the network packet filtering code in the
Linux kernel.

These updated packages fix the following bug:

* the memory alignment of ipt_connlimit_data was incorrect on x86-based
systems. This update adds an explicit aligned attribute to the
ipt_connlimit_data struct to correct this. (BZ#529687)

Users are advised to upgrade to these updated iptables packages, which
resolve this issue.
That is why I want to update my server to the latest IPTABLE version.

Can you tell me how to do it?

Thanks.

(By the way HAPPY NEW YEAR!!)
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Thank you Don for replying.

What I intend to do is to upgrade IPTABLES to the latest version, I am using REDHAT Enterprise 5.2 i686 standard.

It seems there is a bug in older IPTABLES:

That is why I want to update my server to the latest IPTABLE version.

Can you tell me how to do it?

Thanks.

(By the way HAPPY NEW YEAR!!)
Thank you for the additional information; I believe the following is the source of the quoted update announcement from Red Hat:
https://rhn.redhat.com/errata/RHBA-2009-1539.html

The following will work to ensure the system has the latest iptables package installed:
Code:
# /scripts/ensurerpm iptables
Here are alternatives, varying depending on the OS software package manager:

For YUM:
Code:
# yum update iptables
For up2date:
Code:
# up2date -u iptables
 

Secmas

Well-Known Member
Feb 18, 2005
391
21
168
Thanks a lot Don.

I have done a YUM UPDATE just to update everything on the server and that does the trick, it updated IPTABLES along with another files.