From owner-freebsd-ipfw@FreeBSD.ORG Sun Mar 25 16:37:33 2007 Return-Path: X-Original-To: ipfw@freebsd.org Delivered-To: freebsd-ipfw@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2021816A401 for ; Sun, 25 Mar 2007 16:37:33 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id ABD1B13C45B for ; Sun, 25 Mar 2007 16:37:32 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1395131ugh for ; Sun, 25 Mar 2007 09:37:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=p3mezXL2rKkMiA4T8HKPDK96LAHscaJCPZmjDfFv8J1WTNHsKQGNoDh1sYPLWIgmxqTDhvbtTEy6DqqfRGAZSfD30am0YQ4OAEzbJQ73wHrkZdDZQ5yoO4ecmrih8eLqbNJ+xJ8Wii2TAI/wBFEL2+/ueNlSTiviVqGM5BgK1Ag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=AXtcEeXXnl2aX5C0iZpXM3qRcRjtMi97SZ+t683b3GaW2XMzH3B+sM9Uf5x7sP1zliIBCs6mSm8s6g6TyACIDyL2gpa6WRaVvrNUvzvFRrsqmKF9r6jjFxlBMOz3bjmEhsUZE72dic7pc2KPy/9p1298RuiDw6HivLU3CewnsI0= Received: by 10.114.153.18 with SMTP id a18mr2199308wae.1174839152777; Sun, 25 Mar 2007 09:12:32 -0700 (PDT) Received: by 10.114.201.2 with HTTP; Sun, 25 Mar 2007 09:12:32 -0700 (PDT) Message-ID: Date: Sun, 25 Mar 2007 19:12:32 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: ipfw@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 0d8be0eb1fb3401a Cc: Subject: dynamic queues replace each other randomly 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: Sun, 25 Mar 2007 16:37:33 -0000 I have a 6.2-release/i386 gateway with ipfw and dummynet compiled into kernel. pipe 107 config bw 2M queue 207 config pipe 107 weight 50 mask dst-ip 0xffffffff add queue 207 The problem is this. When I look at "ipfw queue 207 show" it all seems almost normal. When new dst-ip's are noticed, new dynamic queues appear. But one bucket is "shared" between two flow's. Whichever flow (dst-ip) received packets last shows up in the table. Every time the bucket changes between the flows, its counters are reset to 0. If the glitch is in the numbers, here they are: 50 slots 9 queues (from 5 to 20 over time) 64 buckets "shared" bucket no. 20 the two dst-ip are 192.168.17.68 and 172.17.0.54 Now that I look at the table, I also see another strange thing. Right after the bucket 20 line come two lines, both numbered as bucket 21. At least they both show up every time. Their ip's are 192.168.17.69 and 172.17.0.55. Any ideas are welcome. Thanks!