Reliable Packet Captures

Slides:



Advertisements
Similar presentations
CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Advertisements

SHARKFEST '08 | Foothill College | March 31 - April 2, 2008 Non-Intrusive Out-of-Band Network Monitoring Utilizing a Data-Access Switch April 1, 2008 Patrick.
Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
Top Causes for Poor Application Performance Case Studies Mike Canney.
SHARKFEST ‘10 | Stanford University | June 14–17, 2010 TAP’s Demystified June 16 th 2010 Samuel Battaglia Technical Manager | Network Critical SHARKFEST.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
1 K. Salah Module 4.0: Network Components Repeater Hub NIC Bridges Switches Routers VLANs.
1 CCNA 3 v3.1 Module 5. 2 CCNA 3 Module 5 Switches/LAN Design.
Course 301 – Secured Network Deployment and IPSec VPN
1 K. Salah Module 4.3: Repeaters, Bridges, & Switches Repeater Hub NIC Bridges Switches VLANs GbE.
Switches in Networking B. Konkoth. Network Traffic  Scalability  Ability to handle growing amount of work  Capability of a system to increase performance.
Troubleshooting Software Tools vs. Professional Test Equipment.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
Connecting LANs, Backbone Networks, and Virtual LANs
Introduction An introduction to the equipment and organization of the Internet Lab.
Introduction to Networking. Key Terms packet  envelope of data sent between computers server  provides services to the network client  requests actions.
Management Information Systems Lection 04 Networks CLARK UNIVERSITY College of Professional and Continuing Education (COPACE)
SHARKFEST ‘10 | Stanford University | June 14–17, 2010 To the Terabyte and Beyond! Leveraging Pilot and Wireshark to Analyze Truly Massive Packet Traces.
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
Net Optics Confidential and Proprietary Net Optics appTap Intelligent Access and Monitoring Architecture Solutions.
Network Structure Students should be aware of what is available in order to –create and use an ICT network: communication devices.
Chapter 8 Help is here!. Cabling Whenever you need cabling that will protect your signal from electrical interference there is only one correct answer:
Using Virtualization in the Classroom. Using Virtualization in the Classroom Session Objectives Define virtualization Compare major virtualization programs.
Introduction to Wireshark Making Sense of the Matrix
S305 – Network Infrastructure Chapter 6 Local Area Network.
Chapter 6 – Connectivity Devices
Author: Bill Buchanan. 1. Broadcast: What is the MAC address of this network address? 2. Requested host: All the hosts read the broadcast and checks.
11 NETWORK CONNECTION HARDWARE Chapter 3. Chapter 3: NETWORK CONNECTION HARDWARE2 NETWORK INTERFACE ADAPTER  Provides the link between a computer and.
Securing and Monitoring 10GbE WAN Links Steven Carter Center for Computational Sciences Oak Ridge National Laboratory.
Networking Components Daniel Rosser LTEC Network Hub It is very difficult to find Hubs anymore Hubs sends data from one computer to all other computers.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
S4-Chapter 3 WAN Design Requirements. WAN Technologies Leased Line –PPP networks –Hub and Spoke Topologies –Backup for other links ISDN –Cost-effective.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
Cisco 3 - Switch Perrine. J Page 111/6/2015 Chapter 5 At which layer of the 3-layer design component would users with common interests be grouped? 1.Access.
Click to edit Master subtitle style
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
Packet Capture and Analysis: An Introduction to Wireshark 1.
NET 324 D Networks and Communication Department Lec1 : Network Devices.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Ethernet. Ethernet standards milestones 1973: Ethernet Invented 1983: 10Mbps Ethernet 1985: 10Mbps Repeater 1990: 10BASE-T 1995: 100Mbps Ethernet 1998:
What is an Ethernet Switch? Victor Lama’s Concept of the Week – 09/25/2010 G500-Fabric Specialist.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
Objectives After completing this chapter you will be able to: Describe the different types of bridging: Transparent, Source Route and Translate Describe.
Rehab AlFallaj.  Network:  Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and do specific task.
Page 1 Monitoring, Optimization, and Troubleshooting Lecture 10 Hassan Shuja 11/30/2004.
Sven Ubik, Aleš Friedl CESNET TNC 2009, Malaga, Spain, 11 June 2009 Experience with passive monitoring deployment in GEANT2 network.
Cisco CCNA Cisco Certified Network Associate.
Cisco Study Guide
C © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1.
Using Virtualization in the Classroom
Target Network ISP Internal Network
The little thing called MicroBurst - A real world case
Instructor Materials Chapter 5: Network Security and Monitoring
Link Layer 5.1 Introduction and services
Planning and Troubleshooting Routing and Switching
LAN Vulnerabilities.
A Deterministic End to End Performance Verification Architecture
Semester 1 Cisco Discovery JEOPADY Chapter 3.
Chapter 4 Data Link Layer Switching
Chapter 5: Inter-VLAN Routing
Configuring EtherChannels and Switch Troubleshooting
Introduction to Networks
Proprietary & Confidential
CT1303 LAN Rehab AlFallaj.
Chapter 5: Network Security and Monitoring
Cisco Real Exam Dumps IT-Dumps
Network Hardware – LO’s
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
COMMON LAYER 2 DEVICES AND FUNCTIONALITIES.
Presentation transcript:

