Sitemap
The Tech Notes

Practical guides, cheat sheets, and deep dives into PostgreSQL, Linux, and system architecture. Curated notes for the modern engineer who wants to get things done

Tcpdump & Wireshark Cheat Sheet

5 min readJan 5, 2026

--

If you are not a Medium Premium member and cannot access this content, you can read the full version of this article for free on postgresqlblog.com. Click here to read.

A practical, copy-paste friendly network traffic analysis guide for Linux engineers, SOC analysts, Network specialists, and SREs.

Press enter or click to view image in full size

Table of Contents

Part 1 — Basics (For Everyone)

  • Basic Tcpdump Usage
  • Interface Management (-i, -D)
  • Host & Network Filtering (IP and Subnet)
  • Port & Protocol Basics (Service Filtering)
  • Read & Write to Files (-w, -r)
  • Output Control & Speed (-n, -N, -t)
  • Basic Troubleshooting Flow
  • Security Best Practices

Part 2 — Advanced Options & Analysis (Beginner → Advanced)

  • Logical Operators (AND, OR, NOT)
  • Packet Content Inspection (-A, -X, -XX)
  • Verbosity & Snapshot Length (-v, -s)
  • Directional Filtering (Inbound vs Outbound)
  • Advanced TCP Flag Filtering…

--

--

The Tech Notes

Published in The Tech Notes

Practical guides, cheat sheets, and deep dives into PostgreSQL, Linux, and system architecture. Curated notes for the modern engineer who wants to get things done

No responses yet