From owner-freebsd-security Mon Jul 16 8:56:37 2001 Delivered-To: freebsd-security@freebsd.org Received: from thedarkside.nl (cc31301-a.assen1.dr.nl.home.com [213.51.66.128]) by hub.freebsd.org (Postfix) with ESMTP id B601B37B403 for ; Mon, 16 Jul 2001 08:56:28 -0700 (PDT) (envelope-from serkoon@thedarkside.nl) Received: (from root@localhost) by thedarkside.nl (?/8.9.3) id f6GFuMH64321 for freebsd-security@freebsd.org; Mon, 16 Jul 2001 17:56:22 +0200 (CEST) (envelope-from serkoon@thedarkside.nl) Received: from kilmarnock (kilmarnock [10.0.0.2]) by thedarkside.nl (?/8.9.3av) with SMTP id f6GFuI464313 for ; Mon, 16 Jul 2001 17:56:19 +0200 (CEST) (envelope-from serkoon@thedarkside.nl) Message-ID: <004901c10e10$0a7c52f0$0200000a@kilmarnock> From: "serkoon" To: References: Subject: Re: ipfw pipe command Date: Mon, 16 Jul 2001 17:57:39 +0200 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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Virus-Scanned: by AMaViS perl-10 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 Hi, > ipfw pipe 10 config bw 5Kbit/s queue 4Mbytes > ipfw add pipe 10 tcp from x.x.x.x 41000-42000 to any out xmit fxp0 > ... > Can anyone that uses pipes tell me what I did > wrong or how to better troubleshoot this? Thanks! Try swapping the two lines, eg: ipfw add pipe 10 tcp from x.x.x.x 41000-42000 to any out xmit fxp0 ipfw pipe 10 config bw 5KBit/s queue 4Mbytes Btw: 1) You should/could use rule-numbers: ipfw add 1000 pipe .. . 2) A queue of 4Mbyte is HUGE when limiting at 5kbit, see the man for hints regarding this. Regards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message