From owner-freebsd-net Wed Mar 7 8:41:37 2001 Delivered-To: freebsd-net@freebsd.org Received: from relay.tecc.co.uk (luggage.tecc.co.uk [193.128.6.129]) by hub.freebsd.org (Postfix) with SMTP id 962F037B718 for ; Wed, 7 Mar 2001 08:41:33 -0800 (PST) (envelope-from andy@tecc.co.uk) Received: from fw-smtp.tecc.co.uk [195.217.37.39] by relay.tecc.co.uk with esmtp (Exim 1.70 #1) id 14ah0G-0000ix-00; Wed, 7 Mar 2001 16:41:32 +0000 Received: from [195.217.37.155] (helo=southampton) by fw-smtp.tecc.co.uk with smtp (Exim 2.12 #3) id 14agyF-00050Q-00; Wed, 7 Mar 2001 16:39:27 +0000 From: "Andy [TECC NOPS]" To: "Alex Rousskov" Cc: Subject: RE: ipfw Date: Wed, 7 Mar 2001 16:45:55 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Na did all that. Thanks thou, the answer was actually in my own email (I think still build new kernel) aka install from CDRom and 4.2-STABLE. Sure the CDRom is 4.2-RELEASE, so when did I cvsup my kernel src tree! dunno, reinstalled srcs so hopefully that's sort it out. cheers Ak > -----Original Message----- > From: Alex Rousskov [mailto:rousskov@measurement-factory.com] > Sent: 07 March 2001 16:39 > To: Andy [TECC NOPS] > Cc: freebsd-net@FreeBSD.ORG > Subject: Re: ipfw > > > 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