From owner-freebsd-security Thu Apr 4 14:58: 0 2002 Delivered-To: freebsd-security@freebsd.org Received: from mail.icablenet.com.br (mail.icablenet.com.br [200.215.9.228]) by hub.freebsd.org (Postfix) with ESMTP id 50B3237B419 for ; Thu, 4 Apr 2002 14:57:52 -0800 (PST) Received: from broilo (broilo.icablenet.com.br [200.215.37.2]) by mail.icablenet.com.br (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id g34MttM36553 for ; Thu, 4 Apr 2002 19:55:56 -0300 (BRT) Message-ID: <001f01c1dc2c$23f86e40$0225d7c8@broilo> From: "FreeBSD" To: References: Subject: Re: IpFilter / IpFireWall Date: Thu, 4 Apr 2002 19:57:47 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org to use ipfw&ipf use this in your kernel! :) options IPFIREWALL options IPDIVERT options IPFIREWALL_FORWARD options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFILTER options IPFILTER_LOG options TCPDEBUG options TCP_DROP_SYNFIN options ICMP_BANDLIM options DUMMYNET options IPSTEALTH ----- Original Message ----- From: "ozkan_kirik" To: Sent: Thursday, April 04, 2002 6:57 PM Subject: IpFilter / IpFireWall > i am new to FreeBSD. > i use freebsd v4.5 Release #0. > > i am trying to setup an firewall. > but i couldnt block or pass any IP. > i think i have a mistake about my IPF&IPFW settings. > > in my kernel: > options IPFILTER > options IPFILTER_LOG > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_VERBOSE_LIMIT=10 > > but my rules doesnt work. > for example: > # ipfw add deny tcp from 193.255.128.250 to any > **answer is: > ipfw: getsockopt(IP_FW_ADD): Protocol not available > > when i saw this error i get crazy > > Plx help me... > With my best regards. > Ozkan KIRIK > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.344 / Virus Database: 191 - Release Date: 2/4/2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message