From owner-freebsd-net@FreeBSD.ORG Wed Dec 6 20:45:39 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E66416A530 for ; Wed, 6 Dec 2006 20:45:39 +0000 (UTC) (envelope-from hidden@4you.lt) Received: from tequila.4you.lt (tequila.4you.lt [212.122.65.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F9D843CB8 for ; Wed, 6 Dec 2006 20:44:27 +0000 (GMT) (envelope-from hidden@4you.lt) Received: (qmail 36700 invoked by uid 98); 6 Dec 2006 20:45:13 -0000 Received: from 84.240.25.195 by tequila.4you.lt (envelope-from , uid 89) with qmail-scanner-1.25 (f-prot: 4.6.6/3.16.14. spamassassin: 3.1.7. Clear:RC:0(84.240.25.195):SA:0(-1.6/5.0):. Processed in 5.456878 secs); 06 Dec 2006 20:45:13 -0000 X-Spam-Status: No, hits=-1.6 required=5.0 X-Qmail-Scanner-Mail-From: hidden@4you.lt via tequila.4you.lt X-Qmail-Scanner: 1.25 (Clear:RC:0(84.240.25.195):SA:0(-1.6/5.0):. Processed in 5.456878 secs) Received: from unknown (HELO BLUEBIRD) (hidden@4you.lt@84.240.25.195) by tequila.4you.lt with SMTP; 6 Dec 2006 20:45:08 -0000 Date: Wed, 6 Dec 2006 22:45:04 +0200 From: Timofej Dod X-Mailer: The Bat! (v3.51.10) Professional Organization: UAB "Eilorita", 4you.lt X-Priority: 3 (Normal) Message-ID: <1895992105.20061206224504@4you.lt> To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: dummynet throughput problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Timofej Dod List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 20:45:39 -0000 Hi, I got a firewall with ipfw + dummynet. system is: FreeBSD 6.1-RELEASE-p10 table 1 contains 211 IP addresses. 00502 pipe 11 ip from any to table(1) out via rl0 00502 skipto 2000 ip from any to table(1) and with pipe configured ipfw -q pipe 11 config mask dst-ip 0xffffffff bw 256Kbit/s however everybody only getting half of it i.e. 128 Kbits. also net.inet.ip.fw.one_pass: 1 doesn't seem to work properly since counters show that skipto rule is being triggered and it should not with the one_pass activated. Any clues how to make it give the speed it is supposed to? -- Timofej Dod