From owner-freebsd-current Mon Dec 27 13: 7: 2 1999 Delivered-To: freebsd-current@freebsd.org Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by hub.freebsd.org (Postfix) with ESMTP id 0F55C15344 for ; Mon, 27 Dec 1999 13:06:56 -0800 (PST) (envelope-from brian@CSUA.Berkeley.EDU) Received: from smarter.than.nu (pm1-6.vpop1.avtel.net [207.71.237.56]) by beach.silcom.com (Postfix) with ESMTP id 67B07145273; Mon, 27 Dec 1999 13:06:53 -0800 (PST) Date: Mon, 27 Dec 1999 13:06:52 -0800 (PST) From: "Brian W. Buchanan" X-Sender: brian@smarter.than.nu To: Emre Cc: freebsd-current@FreeBSD.ORG Subject: Re: IPFW In-Reply-To: <19991227145203.A29810@iris.vsrc.uab.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 27 Dec 1999, Emre wrote: > Hi, > > I apologize if this question is not appropriate for this list but... > > I just installed FreeBSD 4.0-CURRENT (19991226) on a box. I also recompiled > the kernel so it would support SMP. All I basicly did is change two lines > concerning SMP in the GENERIC kernel (I followed the handbook). The box > is running just fine and I am very pleased with it. Here is the problem: > > I'm trying to firewall it using ipfw, when I issue the command > > ipfw add deny udp from any to any 1-2200 > > I get > > 00000 deny udp from any to any 1-2200 > ipfw: setsockopt(IP_FW_ADD): Protocol not available Add the line: options IPFIREWALL to your kernel config and recompile. See LINT for documentation and other options you may wish to consider. IP Firewalling is not enabled by default in GENERIC. -- Brian Buchanan brian@CSUA.Berkeley.EDU -------------------------------------------------------------------------- FreeBSD - The Power to Serve! http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message