An Introduction to Traffic Analysis A Pragmatic Approach - Jon Schipp

26 May 2012 · 72 min
1:11:56

In this 15‑minute presentation Jon Schipp expands on his previous HackerCon talk about packet sensing and provides a practical, hands‑on overview of traffic analysis for small‑to‑medium networks. He begins by explaining why packet capture is essential for troubleshooting, compliance, and intrusion detection, then walks through the various ways to obtain copies of traffic (SPAN/RSPAN, TAPs, IP forwarding, firewall tee/dup2 rules) and the hardware requirements (high‑performance NICs, DMA, NAPI, interrupt mitigation). Schipp details the kernel processing pipeline on BSD (mbuf) and Linux (skbuff), illustrating how packets move from the NIC to user‑space and why packet loss occurs at the NIC, kernel, or BPF/libpcap buffers. He demonstrates how to monitor drop counts using netstat, /proc/net/dev, and ethtool, and introduces lightweight monitoring tools (tcpstat, ifpps, sar) to establish a baseline of packets‑per‑second and interrupt load. For high‑speed capture he reviews shared‑memory solutions (pfRing, netmap) and the NetSniffNG tool, explaining its use of the pf_packet RX ring buffer. The talk then dives into constructing BPF filters, showing the assembler‑like syntax for common filters (ARP, SYN flood, IP options, HTTP GET) and how to compile them with tcpdump –dd. He presents traffic‑generation utilities (iperf, hping, trapgen) and discusses measuring packets‑per‑second limits for various Ethernet frame sizes. Finally, Schipp surveys a suite of analysis tools—ntop, Snort, iftop, tcpflow, tcpick, speedometer, ngrep—highlighting their strengths, typical use‑cases, and practical tips (disable DNS resolution, use shared memory, rotate PCAP files). The talk ends with a brief Q&A and a reminder to capture traffic before incidents occur.

Chapters

More from Jon

youtube.com

Wrestling with Cybersecurity

4mo ago
youtube.com

What No One Knows the Podcast / Vodcast featuring The Tampa Bay Wave and Jon Schipp

6mo ago
youtube.com

Meeting the Exposure Management Challenge: Key Use Cases for Success | @OfficialRapid7 #SolutionSpotlight

1y ago
youtu.be

Spot Security Control Gaps and Non-Compliant Resources Across Your Attack Surface

2y ago
youtu.be

Maintain a Single Source of Truth for your Digital Estate

2y ago
youtu.be

Identify Accounts Without MFA Enabled Across Your Organization

2y ago
youtu.be

Understand Potential Blast Radius and Attackers' Cloud Network Spot Avenues

2y ago
youtu.be

Measure Security Data Accuracy and Quality with Rapid7 Exposure Command

2y ago
youtube.com

The Netsniff Ng Toolkit Jon Schipp DerbyCon 3

4y ago
youtube.com

OpenNSM (Scaling OSSEC)

10y ago
youtube.com

OpenNSM (Flow Indexer)

10y ago
See all content