From owner-freebsd-net@FreeBSD.ORG Sat Jul 19 09:33:27 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E32D28B for ; Sat, 19 Jul 2014 09:33:27 +0000 (UTC) Received: from mail.ipfw.ru (mail.ipfw.ru [IPv6:2a01:4f8:120:6141::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 541AE2A79 for ; Sat, 19 Jul 2014 09:33:27 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=ptichko.yndx.net) by mail.ipfw.ru with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1X8N4g-0009HL-27; Sat, 19 Jul 2014 09:20:46 +0400 Message-ID: <53CA3B4E.8080608@FreeBSD.org> Date: Sat, 19 Jul 2014 13:33:02 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Daniel Corbe , freebsd-net@freebsd.org Subject: Re: netmap, selective processing. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2014 09:33:27 -0000 On 16.07.2014 21:48, Daniel Corbe wrote: > I hope this it the right place to ask questions about netmap. I'm > toying with the idea of writing a netmap-based OSPF implementation > because bird's OSPF implementation isn't as good as its BGP Hm. What do you need from bird OSPF implementation? IMHO it is much easier to improve and merge bird code instead of writing another OSPF implementation from scratch. There are _some_ non-resolved issues with OSPF lsa withdrawal/announce, but it will be fixed "soon". > implementation, quagga doesn't scale well and openospfd doesn't compile > on 10-RELEASE or CURRENT. > > But I'm only interested in selectively processing packets on the > netmap-enabled interface. Is there a way to do this? Or alternatively Yes, you can do this by adding another to-host inteface. AFAIK current bridge code for netmap is a good example. In fact, we're using netmap as forwarding appliance with bird as control plane mechanism. > if I throw the IF into netmap mode, can I process what I'm interested in > processing and then somehow throw the rest of the traffic back up to the > host's IP stack? > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >