From owner-freebsd-net@FreeBSD.ORG Sun Oct 21 23:27:54 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9019216A419 for ; Sun, 21 Oct 2007 23:27:54 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by mx1.freebsd.org (Postfix) with ESMTP id CF79A13C481 for ; Sun, 21 Oct 2007 23:27:53 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from 52-217-124-91.pool.ukrtel.net ([91.124.217.52]:11792 "EHLO 52-217-124-91.pool.ukrtel.net" smtp-auth: "kes-kes" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S737607AbXJUXLz (ORCPT ); Mon, 22 Oct 2007 03:11:55 +0400 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: kes-kes Date: Mon, 22 Oct 2007 02:11:55 +0300 From: KES X-Mailer: The Bat! (v3.80.06) Professional Organization: SaftTen X-Priority: 2 (High) Message-ID: <1808976198.20071022021155@yandex.ru> To: Olivier Warin In-Reply-To: <9D1C5636-E513-4D88-9B1E-5646C0C0897D@xview.net> References: <9D1C5636-E513-4D88-9B1E-5646C0C0897D@xview.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: BUG ipfw X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: KES List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 23:27:54 -0000 Reconfiguring ipfw queue does not change queue weight. Only deletion queue from firewall and adding it with new weight again helps kes# ipfw queue show 31 *** configure queue with weight >>>90<<< kes# ipfw queue 31 config pipe 9 weight 90 mask dst-ip 0xffffffff gred 0.002/10/30/0.1 *** queue configured successfully kes# ipfw queue show 31 q00031: weight 90 pipe 9 50 sl. 0 queues (64 buckets) GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.099991 *** configure queue with weight >>>10<<< kes# ipfw queue 31 config pipe 9 weight 10 mask dst-ip 0xffffffff gred 0.002/10/30/0.1 *** reconfiguration FAILED kes# ipfw queue show 31 q00031: weight 90 pipe 9 50 sl. 0 queues (64 buckets) GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.099991 *** delete queue, and add it again kes# ipfw queue 31 delete kes# ipfw queue show 31 kes# ipfw queue 31 config pipe 9 weight 10 mask dst-ip 0xffffffff gred 0.002/10/30/0.1 *** it seems help but... kes# ipfw queue 31 show q00031: weight 10 pipe 9 50 sl. 1 queues (64 buckets) GRED w_q 0.001999 min_th 10 max_th 30 max_p 0.099991 ... but this is cause next problem: if I delete queue all packets for this queue are dropped EXPECTED BEHAVIOUR: reconfigure queue without deleting it like pipe -- С уважением, KES mailto:kes-kes@yandex.ru