Jennifer Rexford Princeton University MW 11:00am-12:20pm Measurement COS 597E: Software Defined Networking.

Slides:



Advertisements
Similar presentations
Network Monitoring and Security Nick Feamster CS 4251 Spring 2008.
Advertisements

Overview of IETF work on IP traffic flow measurement and current developments Dr. Jürgen Quittek General Manager Network Research Division, NEC Europe.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Logically-Centralized Control COS 597E: Software Defined Networking.
IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
SDN Applications Jennifer Rexford Princeton University.
Nanxi Kang Princeton University
OpenSketch Slides courtesy of Minlan Yu 1. Management = Measurement + Control Traffic engineering – Identify large traffic aggregates, traffic changes.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—4-1 Implementing Inter-VLAN Routing Deploying Multilayer Switching with Cisco Express Forwarding.
Network Measurement COS 461 Recitation
Trajectory Sampling for Direct Traffic Observation Matthias Grossglauser joint work with Nick Duffield AT&T Labs – Research.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Page: 1 Director 1.0 TECHNION Department of Computer Science The Computer Communication Lab (236340) Summer 2002 Submitted by: David Schwartz Idan Zak.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
Network Measurement Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
1 Web Proxies Dr. Rocky K. C. Chang 6 November 2005.
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
ECE 526 – Network Processing Systems Design Packet Processing II: algorithms and data structures Chapter 5: D. E. Comer.
Jennifer Rexford Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks Detecting.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Hash, Don’t Cache: Fast Packet Forwarding for Enterprise Edge Routers Minlan Yu Princeton University Joint work with Jennifer.
Computer Networks Layering and Routing Dina Katabi
Connecting LANs, Backbone Networks, and Virtual LANs
Computer Networks Switching Professor Hui Zhang
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Jennifer Rexford Princeton University MW 11:00am-12:20pm Programmable Data Planes COS 597E: Software Defined Networking.
Traffic Monitoring, Estimation, and Engineering Nick Feamster CS 7260 February 19, 2007.
Workpackage 3 New security algorithm design ICS-FORTH Paris, 30 th June 2008.
NetfFow Overview SANOG 17 Colombo, Sri Lanka. Agenda Netflow –What it is and how it works –Uses and Applications Vendor Configurations/ Implementation.
Network Flow-Based Anomaly Detection of DDoS Attacks Vassilis Chatzigiannakis National Technical University of Athens, Greece TNC.
Software-Defined Networks Jennifer Rexford Princeton University.
Traffic Engineering for ISP Networks Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
Network Measurement Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 5. Passive Monitoring Techniques.
Using Measurement Data to Construct a Network-Wide View Jennifer Rexford AT&T Labs—Research Florham Park, NJ
NetFlow: Digging Flows Out of the Traffic Evandro de Souza ESnet ESnet Site Coordinating Committee Meeting Columbus/OH – July/2004.
Vladimír Smotlacha CESNET Full Packet Monitoring Sensors: Hardware and Software Challenges.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Review the key networking concepts –TCP/IP reference model –Ethernet –Switched Ethernet –IP, ARP –TCP –DNS.
24/10/2015draft-novak-bmwg-ipflow-meth- 03.txt 1 IP Flow Information Accounting and Export Benchmarking Methodology
EECB 473 DATA NETWORK ARCHITECTURE AND ELECTRONICS PREPARED BY JEHANA ERMY JAMALUDDIN Basic Packet Processing: Algorithms and Data Structures.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Jennifer Rexford Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks Network.
Project Requirements (NetFlow Generator) 정승화 분산 처리 및 네트워크 관리 연구실 포항 공과 대학교
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Programming Languages for Software Defined Networks Jennifer Rexford and David Walker Princeton University Joint work with the.
Open-Eye Georgios Androulidakis National Technical University of Athens.
Efficient Cache Structures of IP Routers to Provide Policy-Based Services Graduate School of Engineering Osaka City University
Workpackage 3 New security algorithm design ICS-FORTH Ipswich 19 th December 2007.
Net Flow Network Protocol Presented By : Arslan Qamar.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Jennifer Rexford Princeton University MW 11:00am-12:20pm SDN Programming Languages COS 597E: Software Defined Networking.
1 CSE 5346 Spring Network Simulator Project.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Data-Plane Verification COS 597E: Software Defined Networking.
POSTECH DP&NM Lab Detailed Design Document NetFlow Generator 정승화 DPNM Lab. in Postech.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
BUFFALO: Bloom Filter Forwarding Architecture for Large Organizations Minlan Yu Princeton University Joint work with Alex Fabrikant,
Jennifer Rexford Princeton University
Chapter 4 Data Link Layer Switching
Chapter 6 Delivery & Forwarding of IP Packets
Hubs Hubs are essentially physical-layer repeaters:
ECE 544 Protocol Design Project 2016
Network Core and QoS.
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Programmable Networks
Chapter 3 Part 3 Switching and Bridging
Data Plane Jennifer Rexford Fall 2018 (TTh 1:30-2:50 in Friend 006)
Network-Wide Routing Oblivious Heavy Hitters
Ch 17 - Binding Protocol Addresses
BGP Instability Jennifer Rexford
Network Core and QoS.
Presentation transcript:

