High-Speed Network Traffic Monitoring Using ntopng. Luca Deri @lucaderi



Similar documents
Monitoring Network Traffic using ntopng

High-Speed Network Traffic Monitoring Using ntopng

Monitoring Network Traffic using ntopng

Network Troubleshooting Using ntopng Luca Deri

Getting More Information On Your Network Performance

High-Speed Network Traffic Monitoring Using ntopng

Monitoring high-speed networks using ntop. Luca Deri

Open Source in Network Administration: the ntop Project

ntopng: Realtime Network Traffic View

The ntop Project: Open Source Network Monitoring

Monitoring Mobile Network Traffic (3G/LTE) Luca Deri

Monitoring Mobile Network Traffic (3G/LTE) Luca Deri

Flow Analysis Versus Packet Analysis. What Should You Choose?

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

Open Source VoIP Traffic Monitoring

Open Source VoIP Traffic Monitoring

Who is Generating all This Traffic?

Increasing Data Center Network Visibility with Cisco NetFlow-Lite

Extending Network Visibility by Leveraging NetFlow and sflow Technologies

How To Set Up Foglight Nms For A Proof Of Concept

Monitoring individual traffic flows within the ATLAS TDAQ network

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

Flow Based Traffic Analysis

Network Monitoring On Large Networks. Yao Chuan Han (TWCERT/CC)

COMP416 Lab (1) Wireshark I. 23 September 2013

Application Latency Monitoring using nprobe

Connecting North Carolina s Future Today. Application Monitoring: ClassScape Case Study. NCSU Centennial Networking Lab

Wire-speed Packet Capture and Transmission

Emerald. Network Collector Version 4.0. Emerald Management Suite IEA Software, Inc.

