From owner-freebsd-net@FreeBSD.ORG Mon Feb 17 20:50:03 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AEAEDD34 for ; Mon, 17 Feb 2014 20:50:03 +0000 (UTC) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9E01F9E for ; Mon, 17 Feb 2014 20:50:03 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 561A57300A; Mon, 17 Feb 2014 21:52:13 +0100 (CET) Date: Mon, 17 Feb 2014 21:52:13 +0100 From: Luigi Rizzo To: Mike Tancsa Subject: Re: netmap, VALE and netmap pipes Message-ID: <20140217205213.GC42021@onelab2.iet.unipi.it> References: <1392661063.244494415.kh0fdlsv@frv34.fwdcdn.com> <20140217185832.GB41267@onelab2.iet.unipi.it> <530273BF.5020303@sentex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <530273BF.5020303@sentex.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "freebsd-net@freebsd.org" , wishmaster X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2014 20:50:03 -0000 On Mon, Feb 17, 2014 at 03:40:31PM -0500, Mike Tancsa wrote: > On 2/17/2014 1:58 PM, Luigi Rizzo wrote: > > On Mon, Feb 17, 2014 at 08:36:06PM +0200, wishmaster wrote: > >> > >> Thanks, prof. Luigi. > >> > >> As for me, netmap-ipfw is especially interesting. Would you like add some examples for userspace bundle of ipfw and dummynet. Because not all clear in README-file. > >> > >> E.g. I have classic router with 2 interfaces igb > > > > replace the "vale" ports with "netmap:igb0" and "netmap"igb1" > > and off you go. > > Apart from the man pages, is there a repository of documentation and > examples somewhere ? not really. but apart from the plumbing into the interfaces, this is just the FreeBSD/head ipfw code with obvious features disabled (e.g. there is no access to local sockets or address lists or routing tables so things like 'me', 'uid xx', 'verrpath' do not work). And it could definitely be improved to work on more interfaces, become multithreaded etc, but this is an exercise that i hope someone else will take over. cheers luigi