From owner-freebsd-questions Sun Jul 9 13:48:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kestrel.prod.itd.earthlink.net (kestrel.prod.itd.earthlink.net [207.217.121.155]) by hub.freebsd.org (Postfix) with ESMTP id 1029737BB98 for ; Sun, 9 Jul 2000 13:48:47 -0700 (PDT) (envelope-from cjc@pool0264.cvx20-bradley.dialup.earthlink.net) Received: from pool0264.cvx20-bradley.dialup.earthlink.net (pool0264.cvx20-bradley.dialup.earthlink.net [209.179.251.9]) by kestrel.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id NAA02264; Sun, 9 Jul 2000 13:48:44 -0700 (PDT) Received: (from cjc@localhost) by pool0264.cvx20-bradley.dialup.earthlink.net (8.9.3/8.9.3) id NAA00728; Sun, 9 Jul 2000 13:47:05 -0700 (PDT) Date: Sun, 9 Jul 2000 13:47:04 -0700 From: "Crist J. Clark" To: Patrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: need help for IPFW advanced use Message-ID: <20000709134703.D394@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <000801bfe9d8$5cb421e0$0101a8c0@pfoubert> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <000801bfe9d8$5cb421e0$0101a8c0@pfoubert>; from patrick@freegates.be on Sun, Jul 09, 2000 at 09:03:21PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Please wrap your lines at around 72 characters or so.] On Sun, Jul 09, 2000 at 09:03:21PM +0200, Patrick wrote: > Hello, > > With this new version (4.0) of freebsd, you introduce the availability to limit the bandwidth use by using ipfw command . dummynet(4) has been around since 2.2.8. > 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 Did you make a new kernel with, options DUMMYNET > 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 Did you make a kernel with, options IPFIREWALL_FORWARD > I not see a "valable" reason to have problems with ipfw but ... I don't want to seem harsh, I would guess you are not a native English speaker, but "valable" is not a word. What are you trying to say? > 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 ! Your kernel does need to be recompiled. Have a look at the LINT kernel. Also see the following manpages, ipfw(8) ipfw(4) dummynet(4) -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message