?
Solved

setsockopt: Protocol not available - what's that?

Posted on 1997-10-31
3
Medium Priority
?
676 Views
Last Modified: 2013-12-15
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
0
Comment
Question by:mbode
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Expert Comment

by:df020797
ID: 1630342
I ran into this problem myself.
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!
0
 

Author Comment

by:mbode
ID: 1630343
Recompiling is the first thing that comes to mind, and I have done it over and over again.
0
 
LVL 4

Accepted Solution

by:
unicorntech earned 240 total points
ID: 1630344
Well I feel that what is wrong is the ip networking. The error message you are getting may mean that ipfwadm is notinstalled correctly. Are there files like ip_acct in /proc/net?

Try typing ipfwadm -A -i and then seeing if this file is in /proc/net...

If it si not then the ipfwadm you have is not installed correctly and I would consider reinstalling it. Let me know how it goes,

Jason
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question