Simulating bad network conditions

Julian Elischer julian at elischer.org
Wed Feb 18 10:12:29 PST 2009


Bruce Cran wrote:
> On Wed, 18 Feb 2009 08:57:15 +0000
> xorquewasp at 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.
> 


vimage it the tool for you

it can REALLY simulate a lot of network setups.



More information about the freebsd-hackers mailing list