From owner-freebsd-questions Sun Nov 4 7:55:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id B238337B418 for ; Sun, 4 Nov 2001 07:55:10 -0800 (PST) Received: (qmail 43080 invoked from network); 4 Nov 2001 15:55:06 -0000 Received: from unknown (HELO z5w4q9) ([66.92.216.5]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Nov 2001 15:55:06 -0000 Message-ID: <011901c16548$c33ead80$05d85c42@kibserv.org> From: "Jason Cribbins" To: Subject: ipfw: getsockopt(IP_FW_GET): Protocol not available Date: Sun, 4 Nov 2001 10:52:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 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