Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2011 00:09:09 +0000
From:      nangergong <nangergong@gmail.com>
To:        freebsd-ipfw@freebsd.org
Subject:   about "profile" in IPFW/dummynet
Message-ID:  <AANLkTinuPw67g=aROMMA6EwFEdvswXD-jHwySwxGvYEP@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi, all:

   I want to use "profile" to simulate delays according to a empirical delay
distribution ( the "profile" argument can be found in
http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?ipfw+8)
I use the following command lines and distribution.txt, and find that these
command lines seem not to  function. when I ping 9.161.148.72, the RTT<1ms

My question is
1) can "profile" be used in windows platform
2) are there any problems in my procedures?



my command lines are:

ipfw pipe 1 config profile distribution.txt
ipfw add 100 pipe 1 ip from 9.161.150.55 to 9.161.148.72
--------------------------------------------------------------------------------------
if I input: ipfw pipe show

the result is:

00001: unlimited         0 ms burst 0
         profile: name "distribution" loss 0.850000 samples 100
q131073  50 sl. 0 flows (1 buckets) sched 65537 weight 0 lmax 0 pri 0
droptail
 sched 65537 type FIFO flags 0x0 0 buckets 0 active


the content of distribution.txt is:

name    distribution
samples 100
loss-level    0.86
prob    delay
0       200     # minimum overhead is 200ms
0.5     200
0.5     300
0.8     1000
0.9     1300
1       1300
#configuration file end



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