PRACTICAL EXPERIENCES BUILDING AN IPFIX BASED OPEN SOURCE BOTNET DETECTOR. ` Mark Graham

Cheap and efficient anti-ddos solution

A Research Study on Packet Sniffing Tool TCPDUMP

Using UDP Packets to Detect P2P File Sharing

EKT 332/4 COMPUTER NETWORK

Network Monitoring and Management NetFlow Overview

ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy

Network Traffic Analysis using HADOOP Architecture. Zeng Shan ISGC2013, Taibei

Extending Network Visibility by Leveraging NetFlow and sflow Technologies

Inside ntop: An Open Source Network Monitoring Tool

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

Application Note. Onsight TeamLink And Firewall Detect v6.3

SECURITY & REAL-TIME APPLICATION INSIGHT

Scalable Extraction, Aggregation, and Response to Network Intelligence

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy

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

Realtime High-Speed Network Traffic Monitoring Using ntopng

Realtime High-Speed Network Traffic Monitoring Using ntopng

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

Overview of Network Traffic Analysis

Introduction to Netflow

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

Enhancing Flow Based Network Monitoring

Programmable Networking with Open vswitch

ndpi: Open-Source High-Speed Deep Packet Inspection

Increasing Data Center Network Visibility with Cisco NetFlow-Lite

DDoS Attacks. An open-source recipe to improve fast detection and automate mitigation techniques

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

Introduction. Interoperability & Tools Group. Existing Network Packet Capture Tools. Challenges for existing tools. Microsoft Message Analyzer

High-speed Network and Service Monitoring. Luca Deri

Cisco Catalyst 4948E NetFlow- lite

SolarWinds Technical Reference

Load Balancing and Sessions. C. Kopparapu, Load Balancing Servers, Firewalls and Caches. Wiley, 2002.

A VoIP Traffic Monitoring System based on NetFlow v9

Innovative, High-Density, Massively Scalable Packet Capture and Cyber Analytics Cluster for Enterprise Customers

Log Management with Open-Source Tools. Risto Vaarandi rvaarandi 4T Y4H00 D0T C0M

Network Monitoring Comparison

Network Monitoring and Traffic CSTNET, CNIC

Infrastructure for active and passive measurements at 10Gbps and beyond

UltraFlow -Cisco Netflow tools-

How to Make the Client IP Address Available to the Back-end Server

Practical Experience with IPFIX Flow Collectors

Basic & Advanced Administration for Citrix NetScaler 9.2

Network Attached Storage. Jinfeng Yang Oct/19/2015

NetStream (Integrated) Technology White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

How to Keep Video From Blowing Up Your Network

Section 2: Network monitoring based on flow measurement techniques

Software Defined Networking (SDN) OpenFlow and OpenStack. Vivek Dasgupta Principal Software Maintenance Engineer Red Hat

Advanced Administration for Citrix NetScaler 9.0 Platinum Edition

Open Source in Government: Delivering Network Security, Flexibility and Interoperability

From traditional to alternative approach to storage and analysis of flow data. Petr Velan, Martin Zadnik

Cisco PIX vs. Checkpoint Firewall

Mini-Challenge 3. Data Descriptions for Week 1

CNS-208 Citrix NetScaler 10 Essentials for ACE Migration

Stateful Firewalls. Hank and Foo

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

Monitoring Nginx Server

Network Management & Monitoring

DiCAP: Distributed Packet Capturing Architecture for High-Speed Network Links

Citrix NetScaler 10.5 Essentials for ACE Migration CNS208; 5 Days, Instructor-led

A Brief. Introduction. of MG-SOFT s SNMP Network Management Products. Document Version 1.3, published in June, 2008

Detection of illegal gateways in protected networks

What is SDN (Software Defined Networking) and Openflow? SDN/OF Part of Kernel / SoC to provide security, steering & monitoring

Transcription:

High-Speed Network Traffic Monitoring Using ntopng Luca Deri @lucaderi

Some History In 1998, the original ntop has been created. It was a C-based app embedding a web server able to capture traffic and analyse it. Contrary to many tools available at that time, ntop used a web GUI to report traffic activities. It is available for Unix and Windows under GPL. 2

ntop Architecture HTTP/HTTPS RRD Cisco NetFlow InMon sflow 3

ntopng Architecture Three different and self-contained components, communicating with clean API calls. Users HTTP (Linux) Kernel Lua-based Web Reports Lua API Calls ndpi-based C++ Monitoring Engine PF_RING C API Calls PF_RING Kernel Module and Drivers Data Cache Internet Traffic 4

ntopng Monitoring Engine Coded in C++ and based the concept of flow (set of packets with the same 6-tuple). Flows are inspected with a home-grown DPIlibrary named ndpi aiming to discover the real application protocol (no ports are used). Information is clustered per:! (Capture) Network Device! Flow! Host! High-level Aggregations 5

Information Lifecycle ntopng keeps in memory live information such as flows and hosts statistics. As the memory cannot be infinite, periodically non-recent information is harvested. Users can specify preferences for data purge: 6

Packet Processing Journey 1.Packet capture: PF_RING (Linux) or libpcap. 2.Packet decoding: no IP traffic is accounted. 3.IPv4/v6 Traffic only: 1.Map the packet to a 6-tuple flow and increment stats. 2.Identify source/destination hosts and increment stats. 3.Use ndpi to identify the flow application protocol 1.UDP flows are identified in no more than 2 packets. 2.TCP Flows can be identified in up to 15 packets in total, otherwise the flow is marked as Unknown. 4.Move to the next packet. 7

The need for DPI in Monitoring Limit traffic analysis at packet header level it is no longer enough (nor cool). Network administrators want to know the real protocol without relying on the port being used. Selected protocols can be precisely dissected (e.g. HTTP) in order to extract information, but on the rest of the traffic it is necessary to tell network administrators what is the protocol flowing in their network. 8

Say hello to ndpi ntop has decided to develop its own GPL DPI toolkit in order to build an open DPI layer for ntop and third party applications. Supported protocols (> 180) include: P2P (Skype, BitTorrent) Messaging (Viber, Whatsapp, MSN, The Facebook) Multimedia (YouTube, Last.gm, itunes) Conferencing (Webex, CitrixOnLine) Streaming (Zattoo, Icecast, Shoutcast, Netflix) Business (VNC, RDP, Citrix, *SQL) 9

ndpi on ntopng In ntopng all flows are analysed through ndpi to associate an application protocol to them. L7 statistics are available per flow, host, and interface (from which monitoring data is received). For network interfaces and local hosts, ndpi statistics are saved persistently to disk (in RRD format). 10

ndpi on ntopng: Interface Report 11

ntopng as a NetFlow/sFlow Collector [1/2] The old ntop included a NetFlow/sFlow collector. Considered the effort required to support all the various NetFlow dialects (e.g. Cisco ASA flows are not really flows), in ntopng we have made a different design choice. 12

ntopng as a NetFlow/sFlow Collector [2/2] Flows are sent in the following format { 8 :"192.12.193.11","12":"192.168.1.92","15":"0.0.0.0","10":0,"14":0,"2":5,"1": 406,"22":1412183096,"21":1412183096,"7":3000,"11":55174,"6":27,"4":6,"5":0,"16": 2597,"17":0,"9":0,"13":0,"42":4} Where: <Element ID> : <value> (example 8 = IPV4_SRC_ADDR) nprobe has been integrated with sysdig.org to report network+system information, so we can have visibility of network activities carried on by system processes. 13

Flow/Process Drill-down [1/2] 14

Flow/Process Drill-down [2/2] Flow-to-Process binding } Dynamically Updated Flow-to-Process binding } Dynamically Updated 15

ntopng on Docker Long-term Reports Sniff on all containers 16

ntopng on OpenStack 17

Building a Cheap ntopng Probe www.wawtechnologies.com Soon a Kickstarter campaign will be launched targeting the creation of cheap monitoring devices 18

Final Remarks We believe that open-source traffic network monitoring should be simple and cheap. Commodity hardware, with adequate software, can now match the performance and flexibility that markets require. With the freedom of open source. ntopng is available under GNU GPLv3 from http://www.ntop.org/. 19