120 likes | 249 Views
NetServ Tutorial Quick and easy network service and packet processing using NetServ. Jae Woo Lee and Roberto Francescangeli. Outline. Introduction to NetServ Hands-on tutorial NetServ under the hood Wrap-up. What is NetServ ?. In-network service container
E N D
NetServTutorialQuick and easy network service and packet processing using NetServ JaeWoo Lee and Roberto Francescangeli
Outline • Introduction to NetServ • Hands-on tutorial • NetServ under the hood • Wrap-up
WhatisNetServ? • In-network service container • Java-programmable, signal-driven router • Active networking 2.0
NetServ and GENI • NetServ was a GENI Alpha project • Demonstrated at GEC9 plenary session • NetServ as GENI-Lite • Deploy Java modules instead of VMs • What is it good for? • Rapiddevelopment and prototyping on GENI • Sharing GENI resources – ex. classrooms
NetServNode Architecture Server modules Client- Server data packets NSLP daemon OSGi control sockets OSGi Service Container NetServ Controller UNIX socket Packet processing modules NetServ Control Protocol (TCP) Transport layer GIST daemon OSGi OSGi Service Container Service Container iptables command Raw socket Forwarded data packets NFQUEUE #1 NFQUEUE #2 Netfilter Signaling packets Linux kernel
Screenshot • Traffic visualization: http://pc517.emulab.net/visual/index.html?id=50 (If you open this URL in your browser, remember to replace “50” with your user number)
Tutorial GENI Topology pc487.emulab.net D1 OSGi Service Container 10.10.2.2 … N 1 – Trafficflows … 10.10.1.1 NetServ Routerwith 50 JVMspc508.emulab.net D2 4 – Installmodule 3 – Deploy NetServmodule 10.10.3.2 ProtoGENITopology pc517.emulab.net 2 – User compilesNetServmodule Tutorial User
Hands-on Tutorial • Step-by-step instruction: • http://groups.geni.net/geni/wiki/GEC11NetServTutorialInstruction
NetServ container under the hood Packet processing application module 1 Packet processing application module 2 Server application module 1 Client-server data packets dispatcher.addPktProcessor(this); Servlet API Xuggler Packet dispatcher XML-RPC … … … Command from NetServ controller System modules Library modules Wrappers for native functions Building block layer OSGi JVM Forwarded data packets libnetfilter_queue NFQUEUE Linux kernel
NSIS-based on-pathsignaling NetServrepository Signaling message is sent towards the destination rather than to a specific router N1 N2 N3
Future Work • OpenFlow integration • NetServ node as a side-car • NetServ on commercial router • JUNOS SDK • Internet multicast using NetServ • Hybrid of ALM and IP multicast • Authentication and authorization using RPKI
Wrap-up • Please complete a (very) short survey • Link at the end of the step-by-stepinstruction • NetServ homepage • http://www.cs.columbia.edu/irt/project/netserv/ • Subscribe to netserv-users mailing list • Wewould appreciateyour feedback!