From owner-freebsd-current@freebsd.org Sun Feb 21 20:31:24 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47EF1AB0E2B for ; Sun, 21 Feb 2016 20:31:24 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A8251AC4 for ; Sun, 21 Feb 2016 20:31:24 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aXaeu-000D6r-OY; Sun, 21 Feb 2016 23:31:12 +0300 Date: Sun, 21 Feb 2016 23:31:12 +0300 From: Slawa Olhovchenkov To: Luigi Rizzo Cc: freebsd-current Subject: Re: three new netmap tools: pcap player, link emulator, load distributor Message-ID: <20160221203112.GF37895@zxy.spb.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 20:31:24 -0000 On Sun, Feb 21, 2016 at 10:18:36AM -0800, Luigi Rizzo wrote: > Hi, > I have put some new tools on the github's netmap page > https://github.com/luigirizzo/netmap in the apps/ directory > > All are under a BSD license. > > nmreplay > a fast pcap replay tool (a-la tcpreplay) with programmable rate. > Joint work with a few of my students in Pisa. > > ​tlem > a link emulator, dummynet style (but without the packet filter), > sustaining 20Mpps/ 40Gbit. TLEM will be presented at asiabsdcon > and a paper is at http://info.iet.unipi.it/~luigi/research.html > > lb > a packet distributor that reads from a netmap port and distributes > traffic to multiple netmap ports, using ze​ro copy and a user-defined > hash function. This will be useful e.g. for people running multiple > instances of traffic monitors such as bro, suricata and the like. > It is not by chance that LB was originally developed by Seth Hall > at Broala, who kindly made it available, and Giuseppe Lettieri who > added a few features. > > Feedback welcome while (eth_type == 0x8100 /* VLAN */ ) { -- endianess depends