Network traffic telemetry (NetFlow, IPFIX, sflow)



Similar documents
Traffic analysis with NetFlow

Collec+ng NetFlow with pmacct

Collec'ng NetFlow with pmacct

pmacct: introducing BGP na2vely into a NetFlow/sFlow collector

NetFlow & BGP multi-path: quo vadis?

Splunk for Networking and SDN

NetFlow & BGP multi-path: quo vadis?

Fluke Networks NetFlow Tracker

NetFlow: What is it, why and how to use it? Miloš Zeković, ICmyNet Chief Customer Officer Soneco d.o.o.

Introduction to Netflow

Stream Deployments in the Real World: Enhance Opera?onal Intelligence Across Applica?on Delivery, IT Ops, Security, and More

SolarWinds Technical Reference

Scalable Extraction, Aggregation, and Response to Network Intelligence

NetFlow Tracker Overview. Mike McGrath x ccie CTO mike@crannog-software.com

An Integrated Approach to Manage IT Network Traffic - An Overview Click to edit Master /tle style

pmacct: introducing BGP natively into a NetFlow/sFlow collector

NetFlow/IPFIX Various Thoughts

Cisco Catalyst 4948E NetFlow- lite

Wireshark Developer and User Conference

sflow Why You Should Use It And Like It NANOG 39 February 04-07, 2007

Network Monitoring and Management NetFlow Overview

Viete, čo robia Vaši užívatelia na sieti? Roman Tuchyňa, CSA

NetQoS Delivers Distributed Network

Flow Analysis Versus Packet Analysis. What Should You Choose?

IPv6 network management. Where and when?

How good can databases deal with Netflow data

CISCO INFORMATION TECHNOLOGY AT WORK CASE STUDY: CISCO IOS NETFLOW TECHNOLOGY

Anycast Rou,ng: Local Delivery. Tom Daly, CTO h<p://dyn.com Up,me is the Bo<om Line

NetFlow-Lite offers network administrators and engineers the following capabilities:

IPv6 network management. 6DEPLOY. IPv6 Deployment and Support

Agenda. sflow intro. sflow architecture. sflow config example. Summary

PANDORA FMS NETWORK DEVICE MONITORING

Using RDBMS, NoSQL or Hadoop?

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

PANDORA FMS NETWORK DEVICES MONITORING

and reporting Slavko Gajin

Whitepaper. NetFlow vs. sflow: A Technical Review. plixer. International

Real World IPv6 Migration Solutions. Asoka De Saram Sr. Director of Systems Engineering, A10 Networks

Texas Digital Government Summit. Data Analysis Structured vs. Unstructured Data. Presented By: Dave Larson

Netflow Overview. PacNOG 6 Nadi, Fiji

Open Source in Network Administration: the ntop Project

Maintaining Non-Stop Services with Multi Layer Monitoring

Overview. Why use netflow? What is a flow? Deploying Netflow Performance Impact

redborder IPS redborder Just common sense IPS overview Common sense

Get Your FIX: Flow Information export Analysis and Visualization

How To Set Up Foglight Nms For A Proof Of Concept

Understanding Flow and Packet Deduplication

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

Network Agent Quick Start

Quick Start for Network Agent. 5-Step Quick Start. What is Network Agent?

IPv6 Network Management.

DTCC Data Quality Survey Industry Report

Network traffic monitoring and management. Sonia Panchen 11 th November 2010

Cisco IOS Flexible NetFlow Technology

Troubleshooting and Maintaining Cisco IP Networks Volume 1

Securing and Monitoring BYOD Networks using NetFlow

Recommendations for Network Traffic Analysis Using the NetFlow Protocol Best Practice Document

Monitoring backbone networks

Chapter 7 Configuring Trunk Groups and Dynamic Link Aggregation

Best of Breed of an ITIL based IT Monitoring. The System Management strategy of NetEye

Plugging Network Security Holes using NetFlow. Loopholes in todays network security solutions and how NetFlow can help

Redefine Network Visibility in the Data Center with the Cisco NetFlow Generation Appliance

