From owner-freebsd-net@FreeBSD.ORG Sat Jan 18 16:40:59 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 81395217; Sat, 18 Jan 2014 16:40:59 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CD4B71F3E; Sat, 18 Jan 2014 16:40:58 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id w7so3354908lbi.35 for ; Sat, 18 Jan 2014 08:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=BrCNxVvDYiNOK0gXAxvx3Rxkj8siPr3UPrgMwS/aL1U=; b=XtnI5MNjJbbad82cL64j6Cv4X9cec5BNyZGOKAl/Rvj3pSQjiyjbTJTxMrPSwD/Ed6 CPI7ryVI6Yy17D+MKjfOyFNVlNZI3Ege/6N7ZDg4kGlR6uMEUvn20yMYTGHK9vK1xIq5 RzjowqZrGQZNbnprEG5qVKf+IT8dsxWRv6c9UGT5pQIlFWXmRd3/jLYIzKSMjjGXYJFo W4QJ3L2I2cW7vWs/zapasORsd5A5Qu6fxLXFKTX3nGTf46fBCQitdQWi4QAPKbObypP8 omdCfRcbfESdO3TTMtDcdQRPYdo7b7QzDxYsZUKhVXl+7MMT8l9j2Fqv1j3+0AojIM+r DyiQ== MIME-Version: 1.0 X-Received: by 10.112.53.201 with SMTP id d9mr4784819lbp.26.1390063256722; Sat, 18 Jan 2014 08:40:56 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.114.175.180 with HTTP; Sat, 18 Jan 2014 08:40:56 -0800 (PST) In-Reply-To: References: Date: Sat, 18 Jan 2014 08:40:56 -0800 X-Google-Sender-Auth: tlrn0rr9_TffriB8N9i295QwbKY Message-ID: Subject: Re: Port mirroring on FreeBSD From: Luigi Rizzo To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-net@freebsd.org" , hiren panchasara 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: Sat, 18 Jan 2014 16:40:59 -0000 On Sat, Jan 18, 2014 at 8:31 AM, Adrian Chadd wrote: > > > > > Some time ago the answer to this type of questions used to be > > "use netgraph". Maybe it is also a valid option but i do not > > know if there are modules that suit your need. > > part of me wonders whether having a netgraph style system for gluing > together netmap things but in userland would be useful. > there is such a thing, it is called click http://www.read.cs.ucla.edu/click/ https://github.com/kohler/click/ and it does have netmap support (i am about to push some updates). cheers luigi > > > -a > -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2211611 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------