From owner-freebsd-net@FreeBSD.ORG Tue Apr 4 05:59:23 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11E1F16A401 for ; Tue, 4 Apr 2006 05:59:23 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 968A343D46 for ; Tue, 4 Apr 2006 05:59:22 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.6/8.13.6) with ESMTP id k345xKPd031880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Apr 2006 01:59:21 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.6/8.13.6/Submit) id k345xKYe031879; Tue, 4 Apr 2006 01:59:20 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Luigi Rizzo Date: Tue, 4 Apr 2006 00:59:19 -0500 User-Agent: KMail/1.8.2 References: <200603301657.43218.mi+mx@aldan.algebra.com> <200604011834.12572@aldan> <20060401201948.A33543@xorpc.icir.org> In-Reply-To: <20060401201948.A33543@xorpc.icir.org> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: ugen@netvision.net.il, archie@dellroad.org, net@freebsd.org Subject: Re: Is there an API for ipfw? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 05:59:23 -0000 On Saturday 01 April 2006 11:19 pm, Luigi Rizzo wrote: = It would help if you could run, when the traffic stalls, a tcpdump on = both source and destination, and tell me where you see the traffic. Ok here is an even simpler case (mspiggy is a Windows 2003 Server): % ipfw pipe 1 config bw 6500KBytes/s % ipfw add 200 pipe 1 ip from mspiggy to mi Not even pings come back to the ping program, even though tcpdump (on mi) shows them returning to the kernel: 01:52:23.665065 IP mi > mspiggy: ICMP echo request, id 42518, seq 14, length 64 01:52:23.665359 IP mspiggy > mi: ICMP echo reply, id 42518, seq 14, length 64 [...] This seems to first hit, when I try a fractional number of MBytes: % ipfw pipe 1 config bw 6.5MBytes/s Trying to correct it afterwards does not seem to have an effect. The pipe must be recreated: % ipfw pipe 1 delete % ipfw pipe 1 config bw 6500KBytes/s And then everything starts working again. Yours, -mi