From owner-freebsd-questions Sun Nov 4 10:26:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (rr-163-54-1.atl.mediaone.net [24.163.54.1]) by hub.freebsd.org (Postfix) with ESMTP id 9178637B416 for ; Sun, 4 Nov 2001 10:26:27 -0800 (PST) Received: from bsd.smnolde.com ([192.168.10.7] helo=bsd) by smnolde.com with esmtp (Exim 3.30 #1) id 160RyU-000OiY-00; Sun, 04 Nov 2001 13:26:26 -0500 Date: Sun, 4 Nov 2001 13:26:25 -0500 (EST) From: Scott Nolde To: Jason Cribbins Cc: Subject: Re: ipfw: getsockopt(IP_FW_GET): Protocol not available In-Reply-To: <011901c16548$c33ead80$05d85c42@kibserv.org> Message-ID: <20011104132508.M700-100000@bsd.smnolde.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Do you have firewall_enable="YES" in /etc/rc.conf? The errors below tell me you haven't built IPFRIREWALL support into your kernel or you haven't loaded the ipfw kernel module (look in /modules). - Scott smacked into the keyboard previously by owner-freebsd-questions@FreeBSD.ORG: >Date: Sun, 4 Nov 2001 10:52:51 -0500 >From: Jason Cribbins >To: questions@FreeBSD.ORG >Subject: ipfw: getsockopt(IP_FW_GET): Protocol not available > >I just added the following to my kernel config and rebuilt it: >options IPDIVERT > >Now I get the following when I try to show, list or add a divert for natd: >3:45pm ns1:/ # ipfw show >ipfw: getsockopt(IP_FW_GET): Protocol not available >3:45pm ns1:/ # ipfw list >ipfw: getsockopt(IP_FW_GET): Protocol not available >3:45pm ns1:/ # ipfw add divert natd all from any to any via lnc0 >ipfw: getsockopt(IP_FW_ADD): Protocol not available >3:46pm ns1:/ # > >On the previous build of the kernel the show and list commands worked fine. >I was getting trouble adding any diverts though. > >This box is running FreeBSD4.3 and also has dhcpd, natd, and named running. >And natd is still not working. Whatever other info you need let me know. I >didn't think I should send you every conf file here even though I have >checked a dozen of so of them and everything seems from what I can tell. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message