1 / 19

Overview of IETF work on IP traffic flow measurement and current developments

ITU-T Workshop on IP Traffic Flow Measurement (Geneva, Switzerland, 24 March 2011). Overview of IETF work on IP traffic flow measurement and current developments. Dr. Jürgen Quittek General Manager Network Research Division, NEC Europe Ltd. Heidelberg, Germany. IP packets and flows.

toni
Download Presentation

Overview of IETF work on IP traffic flow measurement and current developments

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ITU-T Workshop onIP Traffic Flow Measurement(Geneva, Switzerland, 24 March 2011) Overview of IETF work on IP traffic flow measurement and current developments Dr. Jürgen QuittekGeneral ManagerNetwork Research Division, NEC Europe Ltd.Heidelberg, Germany

  2. IP packets and flows Flows can be long lasting... … … … … … or have a limited lifetime... … and packets may belong to more than one flow • Typical reported flow information: • start time • end time • #packets • #bytes t Periodically reported for long lasting flows Groups of IP packets sharing common characteristics (e.g IP src/dst address, TOS field, protocol, transport layer ports, etc.)

  3. The general (passive) IP traffic measurement process packets packets Packet Capturing PAYLOAD HEAD PAYLOAD HEAD PAYLOAD HEAD PAYLOAD HEAD flow records flow records flow records Sampling both steps may be trivial (1:1 sampling, no filtering) packets Filtering packet reports Metering process Classification & Flow Recording Exporting process flow records Sampling ObservationPoint (router, probe, etc.) Filtering

  4. The flow monitoring process Database Flow cache: Creates/Removes/Updates flow records Router functionality or dedicated Probe Meter: Filters packets, timestamps them and associates Pkts to flow(s) Exporter: Reads Flow cache, prepares and sends export packets • Flow Key • Flow start time • Flow last update time • # Pkts • # Bytes Exp HD info info info • …. • …. Exp HD info info info … … Collector: Receives export packets, interfaces to applications … … IETF IPFIX (Netflow v9)

  5. Flow monitoring issues • Flows have very different characteristics • long-/short-lived, high/low volume, etc. • Creating/updating flow record at high speed links • packet sampling • fast memory for flow cache, flow sampling • Timing out flows (TCP FIN/RST vs. timeout) • Reporting • flow cache reading effort, reporting frequency • selective report • Reporting format • fixed format: Netflow 5 • template based: Netflow 9, IPFIX

  6. IETF activities on IP traffic measurement • Three working groups • IPPM: IP Performance Metrics • defines metrics for performance measure-ments (delay, roundtrip time, loss, etc.) • IPFIX: IP Flow Information eXport • defines protocol for export of flow data • PSAMP: Packet Sampling (concluded) • defines protocol for export of packet data • based on IPFIX

  7. IPFIX protocolIP Flow Information eXport • Established 2001 • Main goal: Develop common IP traffic flow reporting protocol to be available on most future routers • meeting requirements of many applications • low hardware/software costs • simple, • Scalable • extensible • http://datatracker.ietf.org/wg/ipfix/

  8. Further requirements for IPFIX I • Distinguishing flows by • 5-tuple (IP addresses, protocol, port) • MPLS label, TOS fields • interface & direction • Flexible aggregation of flows • Metering Process • timestamps • flow timeouts

  9. Further requirements for IPFIX II • Extensible information/data model • flow properties and statistics • many header fields • anonymization • Reliable and secure data transfer • congestion awareness • push model reporting • Configuration

  10. IPFIX architecture PAYLOAD HEAD PAYLOAD HEAD PAYLOAD HEAD PAYLOAD HEAD PAYLOAD HEAD PAYLOAD HEAD PAYLOAD HEAD PAYLOAD HEAD Flow Information Export Application Exporting Process Collecting Process Flow Record MeteringProcess Observation Point

  11. IPFIX devices Probe Simple Router Complex Router Multiple Exporters E E E E E M M M M M M O O O O O O O O O O O O O O O O O O O O O Concen-trator Proxy Protocol Converter E … M E E C M E C E O M (Meter MIB) Observation Point E O O Metering Process M M M E Exporting Process O O C Collecting Process

  12. IPFIX protocol design • Based on NetFlow version 9 • Binary-coded flow record arrays • Templates for flow record formats • first send a template • then send data records with the format defined by the template • Runs over SCTP, TCP, UDP

  13. IPFIX information model • A flow record contains • header fields (transport, IP, sub-IP) • "flow keys" used for distinguishing flows • counters for packets, bytes, etc. • time stamps • further flow properties • min/max values, duration, direction • next hop IP address • BGP source AS, destination AS, next hop AS • may also be used as flow keys • All defined as "Information Elements"

  14. IPFIX normative documents core protocol specification • RFC 5101: Specification of the IPFIX Protocol for the Exchange of IP Traffic Flow Information, 2008 • RFC 5102: Information Model for IPFIX, 2008 • RFC 5103: Bidirectional Flow Export Using IPFIX, 2008 • RFC 5473: Reducing Redundancy in IPFIX and PSAMP Reports, 2009 • RFC 5610: Exporting Type Information for IPFIX Information Elements, 2009 • RFC 5655: Specification of the IPFIX File Format, 2009 • RFC 5815: Definitions of Managed Objects for IPFIX, 2010

  15. IPFIX informational documents • RFC 3917: Requirements for IPFIX, 2004 • RFC 3955: Evaluation of Candidate Protocols for IPFIX, 2004 • RFC 5153: IPFIX Implementation Guidelines, 2008 • RFC 5470: Architecture for IPFIX, 2009 • RFC 5471: Guidelines for IPFIX Testing, 2009 • RFC 5472: IPFIX Applicability, 2009 • RFC 5982: IPFIX Mediation: Problem Statement, 2010

  16. Current issues in the IPFIX WG • Configuration • interface for configuring IPFIX devices • defined as YANG module • Mediation • particularly for large networks • driven by NTT • aggregation • anonymization • Flow selection • Structuring flow records • extending IPFIX capabilities • Using IPFIX for reporting other information • MIB variables, SIP server logs, etc.

  17. PSAMP • Established in Summer 2002 • Focus on sampling and capturing packets and on transferring them to data collectors • Target applications • traffic profiling • monitoring network behavior • Extends IPFIX export • Defines packet sampling with much more detail • packet filtering and sampling information model

  18. IPPM • "The IPPM WG will produce documents that define specific metrics andprocedures for accurately measuring and documenting these metrics:" • connectivity • one-way delay and loss • round-trip delay and loss • delay variation • loss patterns • packet reordering • bulk transport capacity(BTC = data_sent / elapsed_time) • link bandwidth capacity • Refer to WG official page for list of already published RFCs and ID • http://datatracker.ietf.org/wg/ippm/

  19. Final remarks • The IETF developed IPFIX as standard protocol for reporting IP flow information • Technology is mature • many implementations • several interoperability testing events • major router vendors expected to release IPFIX soon as part of standard installation • IPFIX is extensible • BGP-related flow info can already be reported • additional information elements can be added • IPFIX can be used to report measurements at peering points • appropriate metering hardware required

More Related