From owner-freebsd-questions Thu Jun 24 10:14: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mercenary.vntech.com (mercenary.vntech.com [206.147.237.48]) by hub.freebsd.org (Postfix) with ESMTP id 910F214EE7 for ; Thu, 24 Jun 1999 10:13:00 -0700 (PDT) (envelope-from pezzy@vntech.com) Received: from localhost (pezzy@localhost) by mercenary.vntech.com (8.9.3/8.9.3) with ESMTP id VAA16134; Wed, 26 May 1999 21:43:18 GMT (envelope-from pezzy@vntech.com) X-Authentication-Warning: mercenary.vntech.com: pezzy owned process doing -bs Date: Wed, 26 May 1999 21:43:18 +0000 (GMT) From: Patrick Walentiny To: Ruslan Ermilov Cc: Jerry Raynor , freebsd-questions@FreeBSD.ORG Subject: Re: ipfw In-Reply-To: <19990624193935.A43190@relay.ucb.crimea.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I haven't been on this list long, so I dunno a lot about this thread, but you could very well get that error from not setting options IPFIREWALL in your kernel. Patrick. On Thu, 24 Jun 1999, Ruslan Ermilov wrote: > On Thu, Jun 24, 1999 at 12:15:21PM -0400, Jerry Raynor wrote: > > I trying to run the ipfw command but keep getting this error, everything > > looks right per the man pages. Anyone familiar with this error? > > > > # ipfw add 1 deny all from 201.220.229.0/24 to domain.com > > 00001 deny ip from 209.161.229.0/24 to 127.0.0.1 > > ipfw: setsockopt(IP_FW_ADD): Invalid argument > > > Have you tried to set ``firewall_enable=YES'' in your /etc/rc.conf file. > > > Cheers, > -- > Ruslan Ermilov Sysadmin and DBA of the > ru@ucb.crimea.ua United Commercial Bank, > ru@FreeBSD.org FreeBSD committer, > +380.652.247.647 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message