Re: Simulating bad network conditions

2009-02-18 Thread Mel
On Wednesday 18 February 2009 01:39:03 Bruce Cran wrote: > It seems ALTQ can't delay packets though, so you'd need to use dummynet > for that. You can work around it using hfsc's realtime: hfsc(realtime (0Kb 300 128Kb)) 1. 0Kbit of bandwidth guaranteed for the first 300ms 2. After 300ms 12

Re: Simulating bad network conditions

2009-02-18 Thread Julian Elischer
Bruce Cran wrote: On Wed, 18 Feb 2009 08:57:15 + xorquew...@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 s

Re: Simulating bad network conditions

2009-02-18 Thread Bruce Cran
On Wed, 18 Feb 2009 08:57:15 + xorquew...@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 poorl

Re: Simulating bad network conditions

2009-02-18 Thread Tim Clewlow
Here is a link to a mailing list post about a patch to give dummynet support in pf. It is _fairly_ recent and so may still be a little buggy, but the poster seems quite confident that it works as intended. http://www.mail-archive.com/freebsd...@freebsd.org/msg03857.html Cheers, Tim. > On 2009-0

Re: Simulating bad network conditions

2009-02-18 Thread xorquewasp
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 for

Re: Simulating bad network conditions

2009-02-18 Thread Maxim Konovalov
On Wed, 18 Feb 2009, 08:34-, xorquew...@googlemail.com wrote: > Hello. > > I want to verify that a program I'm developing works correctly > in poor network conditions (high latency, random packet loss, etc). > > I seem to remember reading something once about somebody simulating > these condit

Simulating bad network conditions

2009-02-18 Thread xorquewasp
Hello. I want to verify that a program I'm developing works correctly in poor network conditions (high latency, random packet loss, etc). I seem to remember reading something once about somebody simulating these conditions with PF but can't remember where. Anybody got any ideas about how I could