Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-07-2006, 08:53 AM   #1
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89

Rep: Reputation: 15
Iptables & 2.6.16-rcX

Hi all,
iptables has been working perfectly for me for over a year. Just decided to update kernel which for some reason the developers have made iptables a complete mess since Anyway now when I try to run iptables it comes up with this:

Could not open socket to kernel: Operation not permitted

So I went digging around the kernel, enabled a few more things with iptables in the name which all look like they mean the same thing? And now it comes up with the following:

getsockopt failed strangely: No such file or directory

I have browsed through the offending bit of code which gives me no clue as to which file it is looking for, it's just a general error message when it doesn't know itself. Any ideas on how to get this thing working again? It's been driving me crazy for about a week now, Thanks in advance for any clues.
Old 03-12-2006, 01:58 PM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
You will need to recompile iptables against your new kernel so the module codes match.
Old 03-13-2006, 10:18 PM   #3
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89

Original Poster
Rep: Reputation: 15
Found the solution after about a week, I copied the compilation instructions from BLFS which had a variable set, something like SHARED_LIBS=no or thereabouts. I don't know if it was iptables or the kernel, but & iptables < 1.3.5 both worked perfectly without the shared files but with all the latest versions it must have been looking for them. The configure/make script still recognised that variable but the application itself didn't - something along those lines. So not sure if it is the kernel or iptables at fault, but there's something fishy about one of them anyway just incase someone else bumps in to this.


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
gentoo problem with rcx.d's mdpniesta Linux - Software 2 03-08-2005 08:43 AM
Samba & IPTABLES & Network Drives Oh My! logicdisaster Linux - Networking 3 06-03-2004 06:07 PM
What is the naming convention for files in rcX.d? roshko Linux - Newbie 2 09-01-2003 04:41 PM
%&*#&$$ iptables modules Hangdog42 Linux - Newbie 10 03-03-2003 08:16 PM
/etc/rc.d/rcX.d does not exist !!!!!!!!!!!!! safrout Linux From Scratch 6 11-10-2002 06:57 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:11 PM.

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