Date: Tue, 11 Feb 2014 14:51:37 +0100 From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org> To: Dennis Yusupoff <dyr@smartspb.net> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Raimundo Santos <raitech@gmail.com> Subject: Re: netmap pipes (Re: vnet + netmap: how is it possible?) Message-ID: <CAPBZQG2J8dfLmxg-aNQ1gYGrbM%2BvYYB1gP7DefjvQCkPw-ELGg@mail.gmail.com> In-Reply-To: <52FA0444.3060806@smartspb.net> References: <CA%2BhQ2%2Bhfxtq5_toTttK0n2Ajfe8Vrh4z%2BzBhWnRXpeJPskmccw@mail.gmail.com> <CAPBZQG36fRntxYGQ-a7iX6rQj=G0bwb5-zvkBO33nr9d6_jiVg@mail.gmail.com> <CA%2BhQ2%2BhNn-RwxsmNu=esN7K6dboY8E2J6JAui3cVE7=qtY0B2Q@mail.gmail.com> <52FA0444.3060806@smartspb.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 11, 2014 at 12:06 PM, Dennis Yusupoff <dyr@smartspb.net> wrote: > Luigi, it will be really brilliant if you would be kind to show more > examples of use netmap with pipes, netgraph modules (for example, > ng_netflow) and so on, because many of network engineers use FreeBSD > without as strong programming skills as you have. At least I'm the one > of they. ;) > > BTW, Ermal, are the any chances to see you patches for work dummynet in > the PF? > > I will try to push them soon as they are validated for newer pf in HEAD/10.= * > 10.02.2014 21:28, Luigi Rizzo =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > On Mon, Feb 10, 2014 at 12:44 AM, Ermal Lu=C3=A7i <eri@freebsd.org> wro= te: > > > >> Hello Luigi, > >> > >> On Mon, Feb 10, 2014 at 2:14 AM, Luigi Rizzo <rizzo@iet.unipi.it> > wrote: > >> > >>> On Sun, Feb 9, 2014 at 4:21 PM, Raimundo Santos <raitech@gmail.com> > >>> wrote: > >>> > >>>> Hello list! > >>>> > >>>> I am willing to test an idea: modularize network functions using vne= t > >>>> jails. One vnet jail do the NAT, other do balancing, another one the > >>>> traffic shapping, and so on. > >>>> > >>> For these low level packet processing functions, jails are overkill. > >>> > >>> The upcoming version of netmap has "netmap pipes", > >>> pairs of netmap ports connected back to back and sharing memory, > >>> with blocking I/O through select/poll/epoll (and we are looking > >>> at supporting kqueue). > >>> > >>> You can use netmap pipes to build a graph of processes (nodes) > >>> which apply the desired transformations to your traffic. > >>> Nodes can be anything that speaks netmap (or libpcap), > >>> including your custom C code, Click instances, or whatever > >>> you like. > >>> > >>> > >> Is this netgraph overlayed over netmap or is something rewritten from > >> scratch? > >> > > nothing to do with netgraph, this is "simply" an > > extension of the netmap module. Also note this > > only provides the interconnection, you still have > > to build the processing modules. > > > > cheers > > luigi > > > > _______________________________________________ > > 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" > > > > > > -- > Best regards, > Dennis Yusupoff, > network engineer of > Smart-Telecom ISP > Russia, Saint-Petersburg > > _______________________________________________ > 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" > --=20 Ermal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG2J8dfLmxg-aNQ1gYGrbM%2BvYYB1gP7DefjvQCkPw-ELGg>