Monitoring high-speed networks using ntop. Luca Deri <deri@ntop.org>



Similar documents
Open Source in Network Administration: the ntop Project

Wire-speed Packet Capture and Transmission

The ntop Project: Open Source Network Monitoring

Who is Generating all This Traffic?

Inside ntop: An Open Source Network Monitoring Tool

Improving Passive Packet Capture: Beyond Device Polling

Open Source VoIP Traffic Monitoring

High-Speed Network Traffic Monitoring Using ntopng. Luca

Passively Monitoring Networks at Gigabit Speeds Using Commodity Hardware and Open Source Software. Luca Deri January 2003

ncap: Wire-speed Packet Capture and Transmission

Improving Passive Packet Capture: Beyond Device Polling

PANDORA FMS NETWORK DEVICES MONITORING

10 Gbit Hardware Packet Filtering Using Commodity Network Adapters. Luca Deri Joseph Gasparakis

PANDORA FMS NETWORK DEVICE MONITORING

Open Source VoIP Traffic Monitoring

Monitoring Network Traffic using ntopng

How To Set Up Foglight Nms For A Proof Of Concept

IPV6 流 量 分 析 探 讨 北 京 大 学 计 算 中 心 周 昌 令

High-speed Network and Service Monitoring. Luca Deri

Infrastructure for active and passive measurements at 10Gbps and beyond

Monitoring Network Traffic using ntopng

Network Monitoring Comparison

Cisco NetFlow TM Briefing Paper. Release 2.2 Monday, 02 August 2004

Application Latency Monitoring using nprobe

Observer Probe Family

Flow Analysis Versus Packet Analysis. What Should You Choose?

Passively Monitoring Networks at Gigabit Speeds Using Commodity Hardware and Open Source Software

Introduction to Netflow

Collecting Packet Traces at High Speed

Increasing Data Center Network Visibility with Cisco NetFlow-Lite

CT LANforge-FIRE VoIP Call Generator

Traffic Monitoring in a Switched Environment

Tue Apr 19 11:03:19 PDT 2005 by Andrew Gristina thanks to Luca Deri and the ntop team

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

Cisco Branch Routers Series Network Analysis Module

Smart Tips. Enabling WAN Load Balancing. Key Features. Network Diagram. Overview. Featured Products. WAN Failover. Enabling WAN Load Balancing Page 1

Cisco Application Networking Manager Version 2.0

Network Monitoring and Management NetFlow Overview

New!! - Higher performance for Windows and UNIX environments

Transparent Optimization of Grid Server Selection with Real-Time Passive Network Measurements. Marcia Zangrilli and Bruce Lowekamp

mbits Network Operations Centrec

Traffic monitoring with sflow and ProCurve Manager Plus

Reducing Network Traffic in CERNET

theguard! Service Management Center (Valid for Version 6.3 and higher)

Traffic Monitoring using sflow

HP Intelligent Management Center v7.1 Network Traffic Analyzer Administrator Guide

Quantifying the Performance Degradation of IPv6 for TCP in Windows and Linux Networking

Network Management & Monitoring

Network Performance Optimisation and Load Balancing. Wulf Thannhaeuser

CT LANforge WiFIRE Chromebook a/b/g/n WiFi Traffic Generator with 128 Virtual STA Interfaces

Observer Analysis Advantages

Performance Evaluation of VMXNET3 Virtual Network Device VMware vsphere 4 build

Enhancing Flow Based Network Monitoring

NetFlow Subinterface Support

Beyond Monitoring Root-Cause Analysis

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

Towards 100 Gbit Flow-Based Network Monitoring. Luca Deri Alfredo Cardigliano

Autonomous NetFlow Probe

Flow Based Traffic Analysis

SIP Infrastructure Performance Testing

Wireshark in a Multi-Core Environment Using Hardware Acceleration Presenter: Pete Sanders, Napatech Inc. Sharkfest 2009 Stanford University

Packet Capture in 10-Gigabit Ethernet Environments Using Contemporary Commodity Hardware

Load Balance Router R258V

An Introduction to VoIP Protocols

AlliedWare Plus OS How To Use sflow in a Network

IPv6 Challenges for Embedded Systems István Gyürki