Enterprise. Thousands of companies save 1me and money by using SIMMS to manage their inventory.

plixer Scrutinizer Competitor Worksheet Visualization of Network Health Unauthorized application deployments Detect DNS communication tunnels

WhatsUpGold. v NetFlow Monitor User Guide

[Optional] Network Visibility with NetFlow

The Value of Flow Data for Peering Decisions

Application Latency Monitoring using nprobe

Apache CloudStack 4.x (incubating) Network Setup: excerpt from Installation Guide. Revised February 28, :32 pm Pacific

Firewalls P+S Linux Router & Firewall 2013

Who is Generating all This Traffic?

Building a better NetFlow

Section 2: Network monitoring based on flow measurement techniques

CHAPTER 1 WhatsUp Flow Monitor Overview. CHAPTER 2 Configuring WhatsUp Flow Monitor. CHAPTER 3 Navigating WhatsUp Flow Monitor

Flow Based Traffic Analysis

SEC , Cisco Systems, Inc. All rights reserved.

Network Monitoring Comparison

Scaling Up Your Network Monitoring: From the Garden Hose to the Fire Hose

Gaining Operational Efficiencies with the Enterasys S-Series

Monitoring high-speed networks using ntop. Luca Deri

TE in action. Some problems that TE tries to solve. Concept of Traffic Engineering (TE)

UAB Cyber Security Ini1a1ve

Network-Wide Class of Service (CoS) Management with Route Analytics. Integrated Traffic and Routing Visibility for Effective CoS Delivery

High-Speed Network Traffic Monitoring Using ntopng. Luca

Chapter 3. Database Architectures and the Web Transparencies

Traffic Monitoring using sflow

Transcription:

Network traffic telemetry (NetFlow, IPFIX, sflow) Paolo Lucente pmacct MENOG 13 mee+ng, Kuwait City Sep 2013

Network traffic telemetry (NetFlow, IPFIX, sflow) Agenda o whoami: Paolo & pmacct o Ramblings: Square 0 to reporting MENOG 13 mee+ng, Kuwait City Sep 2013

whoami: Paolo Been originally working for operators for a while Been working for vendors for a liple while aqer that Been involved with IP accoun+ng for a while Hence I stumbled upon NetFlow in the 90 s J Within operators, network traffic telemetry is beneficial in several contexts, ie.: Traffic engineering Capacity planning Peering and also (ie. not only) security

pmacct is open- source, free, GPL ed soqware libpcap MySQL PgSQL SQLite sflow NetFlow IPFIX pmacct MongoDB BerkeleyDB tee sflow BGP maps IGP memory tables flat-files RabbitMQ NetFlow IPFIX hpp://www.pmacct.net/

Network traffic telemetry (NetFlow, IPFIX, sflow) Agenda o whoami: Paolo & pmacct o Ramblings: Square 0 to reporting MENOG 13 mee+ng, Kuwait City Sep 2013

Square 0 NetFlow is not the only exis+ng export protocol Consistent trend is to build extensible protocol formats by means of templates (NetFlow v9, IPFIX) or modules (sflow) Export protocols, versions and templates (or modules) available are solely mandated by the underlying network hardware, ie.: Cisco? NetFlow! Juniper? NetFlow and IPFIX on M/T/MX; sflow on EX Brocade? sflow!

Square 0.5 Another consistent trend: telemetry protocols being generalized: Tradi+onally NetFlow/IPFIX and sflow would report on network traffic NetFlow now reports on firewall and NAT events sflow now reports on VM system resources Addi+onal pressure put on the collector Tradi+onally has to handle K or M flows/s Now if a CGN blade resets, it could be tens or hundreds M events reported in one go.

Square 1 Essen+ally, top- down approach Do: Start with a vision Start with goals to achieve Don t: Collect just for the sake of Collect because one day raw data will be useful.. Goals drive to requirements

