From owner-freebsd-ipfw@FreeBSD.ORG Mon May 9 20:58:31 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 0BA27106566C for ; Mon, 9 May 2011 20:58:31 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id D56158FC17 for ; Mon, 9 May 2011 20:58:30 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p49KwS1g051877 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 9 May 2011 13:58:29 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4DC8556F.8050600@freebsd.org> Date: Mon, 09 May 2011 13:58:23 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: quamar niyaz References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ipfw@freebsd.org Subject: Re: DummyNet configuration for opportunistic Links for emulating DTN 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: Mon, 09 May 2011 20:58:31 -0000 On 5/9/11 9:46 AM, quamar niyaz wrote: > Hi, > > I am working on a application which is meant for Delay Tolerant Network. I > want to emulate the opportunistic link availability for the data sending > nodes using dummyNet . One scenario, suppose from source node to > destination node let's say a data link is available at around 9 a.m. morning > and the latency of the link from source node to destination node is 1hr. So > if a request for upload comes around 8 a.m. at the sending node then the > data should start reaching to the destination node after 10 a.m. as the link > between the nodes comes at 9 and the latency is 1 hr so delivery time at the > destination node(9 a.m. +1hr. = 10.am.). In other words sending node should > hold the data in its buffer till 10 a.m as the nodes are actually in my 100 > Mbps LAN so for emulating this the sender must start sending the data after > 10 a.m. > > Can the buffer holds such large amount of data e.g. 500 MB for an hour. Or I > have to modify the buffer size if yes, to which file i have to modify and > then build dummynet. Or simply writing a batch scripts is fine for this. > Please let me know. Thanks in advance > pull the packets offline using divert, ng, pcap or similar and store them on disk, then reinject them later.