mbode
asked on
setsockopt: Protocol not available - what's that?
I am settint up a firewall with IP masquerading. I have followed the HOWTO and compiled the kernel with all the required options. When I follow the HOWTO, I get to a point, where I am supposed to issue the following command:
ipfwadm -F -p deny
At this point I get the following error message:
ipfwadm: setsockopt failed: Protocol not available.
What does it mean and how do I fix it?
Michael Bode
ipfwadm -F -p deny
At this point I get the following error message:
ipfwadm: setsockopt failed: Protocol not available.
What does it mean and how do I fix it?
Michael Bode
ASKER
Recompiling is the first thing that comes to mind, and I have done it over and over again.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I recompiled the kernel checking so that I answered all questions right. I use make zlilo to compile and install the kernel into lilo right away. After this I booted and booted once again :)
Now on /proc/net a few more files showed up :)
They were missing before :) (ip_forward among them aothe rimportant for IP fw:ing). Dont forget to install ipfwadm program and its header files before you compile the kernel.
Good luck!