Tag

libpcap

0 views collected around this technical thread.

Qunar Tech Salon
Qunar Tech Salon
Oct 19, 2021 · Databases

Design and Implementation of a MySQL Traffic Sniffer for Full‑stack Access Logging

This article describes the background, functional requirements, architecture, packet‑capture implementation using libpcap, MySQL protocol parsing, result processing, and storage strategy (Kafka + ClickHouse) of a custom MySQL sniffer developed at Qunar to provide complete database access logs for auditing, performance analysis, and operations.

ClickHouseKafkaMySQL
0 likes · 16 min read
Design and Implementation of a MySQL Traffic Sniffer for Full‑stack Access Logging
Refining Core Development Skills
Refining Core Development Skills
Sep 8, 2021 · Fundamentals

How tcpdump Captures Packets Inside the Linux Kernel

This article explains the internal mechanisms of tcpdump, showing how it registers a virtual protocol in the kernel's ptype_all list to intercept packets during both receive and transmit paths, how netfilter interacts with these paths, and provides guidance for building a custom packet‑capture program.

Linux kernellibpcapnetfilter
0 likes · 10 min read
How tcpdump Captures Packets Inside the Linux Kernel
Ctrip Technology
Ctrip Technology
Aug 19, 2016 · Big Data

HBase‑Based Packet Capture and Retrieval System for Large‑Scale Network Traffic

The article presents a method that leverages HBase to capture, store, index, and quickly retrieve massive network packets, using PF_RING and libpcap for high‑performance capture and providing APIs for time‑, IP‑, protocol‑, and port‑based packet backtracking.

Big DataHBasePF_RING
0 likes · 7 min read
HBase‑Based Packet Capture and Retrieval System for Large‑Scale Network Traffic