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:[EMAIL PROTECTED]] > Sent: 07 March 2001 16:39 > To: Andy [TECC NOPS] > Cc: [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message