Requirements (1/2) Given goals, network topology, hardware, etc. Define an export model: what devices (routers, switches,..) need to export which interfaces need to report which direc+on, inbound or outbound or both? whether to sample or not and if yes how much Reality checks: don t just assume hardware can follow the ideal export model; double- check vendor capabilices

Requirements (2/2) Is the network traffic telemetry going to do the job alone or not? For example: Correla+on with BGP benefits peering and IP transit analysis (profitability, costs, viola+ons, etc.) Correla+on with IGP (plus es+ma+on methods) benefits traffic engineering and capacity planning Is there any margin for use of data reduc+on techniques? Micro- flow informa+on and as much as possible 1:1 sampling rate benefits security applica+ons and R&D Requirements drive to choice of tooling and storage (ie. flat- files, RRD, RDBMS, NoSQL, etc.)

Collector implementa+on - gotchas Organiza+onal 800 pound gorilla project spanning across different departments (including IT and Security where exis+ng) Technical Exporters loose data along the way (hw/sw limits) Collectors loose data along the way (horizontal scalability must be possible) Over- engineered protocol features (ie. NetFlow v9, IPFIX sampling) drive to own crea+ve implementa+ons Verify expectacons and perform consistency checks against other sources, ie. interface counters

Collector implementa+on - scalability Divide- et- impera approach, ie.: Assign probes to collectors Assign collectors to storages, ie. database par++ons Work on data reduc+on (if allowed by the goal): Increase sampling rate Aggrega+on at the exporter or (beper) at the collector Fit data into larger +me- bins Remove from the equa+on interfaces which are not strictly essen+al to the task, ie. low- speed Do take into account on larger deployments that a single collector might not fit all the bill due to, typically, CPU or memory constraints

Storage method selec+on Plenty on the offer: flat- files, RDBMS, RRD, nosql DB, message brokers, memory tables, etc.: I do not come here with general statements (in fact: the strategy of pmacct, for example, is to support them all) In fully integrated products (ie. backend + frontend) this is transparent to end- users Otherwise, if open access to data is provided/needed (which btw some fully integrated products also offer): Depends, ie. whether a well- known query language like SQL is a pro; an indexed storage is a pro; an have it all to the micro- flow level kind of storage is a pro; etc. OQen it s maper of personal preferences, ie. what one feels most comfortable to query once in produc+on

Maintenance (1/2) (Script to) verify the right set of data is hirng the collector: Ingress + egress direc+ons can lead to duplicates Backbone + edge interfaces can lead to duplicates Network infrastructure evolves: mistakes and forgerng is around the corner (Script to) track collector hardware resources: Supports the divide- et- impera approach It s good rule to do it anyway

Maintenance (2/2) (Script to) keep data- set size under control: Valid for both memory and disk- based storage methods Drop older data is less complex than consolida+ng; if going for inexpensive storage, ie. disk, consider collec+ng same data at different +me resolu+ons, with different expira+on periods Aggregate same set of data on- the- fly in mul+ple ways in parallel, project- oriented!, is less complex than storing micro- flows then sub- aggrega+ng to build specific reports

Repor+ng (1/2) Repor+ng via email or web is popular Key is interac+on between backend and frontend: If open access is granted to data- set, great stuff! Otherwise, make sure new reports can be (easily) generated as requirements emerge Repor+ng can influence organiza+on of the backend, ie. RDBMS re- indexing Flexibility must be possible (if Sales, Purchase, Product Management, etc. find it useful be prepared to handle their creacvity!)

Repor+ng (2/2) Holy grail: a catch- all frontend encompassing a mix of na+ve and scriptable func+onali+es (, reports, etc.) IMHO, value is really in having data available: I got recently reported: I have put together a frontend capturing most of the data visualizacon requirements of my company in 48 hours with Twi[er Bootstrap. And honestly it was a nice one.

Network traffic telemetry (NetFlow, IPFIX, sflow) Thanks for your attention! Questions? Now or later.. Paolo Lucente pmacct <paolo at pmacct dot net> Keep in touch via LinkedIn MENOG 13 mee+ng, Kuwait City Sep 2013