From owner-freebsd-ipfw@FreeBSD.ORG Thu Aug 14 20:04:58 2003 Return-Path: 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 C5E5337B401 for ; Thu, 14 Aug 2003 20:04:58 -0700 (PDT) Received: from meketrex.pix.net (meketrex.pix.net [192.111.45.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC85443FB1 for ; Thu, 14 Aug 2003 20:04:47 -0700 (PDT) (envelope-from stripes@meketrex.pix.net) Received: (from stripes@localhost) by meketrex.pix.net (8.11.6/8.11.6) id h7F34bO19250 for freebsd-ipfw@freebsd.org; Thu, 14 Aug 2003 23:04:37 -0400 (EDT) Date: Thu, 14 Aug 2003 23:04:37 -0400 From: Josh Osborne To: freebsd-ipfw@freebsd.org Message-ID: <20030814230437.A19173@meketrex.pix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: Does "ipfw pipe 1 config bw tun0" work under 5.1? X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 03:04:59 -0000 I'm running "5.1-RELEASE" on a machine and I'm attempting to do a little bit of traffic shaping. ipfw queue list looks like this: 00001: tun0 0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 q00001: weight 1 pipe 1 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 q00080: weight 100 pipe 1 50 sl. 1 queues (1 buckets) droptail mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 0 tcp 157.15.34.14/49160 66.35.250.150/80 56 4780 50 4480 5 Whatever traffic I assign to pipe 1 (via one of the queues at least) shows up in that last line there, but never leaves the queue. I can see the packet counts going up (TCP retries I assume) and then the connection times out. I'm using ppp, and ifconfig shows tun0 as the interface I'm using (as opposed to tun1, or something else). I'm not sure what else to try here. So does "ipfw pipe 1 config bw tun0" really work in 5.1-RELEASE, or is it busted?