From owner-freebsd-ipfw@FreeBSD.ORG Thu Feb 10 00:34:08 2011 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D86451065672 for ; Thu, 10 Feb 2011 00:34:08 +0000 (UTC) (envelope-from nangergong@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A11888FC14 for ; Thu, 10 Feb 2011 00:34:08 +0000 (UTC) Received: by iwn39 with SMTP id 39so733263iwn.13 for ; Wed, 09 Feb 2011 16:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=y02tQU6ATDUeOCrd0sf3E2uQhJWHp6pyAfUjEhu7NHQ=; b=rME/27Jt9mM3fbPbPFWL7o7DGiBQMYFy2xvT2iFIk/v2ffrv+0CJbL+3PbV+m7QTFD nxyRV/q+pa3T5EIjEf8zcK96N4RLC3nzH9RTj51FIZq+Wj3QkrI7NR1a2fhv+uJRq+21 f2h0MX8CV0ipOZnDT5cQX2cAJQYyargxkCaHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oIi8ERam3x+VlhPBYA8ZrUXa56FQ/AB+wWwwQpAuIbDIJaL1RwaPbe7b0X7JTgLzYB P6vbnHPuf1VIa5UYKQvvEFIGMSlub06138Ab1029po/nQQHfejN3QUTRDwtRpntMzhCR U3qI6b6iOc/dordEhh4n/OqqoYAyyUHEElJgw= MIME-Version: 1.0 Received: by 10.42.169.9 with SMTP id z9mr7183754icy.457.1297296549930; Wed, 09 Feb 2011 16:09:09 -0800 (PST) Received: by 10.42.122.4 with HTTP; Wed, 9 Feb 2011 16:09:09 -0800 (PST) Date: Thu, 10 Feb 2011 00:09:09 +0000 Message-ID: From: nangergong To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: about "profile" in IPFW/dummynet X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 00:34:09 -0000 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