Jennifer Rexford Princeton University MW 11:00am-12:20pm Measurement COS 597E: Software Defined Networking

Measurement vs. Metrics 2 active measurements packet and flow measurements, link load topology, configuration, routing, link properties end-to-end performance state traffic average download time of a web page link bit error rate link utilization end-to-end delay and loss active topologytraffic matrix demand matrix active routes TCP bulk throughput

Reducing Measurement Overhead Filtering, Aggregation, and Sampling 3

Reducing Measurement Overhead Measurement overhead –In some areas, you could measure everything –Information processing not the bottleneck –Networking: thinning is crucial! Reducing measurement traffic: –Filtering –Aggregation –Sampling –...and combinations thereof 4

Filtering Measure selectively –Only record statistics for a subset of traffic Examples –Matching a destination prefix –For a certain service class –Violating an access control list –TCP SYN or RST packets (attacks, abandoned http download) 5

Aggregation Coarse-grained statistics –Combine related traffic together Example: srcip and dstip 6 src dest# pkts# bytes a.b.c.dm.n.o.p e.f.g.hq.r.s.t7280 i.j.k.lu.v.w.x

Sampling Select a “random” subset of traffic –Representative of all traffic Examples –Random –Round-robin –Hash-based 7 XXXX X 16 packets: estimate ¾ blue and ¼ red

Comparison 8 Sampling Filtering Aggregation Generality Local Processing Local memory Compression Precisionexact approximate constrained a-priori constrained a-priori general filter criterion for every object table update for every object only sampling decision none one bin per value of interest none depends on data depends on data controlled

Traffic Monitoring Techniques Links, Flows, and Packets 9

Traffic Monitoring Techniques Link monitoring –Group all packets on the same link –Average load, loss, corruption, … Flow monitoring –Group similar packets into flows –Same header fields and close in time Packet monitoring –Capture first n bytes of a packet 10

IP Flows Set of packets that “belong together” –Source/destination IP addresses and port numbers –Same protocol, ToS bits, … –Same input/output interfaces at a router (if known) Packets that are “close” together in time –Max spacing between packets (e.g., 15 sec, 30 sec) –Example: flows 2 and 4 are different flows due to time 11 flow 1flow 2flow 3 flow 4

Netflow: Traffic Data Packet header information –Src/dst IP, src/dst port numbers, ToS bits, … Summary statistics –Start and finish times –Number of bytes and packets –TCP flags (logical OR over all packets) 12 start finish 4 packets 1436 bytes SYN, ACK, & FIN SYN ACK FIN

Netflow: Routing Information Routing information –Input and output ports –Source and destination prefix –Source and destination Autonomous System 13 Switching Fabric Processor Line card BGP table forwarding table

Netflow: Measuring in Passing 14 input output source AS source prefix source dest AS dest prefix dest intermediate AS Source and destination: IP header Source and dest prefix: forwarding table or BGP table Source and destination AS: BGP table

Netflow: Implementation Maintain a cache of active flows –Storage of byte/packet counts, timestamps, etc. Compute a key per incoming packet –Concatenation of source, destination, port #s, etc. Index into the flow cache based on the key –Creation or updating of an entry in the flow cache 15 #bytes, #packets, start, finish packet key header key

Netflow: Implementation Flow timeout –Remove flows that have not received a packet recently –Periodic sequencing through the cache to time out flows Cache replacement –Remove flow(s) when the flow cache is full –Evict existing flow(s) upon creating a new cache entry –Apply eviction policy (LRU, random flow, etc.) Long-lived flows –Remove flow(s) that persist for a long time (e.g., 30 min) –… otherwise flow statistics don’t become available –… and the byte and packet counters might overflow 16

Sampled Netflow Packet sampling –Perform operations on 1/m packets Reducing overhead –Avoid per-packet overhead on (m-1)/m packets –Avoid creating records for the many small flows May split some long flows 17 time not sampled two flows timeout

Netflow vs. sFlow Netflow –Aggregates (sampled) IP packets into flows –(Data-plane overhead of storing flow state) –Originally only on Cisco routers sFlow –Exports packet samples directly –Measures layer-two packets (ARP, DHCP) –Polls on-switch counters 18

Sketches 19

Streaming Algorithms Processing data streams –Input items presented one at a time –Each item examined (say) only once Limited resources –Processing –Memory Approximate answer –Based on a summary or “sketch” of the data –Provable space-accuracy trade-off 20

Bloom Filter Set-membership problem –Was element x in the input stream? Solution (with false positives) –Per-item: compute s hash functions, set bit to1 –Query: compute s hashes, check if all bits are 1 21 h 1 (x)h 2 (x)h s (x) x V0V0 V m-1 h 3 (x)

Count Min Sketch Counting problem –Count number of occurrences of item x Solution –Per-item: compute s hashes, increment counts –Query: compute s hashes, select the min value 22 h 1 (x) h 2 (x) x h 3 (x)

SDN Measurement OpenFlow 1.0 –Rules with byte and packet counters –Sending packets to a collector or controller Existing measurement techniques –E.g., sFlow support What measurement support do we want? 23