From owner-freebsd-net Fri Feb 1 10:20:18 2002 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 7C2CB37B417 for ; Fri, 1 Feb 2002 10:20:10 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020201182010.YLQL7443.rwcrmhc54.attbi.com@InterJet.elischer.org>; Fri, 1 Feb 2002 18:20:10 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA67238; Fri, 1 Feb 2002 10:14:43 -0800 (PST) Date: Fri, 1 Feb 2002 10:14:42 -0800 (PST) From: Julian Elischer To: Marko Zec Cc: freebsd-net@freebsd.org Subject: Re: ng_dummy - netgraph traffic shaping node In-Reply-To: <3C5A9E1E.400F9772@tel.fer.hr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hmm interesting... any docs? (we always include a man page when we commit a new node type.) Any comments on netgraph in general On Fri, 1 Feb 2002, Marko Zec wrote: > The result of an innocent netgraph programming exercise can be found at: > > http://www.tel.fer.hr/zec/BSD/ng_dummy/ > > "ng_dummy" is a simple traffic shaper node that implements control of > traffic flow in both upstream and downstream direction. In each > direction, the traffic flows through the sequence of two FIFO-type > queues, which implement different queuing policies. The "inbound" queue > is rate limited, and emulates an interface output buffer. On "outbound" > queue, frames are dequeued based on preconfigured delay, thus emulating > propagation effects on a transmission link. Additional features include > random frame discarding based on BER; and emulation of phantom traffic, > which competes for available bandwidth, and thereby introduces inbound > queue congestions and delay jitter. > > Have fun! > > Marko > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message