Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2009 10:39:03 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        xorquewasp@googlemail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Simulating bad network conditions
Message-ID:  <20090218103903.5aee2d7d@tau.draftnet>
In-Reply-To: <20090218085715.GA9821@logik.internal.network>
References:  <20090218083424.GA62198@logik.internal.network> <20090218114128.B73352@mp2.macomnet.net> <20090218085715.GA9821@logik.internal.network>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Feb 2009 08:57:15 +0000
xorquewasp@googlemail.com wrote:

> On 2009-02-18 11:42:00, Maxim Konovalov wrote:
> > 
> > ipfw(8) prob + dummynet(8).
> > 
> 
> Hi. Thanks for the quick response.
> 
> Is there, by any chance, an equivalent for PF? I see there's 'ALTQ'
> but it looks to be poorly supported (unless I misunderstand). I have
> quite a complicated setup here with PF forwarding and jails and I'm
> not sure how well ipfw will play along.

ALTQ can drop 20% of packets using something like:

block in proto icmp probability 20%

It seems ALTQ can't delay packets though, so you'd need to use dummynet
for that.

-- 
Bruce Cran



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