Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2006 00:59:19 -0500
From:      Mikhail Teterin <mi+kde@aldan.algebra.com>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        ugen@netvision.net.il, archie@dellroad.org, net@freebsd.org
Subject:   Re: Is there an API for ipfw?
Message-ID:  <200604040159.20210@aldan>
In-Reply-To: <20060401201948.A33543@xorpc.icir.org>
References:  <200603301657.43218.mi%2Bmx@aldan.algebra.com> <200604011834.12572@aldan> <20060401201948.A33543@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604040159.20210>