Re: [tcpdump-workers] code available: netmap support for libpcap

2014-02-27 Thread Guy Harris
On Feb 15, 2014, at 2:10 PM, Luigi Rizzo wrote: > Netmap works at least on any interface visible to the OS > (in native or emulated mode, the latter with some limitations > e.g not when the interface is bound to a switch), So if I want to capture on eth0 in netmap mode, what interface name do I

Re: [tcpdump-workers] code available: netmap support for libpcap

2014-02-27 Thread Luigi Rizzo
On Thu, Feb 27, 2014 at 11:24 AM, Guy Harris wrote: > > On Feb 15, 2014, at 2:10 PM, Luigi Rizzo wrote: > > > Netmap works at least on any interface visible to the OS > > (in native or emulated mode, the latter with some limitations > > e.g not when the interface is bound to a switch), > > So if

Re: [tcpdump-workers] code available: netmap support for libpcap

2014-02-27 Thread Guy Harris
On Feb 15, 2014, at 2:10 PM, Luigi Rizzo wrote: > Netmap works at least on any interface visible to the OS > (in native or emulated mode, the latter with some limitations > e.g not when the interface is bound to a switch), > but ports of VALE switches and netmap pipes are dynamically created > s

Re: [tcpdump-workers] code available: netmap support for libpcap

2014-02-27 Thread Guy Harris
On Feb 27, 2014, at 12:57 PM, Luigi Rizzo wrote: > this can be used to plumb things together. If you want to plumb things together, do you need libpcap? > Say you want to interconnect two VMs, Why would I use libpcap for that? > or a traffic generator and a firewall/ids/monitor > that you wa

Re: [tcpdump-workers] code available: netmap support for libpcap

2014-02-27 Thread Luigi Rizzo
On Thu, Feb 27, 2014 at 1:05 PM, Guy Harris wrote: > > On Feb 27, 2014, at 12:57 PM, Luigi Rizzo wrote: > > > this can be used to plumb things together. > > If you want to plumb things together, do you need libpcap? > the plumbing is done by netmap/vale/netmap pipes. libpcap is "only" a shim l

Re: [tcpdump-workers] code available: netmap support for libpcap

2014-02-27 Thread Guy Harris
On Feb 27, 2014, at 1:16 PM, Luigi Rizzo wrote: > On Thu, Feb 27, 2014 at 1:05 PM, Guy Harris wrote: > >> On Feb 27, 2014, at 12:57 PM, Luigi Rizzo wrote: >> >>> this can be used to plumb things together. >> >> If you want to plumb things together, do you need libpcap? > > the plumbing is