From owner-freebsd-questions Sun Jul 9 12: 4:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vicosa.dpi.ufv.br (vicosa.dpi.ufv.br [200.17.74.1]) by hub.freebsd.org (Postfix) with ESMTP id CEED137B56E for ; Sun, 9 Jul 2000 12:04:41 -0700 (PDT) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br (port58.tdnet.com.br [200.236.148.158]) by vicosa.dpi.ufv.br (AIX4.2/UCB 8.7/8.7) with ESMTP id QAA25270; Sun, 9 Jul 2000 16:03:22 -0200 (GRNLNDDT) Message-ID: <3968A244.8315CEB9@tdnet.com.br> Date: Sun, 09 Jul 2000 16:03:16 +0000 From: Gustavo Vieira Goncalves Coelho Rios X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Patrick , questions@freebsd.org Subject: Re: need help for IPFW advanced use References: <000801bfe9d8$5cb421e0$0101a8c0@pfoubert> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Patrick wrote: > > Hello, > > With this new version (4.0) of freebsd, you introduce the availability > to limit the bandwidth use by using ipfw command . > > I make a new installation, with 2 network cards, enable the gateway > and testing it over two differents networks: it's run. > > I enable IP Firewall as "OPEN" mode, it's ok > > But when I try the command > > IPFW PIPE SHOW, I get an error: > > IPFW: getsockopt (ip_dummy_get): protocol not available > > When I try to add a rule as: > > IPFW ADD PIPE 1 IP FROM ANY TO ANY OUT (as man pages), i get an error: > > IP_FW_CTL: Invalid command > IPFW: getsockopt(ip_fw_add): protocol not available > > I not see a "valable" reason to have problems with ipfw but ... > > If you have a idea or if kernel need to be recompiled with specific > values or modules, please let's me know and the procedure to make it ! > > Thanks > > Patrick Foubert > Servers Manager > Please, DON'T send html message to the mailing list! Do you have a kernel that support ipfirewall ? 1) man ipfirewall 2) vi /sys/i386/conf/LINT (look for IPFIREWALL options) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message