From owner-freebsd-questions Tue Feb 27 12:24:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 96F1F37B71A for ; Tue, 27 Feb 2001 12:24:49 -0800 (PST) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f1RKOTe42455; Wed, 28 Feb 2001 09:24:29 +1300 (NZDT) (envelope-from jonc) Date: Wed, 28 Feb 2001 09:24:29 +1300 From: Jonathan Chen To: "G. Jason Middleton" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw: getsockopt(IP_FW_ADD): Invalid argument Message-ID: <20010228092429.A42043@itouchnz.itouch> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gmiddl1@gl.umbc.edu on Tue, Feb 27, 2001 at 03:12:15PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 27, 2001 at 03:12:15PM -0500, G. Jason Middleton wrote: > I get this error when i am tryign tio set up my firewall....i have it set > to open...even when i try to use ipfw : > /sbin/ipfw add 500 divert 8668 all from any to any via de0 > > i get > > ipfw: getsockopt(IP_FW_ADD): Invalid argument Did you compile your kernel with: options IPFIREWALL options IPDIVERT -- Jonathan Chen ---------------------------------------------------------------------- "I don't want to achive immortality through my works.. I want to achieve it through not dying" - Woody Allen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message