| View previous topic :: View next topic |
| Author |
Message |
DaneM n00b

Joined: 28 Oct 2005 Posts: 39
|
Posted: Tue Jul 25, 2006 9:21 am Post subject: getsockopt failed strangely kernel 2.6.17-gentoo-r4 [SOLVED] |
|
|
Hello, everybody.
I was about to post this question, but in doing so I thought of a solution. I'll post both the question and the solution so that somebody else with the same problem won't have to ask.
I've recently upgraded from kernel 2.6.16-gentoo-r13 to 2.6.17-gentoo-r4, and now I get the following error when running kmyfirewall:
| Code: |
Create Rules for Chain: INPUT getsockopt failed strangely: No such file or directory
Setting up Rule: NFS_TCP FAILED !!!
|
The rule that it says failed is as follows:
| Code: |
$IPT -t filter -A INPUT --protocol tcp --match multiport --destination-port 111,2049,32765,32766,32767 -j ACCEPT
|
The solution:
I found this in my /usr/src/linux/.config file:
| Code: |
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
|
Since the above rule is trying to do a multiport match (to ports 111,2049,32765,32766,32767), that part of the kernel config should be:
| Code: |
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y
|
Either change it using a text editor, "make menuconfig", or "make xconfig", and then recompile your kernel as usual.
--Dane |
|
| Back to top |
|
 |
mno Apprentice


Joined: 29 Dec 2003 Posts: 272 Location: Toronto, Canada
|
Posted: Wed Aug 02, 2006 3:27 pm Post subject: |
|
|
Thank you!  _________________ "Hello and goodbye. As always." | You can't use here?? | Unanswered |
|
| Back to top |
|
 |
DaneM n00b

Joined: 28 Oct 2005 Posts: 39
|
Posted: Wed Aug 02, 2006 8:48 pm Post subject: |
|
|
You're welcome.
--Dane |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|