From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20789 invoked from network); 1 Dec 1998 04:22:21 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 1 Dec 1998 04:22:21 -0000 Received: from earth.terran.org (bryan@earth.terran.org [208.152.24.33]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA31156 for ; Mon, 30 Nov 1998 23:19:56 -0500 Received: from localhost (bryan@localhost) by earth.terran.org (8.8.7/8.8.9) with ESMTP id UAA04103 for ; Mon, 30 Nov 1998 20:19:54 -0800 Date: Mon, 30 Nov 1998 20:19:54 -0800 (PST) From: "B. James Phillippe" To: axp-list@redhat.com Subject: Re: ipfwadm problem In-Reply-To: <36635D2E.36CA7054@adam.cheshire.net> Message-ID: Organization: terran.org/darkforest.org X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. cheers, -bp -- B. James Phillippe . bryan@terran.org Linux Engineer/Admin . http://www.terran.org/~bryan Member since 1.1.59 . finger:bryan@earth.terran.org