LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-18-2014, 01:48 PM   #1
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
ipset and iptables - recompile iptables?


Well, I'm trying to do as instructed and use ipset on my host, trouble is when I go to this
Code:
iptables -I INPUT -m set -match-set autoban src -p TCP -destination-port 80 -j DROP
I get this message: iptables v1.3.5: Couldn't load match `set':/lib64/iptables/libipt_set.so: cannot open shared object file: No such file or directory which http://elrepo.org/bugs/view.php?id=83 says I need iptables 1.4.4 (or above).

So, how does one update iptables 1.3.5 to 1.4.4 exactly on CentOS 5.10 x86_64?
I shouldn't think I'd have to remove iptables (list looks fugly when I tested that option)
I'm kind of stuck and I don't want to break my system by hax0ring around trying to force this issue.

I have these installed:
Code:
iptables-1.3.5-9.2.el5_8
iptables-ipv6-1.3.5-9.2.el5_8
ipset-4.5-1.el5
kmod-ipset-xen-4.5-1.el5
2.6.18-194.32.1.el5xen kernel on a CentOS release 5.10 (Final) / x86_64

ipset* RPMs I got from http://centos.alt.ru/pub/repository/centos/5/x86_64/

Sure looks like I "maybe" could install http://fr2.rpmfind.net//linux/RPM/ce...l6.x86_64.html and it definitely has the libipt_set.so component.

Can someone offer some assistance on what I need to do to get iptables up to version >= 1.4.4?

Thanks.
 
Old 02-18-2014, 05:33 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
There is a CentOS bug tracker ticket about exactly this thing and IIRC ksingh, jhughes or one of the other devs involved concluded they wouldn't be providing support for it through CentOS (extras?). Personally I wouldn't use the .alt.ru binary packages but take the source RPMs, scrutinize the .spec files and rebuild myself. After all that's what you will have to do from then on for each and every 5.x kernel release so you'd better get familiar with it and do QA yourself...
 
Old 02-19-2014, 08:12 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374

Original Poster
Blog Entries: 37

Rep: Reputation: Disabled
Noted.
Thanks!
 
  


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
iptables / ipset, redirect a set to another host/ip? i5050net Linux - Networking 1 09-16-2013 01:06 PM
iptables error in android: iptables-save and iptables-restore not working preetb123 Linux - Mobile 5 04-11-2011 01:56 PM
On what basis CHAIN integer values are generated in IPtables under iptables file? haariseshu Linux - Server 3 11-05-2009 04:25 AM
iptables cannot start after recompile kernel souldump Red Hat 4 03-25-2007 08:26 AM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:14 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
Open Source Consulting | Domain Registration