From: "Rick van der Linde" <h.r.vanderlinde@student.utwente.nl>
To: <axp-list@redhat.com>
Subject: Re: ipfwadm problem
Date: Tue, 1 Dec 1998 11:55:41 +0100 [thread overview]
Message-ID: <001e01be1d1a$d574a820$0101a8c0@buntium.riant.nl> (raw)
>On Mon, 30 Nov 1998, Rich Payne wrote:
>
>> Check your .config file after running make xconfig. Many people
>> have told me that make xconfig and make menuconfig will produce
>> 'broken' .config files. Maybe you could try just a regular make
>> config.
>
>Yes, make menuconfig and xconfig should be removed from the kernel (IMO);
>they are broken and/or unmaintained and will produce bogus .config files.
>I've never been burned with:
>
> make config dep clean boot modules{,_install}
>
>> Ken Marin wrote:
>> >
>> > >I'm running or trying to run an AS200 4/233 with RH5.1. Everything is
>> > >working well except when I try to run any ipfwadm command I get this
>> > same
>> > >error. (new user)
>> > >
>> > >[root@home /root]# ipfwadm -F -p deny
>> > >ipfwadm: setsockopt failed: Protocol not available
>> > >[root@home /root]#
>> >
>> > I tried the old ipfwadm from 5.0 and the new fixed one. It still won't
>> > work. Could it be that it is not configured in the kernel? I don't
know
>
>This problem is not related to the RedHat-shipped-a-busted-ipfwadm problem;
>in that case, you will get -EINVAL ("Invalid argument") as a errno for
>setsockopt() because the struct used to pass the ipfwadm command is broken
>(too small) in glibc. The error you are getting indicates that forwarding
>was not compiled into your kernel. Make sure you rebuild your kernel with
>IP firewalling and forwarding, and then enable the forwarding by doing an:
>
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
>To make the change permanent, you edit your /etc/sysconfig/network and
>change the line that says FORWARD_IPV4= to FORWARD_IPV4=yes.
All right.. This problem will indeed be caused by the make xconfig command.
Try to build it with the make config (not menuconfig or xconfig) However
theres enough said abou this. After this you still might have had troubles.
I
compiled forwarding and masquerading into the kernel and tried to use
the ipfwadm util comming with RedHat 5.1. This one gave a error. The one I
gave some poeple. will work OK.
Rick
next reply other threads:[~1998-12-01 11:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-01 10:55 Rick van der Linde [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-12-01 2:52 ipfwadm problem Ken Marin
1998-12-01 3:06 ` Rich Payne
1998-12-01 4:19 ` B. James Phillippe
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox