From owner-freebsd-ipfw@FreeBSD.ORG Mon Sep 19 06:18:09 2005 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7852D16A41F for ; Mon, 19 Sep 2005 06:18:09 +0000 (GMT) (envelope-from daemon@foxchat.net) Received: from foxsurfer.com (dns1.foxsurfer.com [205.134.229.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C7B943D46 for ; Mon, 19 Sep 2005 06:18:08 +0000 (GMT) (envelope-from daemon@foxchat.net) Received: from [24.172.9.74] (zapper@rrcs-24-172-9-74.midsouth.biz.rr.com [24.172.9.74]) by foxsurfer.com (8.13.3/8.13.3) with ESMTP id j8J6Hv1j046578 for ; Sun, 18 Sep 2005 23:17:57 -0700 (PDT) (envelope-from daemon@foxchat.net) Message-ID: <432E581B.8030206@foxchat.net> Date: Mon, 19 Sep 2005 02:18:03 -0400 From: Daemon User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050907) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-102.8 required=9.5 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on FoxSurfer.Com Subject: Pipe and Queue X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 06:18:09 -0000 I have a 2 part question. #1 I have tried to set up some pipe rules to shape the bandwidth on my internal network. They are as follows; ${iip} = internal subnet ${oif} = external Nic ${fwcmd} add 240 pipe 1 all from ${iip} to any xmit ${oif} ${fwcmd} pipe 1 config mask src-ip 0xffffffff bw 35Kbits/s delay 100ms queue 40Kbytes ${fwcmd} add 241 pipe 2 all from any to ${iip} recv ${oif} ${fwcmd} pipe 2 config mask dst-ip 0xffffffff bw 4000Kbits/s delay 100ms queue 40Kbytes What I'd like to know is, do I have it set up correctly and are the queues of sufficient size? Is there a better way to do it? The reason I ask is, one of my kids loves to use bittorrent and sometimes they forget to control their upload. When they do forget, one by one, all my connects close and it gets really annoying. #2 Which is better to run in a production environment, Stable or Release? The reason I ask is, I have read in the handbook that Release should be run in a production environment, however, I also read that if one wishes to use altq with IPFW then they must "update" to Stable. Stable being FreeBSD 5.4. I'm currently running FreeBSD 5.4-RELEASE-p7 Regards, Mark