Reliable Packet Captures Christian Reusch CRnetPACKETS.com

Some real world dialogs about network capturing We want to capture all the data, for our BIG DATA solution! And here is our really innovative solution… But you will miss packets of interest, if you capture with your plan! Missed packets are not important for us! ---------------------------------------------------------------- I can see lost frames in the capture, seems that your server has not send the data! Can we trust the capture? Ugh… normally for sure, it is a normal Wireshark trace… -------------------------------------------------------------- I see 20kByte large frames in the trace, please activate Jumbo Frames support on the switches to fix the problem!

Hub First modern Ethernet and no COAX anymore Still a shared medium Means: Every Packet of a Layer2 network can be seen on every Port of the Layer2 network Mostly 10 Mbit/s HDX Some Variants with 100 Mbit/s HDX (1)

Switch Switched network A switch brings „intelligence“ and performance into the network But makes it much harder to capture (1) (1)

Switch Monitor Ports (SPAN) Remote SPAN (RSPAN) [VLAN] Encapsulated Remote SPAN (ERSPAN) [GRE RSPAN] CRC errors will not be detected SPAN Port will only have TX direction, so it can be oversubscribed (1)

Switch Other; but no recommended solutions ARP Poisoning CAM-Table flooding HUB (1) (1)

TAP A TAP provides a fully nonreactive Capture Point Fully passive at 100 Mbit/s on networkside At 1000 Mbit/s needs to be active on networkside Best capture mode for reliable captures is „Break Out“ (2)

FiberSplitter Fully passive Cost effective Same device can be used from 1 to 100 Gbit/s (1) (3) (2)

Packet Brocker Managed TAP Can filter traffic Can redirect traffic Remote admistration But cannot always be used inline (2)

Localhost capturing Easy to use Linux Libpcap (tcpdump) Windows WinPCAP on Windows (needs Install) RAWCAP from NETRESEC no installation needed Nowadays it isn´t anymore usefull, due to Segmentation Offloading (TSO_TRACE)

Where: VM Capturing Outside as close as possible to the VM Internal captures for internal Traffic Do not use GuestOS captures From my point of view it is getting more and more important

How: VM capturing Tip for normal vSwitch (by Jasper Bongartz (4)) Using Portgroups to isolate the „Promiscous“ function of the vSwitch Using a dedicated capture VM -> does not affect the services on the other productive VMs Special appliances can be used Endace Riverbed Savvius Wireshark (4)

How: VM capturing 2 Other solutions: Virtual Taps Somekind of ERSPAN Enterprise Plus Licence Mirror Port Direct at the Hypervisor level Usage of different Switches, like a Cisco NEXUS

How: Wireshark Capture Very easy to use Live analysis possible Only reliable up to around 300 Mbit/s Interface should be prepared Trace can easily get lost by accident Timestamping not reliable Only counts if packets get lost while writing to disk Trace example

