From owner-freebsd-net Wed Mar 7 8:39: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from measurement-factory.com (measurement-factory.com [206.168.0.5]) by hub.freebsd.org (Postfix) with ESMTP id EFECB37B719 for ; Wed, 7 Mar 2001 08:38:57 -0800 (PST) (envelope-from rousskov@measurement-factory.com) Received: (from rousskov@localhost) by measurement-factory.com (8.9.3/8.9.3) id JAA56571; Wed, 7 Mar 2001 09:38:41 -0700 (MST) (envelope-from rousskov) Date: Wed, 7 Mar 2001 09:38:41 -0700 (MST) From: Alex Rousskov To: "Andy [TECC NOPS]" Cc: freebsd-net@FreeBSD.ORG Subject: Re: ipfw In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 7 Mar 2001, Andy [TECC NOPS] wrote: > Just built a new kernel with > > options IPFIREWALL > options IPDIVERT > > and all went in ok. However, when I > user the ipfw command to add a rule > (or when rc.firewall does) I get the > following error message:- > > ipfw: getsocketopt(IP_FW_ADD): Invalid argument > > Can anyone point out the obvious mistake > I must be making? I can only point out really obvious ones: - you forgot to "make depend" when building a new kernel - you forgot to "make install" after building a new kernel - you forgot to reboot after installing a new kernel - you built a kernel with a config file different from the config file you modified. Alex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message