From owner-freebsd-questions Wed Aug 30 0:34:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 133BF37B422 for ; Wed, 30 Aug 2000 00:34:47 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Wed, 30 Aug 2000 00:31:14 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id AAA10669; Wed, 30 Aug 2000 00:32:14 -0700 (PDT) (envelope-from cjc) Date: Wed, 30 Aug 2000 00:32:14 -0700 From: "Crist J . Clark" To: Nikola Krasnoyarsky Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ipfw: setsockopt(IP_FW_ADD): Invalid argument Message-ID: <20000830003214.H62475@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20000830110756.A762@fannet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000830110756.A762@fannet.ru>; from nikl@fannet.ru on Wed, Aug 30, 2000 at 11:07:56AM +0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 30, 2000 at 11:07:56AM +0400, Nikola Krasnoyarsky wrote: > Hi! > > I have little problem with setting up traffic shaper. > > my kernel file have the following strings: > > options IPDIVERT #divert sockets > options IPFIREWALL > options IPFIREWALL_FORWARD > options IPFIREWALL_VERBOSE > options IPFIREWALL_VERBOSE_LIMIT=10 > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFILTER > options IPFILTER_LOG > options IPSTEALTH > > but when I run 'ipfw add pipe 1 ip from any to any in via rl0' > system responce is: > > 00000 pipe 1 ip from any to any in recv rl0 > ipfw: setsockopt(IP_FW_ADD): Invalid argument > > > what I must do ? $ man 4 dummynet KERNEL OPTIONS . . . Generally, the following options are required: options IPFIREWALL options DUMMYNET -- Crist J. Clark cjclark@alum.mit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message