How: Profesional Capture Software Optimized for: Capturefile Storing and Indexing Data Retention Captures stored mostly in somekind of Database You will normally never loose a capture file by accident Retention can be done by Graphs or Searchmasks Mostly Very Expensive

How: Profesional Capture cards HW Timestamping Breakout Capturing Latency, Microburst Analysis (6) Trace Produce Reliable Capture, as capture errors will be logged at NIC level CRC Errors will be captured External: Profishark Internal: Napatech, Endace

Tip: Capturing 10/100 Mbit/s Using a Hub for 10MBit/s HDX Using a Span Port or a TAP in Aggregation Mode, if the Monitor Port Speed supports 1GBit/s Using Wireshark can be sufficient, but without reliable timestamping Better to use special capture HW

Tip: Capturing 1 Gbit/s Using a TAP in Breakout Mode But a TAP at 1 Gbit/s is not fully passive and not that cheap Better idea using a Fiber Splitter fully passive and cheaper Using special HW capture cards e.g. Profishark Nappatech Endace ...

Tip: Capturing 10 Gbit/s and beyond Native reliable capturing of 10 Gbit/s and more is very expensive >50k € Workaround: Using a Fibersplitter same price as 1 Gbit/s and using Packetbrockers to prefilter the traffic to a 1 Gbit/s breakout monitor link Using special HW capture cards to capture at 1 Gbit/s e.g. Profishark Nappatech Endace ...

Tip: Reliable Capturing Remote Solutions Deploy TAPs or Fibersplitter permanently in the network Connect them to a Packet Broker Connect a Capture device to one port of the Packet Broker Use the Packet Broker to select which traffic you want to capture

Capture Strategys Strategies: “One Try” strategy (BEST, massive HW, special HW -> Consultants, Carrier, Big Problem, Netwok Forensic) “More try” strategy (Network Admin, Not enough equipment)

Client-Server

Client-Server

Client-FW-Server

Client-FW-Server

Client-WAN-FW-Server

Client-WAN-FW-Server

Client-WAN-FW-LB-Server

Client-WAN-FW-LB-Server

Client-FW-WAN-FW-LB-Server

Client-FW-WAN-FW-LB-Server

Client-FW-WAN-FW-LB-VM(Server-Server)

Client-FW-WAN-FW-LB-VM(Server-Server)

Takeaway Capture Strategy One try strategy Every Layer4 device, bottleneck and demarcation point is a useful capturepoint Capture as close as possible to a device but not on it You should use Taps/Fibersplitters and professional capture equipment So you can trust your captures More try strategy You are in a lucky position You can use fast access capture points (local captures) to plan the next steps You can use a divide and conquer strategy 2 parallel capture points are useful

Where would you capture if...(5) User “A” complains that something is not working in application on “s6”

Where would you capture if... (5) All users complain about the performance of an application on server S6?

Where would you capture if... (5) Some users in Paris complain about the performance of the loadbalanced application on server S1, S2, S3, S4?

Where would you capture if... (5) All users in Amsterdam complain about slow performance on every application?

Takeaway Tips: How to capture How develop a capture strategy Problem orientated capturing Questions?

References (1) https://wiki.wireshark.org/CaptureSetup/Ethernet (2) https://www.garlandtechnology.com/ (3) https://blog.packet-foo.com/2013/04/capturing-packets-of-vmware- machines/comment-page-2/ (4) https://www.ixiacom.com/company/blog/fiber-taps-y-cables-matter (5) Zen and the art of packet Capturing... By Sake Blok: https://sharkfestus.wireshark.org/assets/presentations15/31.pdf (6) The little thing called MicroBurst: https://sharkfesteurope.wireshark.org/assets/presentations16eu/09.pptx

I am happy about FEEDBACK at Sharkfest Europe Guidebook Thank You! Thank you! I am happy about FEEDBACK at Sharkfest Europe Guidebook

About me? Christian Reusch Analyzing Networks since 1999 Twitter: @crnetpackets Web: crnetpackets.com If you like you can send my Traces and I will answer creusch@crnetworks.com