From: Thomas Graf Date: Thu, 04 Nov 2004 12:46:36 +0000 Subject: Re: [LARTC] Traffic control and logging? Message-Id: <20041104124636.GM12289@postel.suug.ch> List-Id: References: <4187AC55.2040705@expertron.co.za> In-Reply-To: <4187AC55.2040705@expertron.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org * Justin Schoeman <418A19E6.4040306@expertron.co.za> 2004-11-04 14:00 > OK - judging by the lack of response, I am assuming this is not possible? > > I have started hacking on a simple patch to add support to qdiscs to dup > their traffic to a dummy interface. > > Simple test code for the prio qdisc, hardcoded for device id 5 as the > dummy qdisc is attached. > > The eventual idea is to add an optional argument 'dupdev' to all qdiscs. > If the qdisc has this argument set, then the packet is duplicated to > that device, if not, nothing is altered. Consider using the mirred action with a recent iproute2 binary. The statistics won't be working properly yet though. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/