How To Manage Ipv6 Networks On A Network With Ipvv6 (Ipv6) On A Pc Or Ipv4 (Ip6) (Ip V6) Or Ip V6 ( Ipv5) ( Ip V5

IPv6 network management. Where and when?

NetQoS Delivers Distributed Network

Netflow Overview. PacNOG 6 Nadi, Fiji

Monitor all of your critical infrastructure from a single, integrated system.

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

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

IPv6 network management

IPv6 network management. 6DEPLOY. IPv6 Deployment and Support

ABSTRACT 1.1 MEASUREMENT APPROACHES 1. INTRODUCTION 2. OCXMON/CORAL PASSIVE MONITORING OF INTERNET TRAFFIC AT SUPERCOMPUTING 98

Increasing Data Center Network Visibility with Cisco NetFlow-Lite

RMON, the New SNMP Remote Monitoring Standard Nathan J. Muller

EINTE LAB EXERCISES LAB EXERCISE #5 - SIP PROTOCOL

ICND2 NetFlow. Question 1. What are the benefit of using Netflow? (Choose three) A. Network, Application & User Monitoring. B.


Multi-Homing Dual WAN Firewall Router

Firewall VPN Router. Quick Installation Guide M73-APO09-380

Transport and Network Layer

Section 2: Network monitoring based on flow measurement techniques

ntopng: Realtime Network Traffic View

IPv6 network management. Malta, April 2006

The Elements of GigE Vision

Network congestion control using NetFlow

Evaluation Report: Emulex OCe GbE and OCe GbE Adapter Comparison with Intel X710 10GbE and XL710 40GbE Adapters

Challenges in High Performance Network Monitoring

Performance of Host Identity Protocol on Nokia Internet Tablet

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

Silver Peak s Virtual Acceleration Open Architecture (VXOA)

Networking Driver Performance and Measurement - e1000 A Case Study

Ntop: beyond Ping and Traceroute

How To Use Ntop

Data Center Real User Monitoring

Transcription:

Monitoring high-speed networks using ntop Luca Deri <deri@ntop.org> 1

Project History Started in 1997 as monitoring application for the Univ. of Pisa 1998: First public release v 0.4 (GPL2) 1999-2002: Registered ntop.org, created mailing lists (ntop and ntop-dev) port to several platforms, part of many Linux distributions. 2002-03: Version 2.x, added support for commercial protocols (NetFlow v5 and sflow v2). 2004-05: Version 3.x (many parts have been recoded), added RRD support, IPv6 (Loria) and SCSI/FibreChannel (Cisco) support, NetFlow V9/IPFIX draft, sflow v5. 2

What is ntop? [1/2] ntop is a simple, open source (GPL), portable traffic measurement and monitoring tool, which supports various management activities, including network optimization and planning, and detection of network security violations. 3

What is ntop? [2/2] 4

What can ntop do for me? ntop has been created to solve a real monitoring problem (no planning, case studies, market analysis). By the time it has been extended to satisfy user requirements. Portable and platform neutral: deploy it wherever you want with the same look and feel. Minimal requirements to leverage its use. Suitable for monitoring both a LAN (default) and a WAN (don t forget to configure ntop properly). 5

Traffic Measurement Data sent/received: Volume and packets, classified according to network/ip protocol. Multicast Traffic. TCP Session History. Bandwidth Measurement and Analysis. VLAN/AS traffic statistics. VoIP (SIP, Cisco SCCP) Monitoring. 6

Traffic Characterisation and Monitoring Network Flows (user configurable) Protocol utilisation (# req, peaks/storms, positive/negative repl.) and distribution. Network Traffic Matrix. ARP, ICMP Monitoring. Detection of many popular P2P protocols (Caida paper) 7

Network Optimisation and Planning Passive network mapping: identification of Routers and Internet Servers (DNS, Proxy). Traffic Distribution (Local vs. Remote). Service Mapping: service usage (DNS, Routing). Network traffic map (Graphwiz) 8

Network Traffic Map 9

Network Inventory [1/2] Identification of routers and internet servers (DNS, NFS, proxy). Resource (Hw Manufacturer), services and OS inventory. Unhealthy hosts. 10

Network Inventory [2/2] 11

Host Fingerprint Based on http://ettercap.sourceforge.net/ 12

Host Health 13

VoIP Support 14

Integrating ntop into your network You can use ntop with as a stand-alone application (via web) or as a traffic measurement server. Ntop can export traffic data in several ways: Via the embedded SNMP agent (ntop MIB) XML RRD files PHP/Perl data export Ntop, by means of the rrd-alarm companion application, allow users to emit alarms based on some traffic conditions. 15

Introduction to Cisco NetFlow What is NetFlow? A Cisco-proprietary IP statistics collection feature that collects information on IP flows passing through a router. NetFlow Version 9 is a flexible and extensible means to carry NetFlow records from a network node to a collector. 16

Introduction to InMon sflow Ntop is part of the sflow.or consortium. Similar to NetFlow: probes send traffic flows to collectors over UDP in sflow format (RFC 3176). A sflow probe is basically a sniffer that captures packets at X rate (1:400 is default) and sends them coded in sflow format. The more flows are captured, the more precise are the statistics. Tuning sample rate allows probes to capture at Gb speeds and above. sflow in a nutshell: Embedded in every switch port Monitors traffic flow for all network ports Effective at gigabit speeds Does not impact network performance Continuous monitoring Robust under all network conditions All devices = L2 L7 flows end-end Real-time and historical, detailed data 17

Ntop and NetFlow/sFlow Ntop supports both NetFlow (v1/5/7/9) and sflow (v2/5). Ntop collects flows on virtual interfaces user-defined. Multiple interfaces can be defined independently. Ntop can simultaneously monitor netflow and sflow and pcap in interfaces. All the various interfaces have the same look and feel with little differences mainly due to the lack of payload access (NetFlow) hence inhability to support packet decode (e.g. for P2P detection). 18

NetFlow Monitoring: State of the Art Cisco NetFlow is a commercial standard for network monitoring and accounting Many companies (e.g. Cisco, Juniper, Extreme) ship appliances with embedded NetFlow probes. Most commercial probes perform very poorly (~7-10 000 pkt/sec) Several collectors available (both commercial and Open Source). Very little offering in the probe side. NetFlow monitoring cannot cope with Gbit speeds and above hence new mechanisms (e.g. sampled NetFlow) have been used to overcome this problem. 19

Solution: nprobe+ntop The community needed an open source probe able to bring NetFlow both into small and large networks. Ability to run at wire speed (at least until 1 Gb) with no need to sample traffic. Complete open source solution for both flow generation (nprobe) and collection (ntop) Internet Border Gateway Traffic Mirror nprobe NetFlow Local Network ntop 20

nprobe: Main Features Ability to keep up with Gbit speeds on Ethernet networks handling thousand of packets per second without packet sampling on commodity hardware. Support for major OS including Unix, Windows and MacOS X. Resource (both CPU and memory) savvy, efficient, designed for environments with limited resources. Source code available under GNU GPL (v3) and BSD (v4). nprobe v4 (available by the end of spring) new features: Full NetFlow v9 support V9 extensions: payload, network/application latency, RTP. Ability to extend the probe with user-written plugins. 21

Packet Capture: Open Issues Monitoring low speed (100 Mbit) networks is already possible using commodity hardware and tools based on libpcap. Sometimes even at 100 Mbit there is some (severe) packet loss: we have to shift from thinking in term of speed to number of packets/second that can be captured analyzed. Problem statement: monitor high speed (1 Gbit and above) networks with common PCs (64 bit/66 Mhz PCI/X/Express bus) without the need to purchase custom capture cards or measurement boxes. Challenge: how to improve packet capture performance without having to buy dedicated/costly network cards? 22

Libpcap Performance on a Vanilla OS Traffic Capture Application Linux 2.4.x FreeBSD 4.8 Windows 2K Standard Libpcap 0.2 % 34 % 68 % mmap Libpcap 1 % Kernel module 4 % Percentage of captured packets [~80K packet/sec, ~45 Mbit] Testbed: Sender: Dual 1.8 GHz Athlon, 3Com 3c59x Ethernet card Collector: VIA C3 533 MHz, Intel 100Mbit Ethernet card Network Switch: Cisco Catalyst 3548 XL Traffic Generator: tcpreplay (http://tcpreplay.sourceforge.net/) 23

Proposed Solution: Socket Packet Ring (PF_RING) Application A Application Z mmap() Outgoing Packets Userspace Kernel Read Index Socket (ring) Write Index Socket (ring) PF_RING Network Adapter Incoming Packets 24

Packet Size (Bytes) Speed (Mbit) Socket Packet Ring: Packet Capture Evaluation [1/2] Speed (Pkt/sec) Linux 2.6.1 with NAPI and standard libpcap Linux 2.6.1 with NAPI and mmap() Linux 2.6.1 with NAPI and Ring FreeBSD 4.8 with Polling 64 90 175 000 2.5% 14.9% 75.7% 97.3% 512 710 131 000 1.1% 11.7% 47% 47.3% 1500 836 70 000 34.3% 93.5% 92.9% 56.1% Testbed: Sender: Dual 1.8 GHz Athlon, Intel GE 32-bit Ethernet card Collector: Pentium 3 550 MHz, Intel GE 32-bit Ethernet card Traffic Generator: stream.c (DoS) 25

PF_RING on Embedded Devices 26 http://nst.sourceforge.net/nst/docs/user/ch09s02.html

Welcome to ncap 27

ncap Features Packet Capture Acceleration Wire Speed Packet Capture Number of Applications per Adapter Standard TCP/IP Stack with accelerated driver Limited No Unlimited PF_RING with accelerated driver Great Almost Unlimited Straight Capture Extreme Yes One 28

Further ncap Features High speed packet capture: with a P4 HT (3 GHz) you can capture packets at wire speed (1.4 Mpps) High-speed traffic generation: cheap trafgen as fast as a hardware trafgen (>> 25 000 Euro). Precise packet generation Precise packet timestamping (no kernel interaction) Enhanced driver currently supports Intel cards (1 and 10 Gb Ethernet). Availability (live CD): http://luca.ntop.org/ncap/ 29

Conclusions Over the past 7 years the ntop project has produced: Ntop: a mature passive traffic monitoring application able to be integrated into industrial environments. nprobe: a fast and extensible NetFlow probe able to use ntop as a central console and to measure traffic using NetFlow even on networks where there aren t NetFlow-enable routers. PF_RING: Linux packet capture acceleration able to run on embedded systems and high-speed SMP servers. ncap: wire-speed packet capture and trasmission for 1 and 10 Gbit networks. 30