Skip to content
ADHDecode
  1. Home
  2. Articles
  3. Tcpdump

Tcpdump Articles

50 articles

tcpdump UDP Capture: Filter and Inspect Datagrams

UDP datagrams, despite their "unreliable" nature, are the workhorses of many high-performance applications, from streaming video to DNS lookups.

4 min read

tcpdump Verbose Output: Expand Packet Details with -v

The most surprising thing about tcpdump's verbose output is how much of the packet's internal state it can reveal, often highlighting subtle protocol mi.

4 min read

tcpdump VLAN Tagged Traffic: Capture 802.1Q Frames

tcpdump VLAN Tagged Traffic: Capture 802.1Q Frames — tcpdump can capture 802.1Q VLAN tagged traffic, but it requires a specific configuration to correctl.

3 min read

tcpdump vs Wireshark: Choose the Right Packet Capture Tool

The most surprising thing about tcpdump and Wireshark is that they're fundamentally the same tool, just with different interfaces.

2 min read

tcpdump Wireless Monitor Mode: Capture Wi-Fi Frames

You can capture raw Wi-Fi frames, not just IP packets, using tcpdump in monitor mode. Here’s what it looks like when you’re actually doing it:

3 min read

tcpdump Between Two Hosts: Filter Bidirectional Traffic

The most surprising thing about tcpdump is that it fundamentally operates at the packet level, and filtering bidirectional traffic between two hosts isn.

3 min read

tcpdump DNS Capture: Trace Queries and Responses

DNS is actually a client-server protocol, not a broadcast one, meaning your machine explicitly asks a DNS server for an IP address and waits for an answ.

2 min read

tcpdump Filter Syntax: Complete Guide to BPF Expressions

The most surprising thing about tcpdump's filter syntax is that it's not tcpdump's syntax at all; it's the Berkeley Packet Filter BPF language, and it r.

3 min read

tcpdump HTTP Capture: Inspect Requests and Responses

tcpdump can show you what's actually happening on the wire for HTTP, but it's a bit like trying to read a novel through a tiny peephole if you don't kno.

10 min read

tcpdump ICMP Capture: Trace Ping and Error Messages

The tcpdump tool, when used to capture ICMP packets, often reveals the underlying network issues that manifest as ping failures or cryptic error message.

4 min read

tcpdump Multicast Capture: Trace Group Traffic

Multicast traffic doesn't actually get "sent" to a specific IP address in the way you're used to; it's sent to a group, and only devices subscribed to t.

2 min read

tcpdump Limit Capture: Stop After N Packets with -c

tcpdump Limit Capture: Stop After N Packets with -c — practical guide covering tcpdump setup, configuration, and troubleshooting with real-world examples.

4 min read

tcpdump Payload: Print ASCII and Hex with -A and -X

tcpdump is your network forensics Swiss Army knife, but if you're only seeing packet summaries, you're missing half the story.

4 min read

tcpdump Specific Interface: Select with -i Flag

tcpdump Specific Interface: Select with -i Flag — practical guide covering tcpdump setup, configuration, and troubleshooting with real-world examples.

2 min read

tcpdump SSH Traffic Capture: Trace on Port 22

tcpdump is choking on SSH traffic because it's encrypted, making the packet contents gibberish and obscuring the actual commands being run.

8 min read

tcpdump TCP Handshake: Capture SYN, SYN-ACK, ACK

tcpdump TCP Handshake: Capture SYN, SYN-ACK, ACK — practical guide covering tcpdump setup, configuration, and troubleshooting with real-world examples.

2 min read

tcpdump Cheatsheet: Most Useful Commands for Every Task

tcpdump can feel like a black box, but it's really just a packet-level observer that lets you see the raw conversations happening on your network interf.

2 min read

tcpdump with Wireshark: Capture Remotely, Analyze Locally

tcpdump with Wireshark: Capture Remotely, Analyze Locally — practical guide covering tcpdump setup, configuration, and troubleshooting with real-world e...

2 min read

tcpdump DHCP Capture: Trace Discover, Offer, Request, ACK

DHCP is a surprisingly fragile dance, and when it breaks, the whole network grinds to a halt. Here’s how to watch the whole thing unfold with tcpdump, f.

4 min read

tcpdump Exclude Traffic: NOT Filters for Clean Captures

tcpdump's not keyword is surprisingly powerful for carving out exactly the traffic you don't want to see, making your captures much cleaner.

3 min read

tcpdump Cleartext Credentials: Find Unencrypted Auth

tcpdump can absolutely snag unencrypted credentials flying across your network, but what you're seeing isn't just "unencrypted data," it's a specific fa.

3 min read

tcpdump Filter by Host and IP: Narrow Your Capture

You can capture network traffic with tcpdump and then filter it down to specific hosts or IP addresses, which is incredibly useful for debugging network.

3 min read

tcpdump Filter by Port and Protocol: TCP, UDP, ICMP

A surprising truth about tcpdump is that it’s not just a packet sniffer; it’s a powerful diagnostic tool that can dissect network conversations at a gra.

3 min read

tcpdump IPv6 Traffic: Capture and Filter IPv6 Packets

The most surprising thing about tcpdump and IPv6 is how little changes from IPv4, despite the massive address space and header differences.

3 min read

tcpdump in Linux Containers: Capture on veth Interfaces

tcpdump in Linux Containers: Capture on veth Interfaces — practical guide covering tcpdump setup, configuration, and troubleshooting with real-world exa...

4 min read

tcpdump MQTT IoT Traffic: Capture on Port 1883

You're trying to see what your MQTT devices are actually saying on the wire, but tcpdump is giving you a wall of hexadecimal.

4 min read

tcpdump Network Troubleshooting: Step-by-Step Workflow

tcpdump isn't just a packet sniffer; it's a time machine for your network, letting you rewind and replay exactly what happened between two points.

3 min read

tcpdump NFS and SMB Traffic: Debug File Protocol Issues

The most surprising thing about debugging file protocol issues with tcpdump is how much of the "magic" you can actually see happening, byte by byte, bet.

6 min read

tcpdump OSPF and BGP Routing: Capture Protocol Traffic

OSPF and BGP are the workhorses of inter-domain routing, and sometimes, you just need to see what they're saying to each other.

4 min read

tcpdump Output Format: Parse Every Line of Output

You're staring at tcpdump output and it looks like hieroglyphics. It's not just random characters; it's a precise, albeit dense, representation of netwo.

3 min read

tcpdump Performance: Reduce Dropped Packets in Captures

The real reason tcpdump drops packets isn't about its own speed; it's about the network interface's inability to keep up with the raw traffic volume hit.

4 min read

tcpdump Promiscuous Mode: Capture All Frames on Segment

Promiscuous mode is how network interfaces are forced to see traffic not meant for them, but it's not the magical "see everything" button you might thin.

3 min read

tcpdump Read PCAP File: Analyze Saved Captures with -r

Reading a PCAP file with tcpdump -r is like having a time machine for network traffic, letting you rewind and inspect exactly what happened.

2 min read

tcpdump Remote Capture: Pipe Over SSH to Wireshark

The most surprising thing about tcpdump remote capture is that you're not actually running tcpdump on the remote machine in the way you might intuitivel.

2 min read

tcpdump Ring Buffer: Continuous Capture with -W and -C

The most surprising thing about tcpdump's ring buffer is that it doesn't actually discard old packets; it just makes them inaccessible until the capture.

2 min read

tcpdump Rotate Capture Files: Manage Long-Running Captures

tcpdump can fill up your disk faster than you can say "packet loss" if you're not careful. Let's say you're trying to debug a persistent, intermittent n.

4 min read

tcpdump as Non-Root: Set Capabilities for Unprivileged Capture

The kernel refuses to let tcpdump sniff packets without root privileges because it needs direct access to network interface hardware, a capability reser.

3 min read

tcpdump Save to PCAP: Write to File with -w Flag

The -w flag in tcpdump doesn't just save packets; it serializes the live network traffic into a specific binary format called PCAP, which is the de fact.

2 min read

tcpdump Scheduled Capture: Automate with cron

tcpdump Scheduled Capture: Automate with cron — practical guide covering tcpdump setup, configuration, and troubleshooting with real-world examples.

3 min read

tcpdump Security Incident Triage: Capture Evidence Fast

tcpdump is not just a packet sniffer; it's a time machine for network events, and in a security incident, it's your most critical diagnostic tool for ca.

3 min read

tcpdump SIP VoIP Capture: Trace Call Signaling

SIP is a surprisingly fragile protocol, and when calls go sideways, the problem usually isn't with the audio itself but with the handshake that sets it .

3 min read

tcpdump Snapshot Length: Control Bytes Captured per Packet

The amount of data tcpdump captures for each packet isn't a fixed, arbitrary number; it's a deliberate setting that balances capturing enough detail wit.

3 min read

tcpdump TCP Flags Filter: Capture SYN, RST, FIN Packets

This tcpdump filter lets you isolate the most critical control packets in a TCP conversation: the SYN, RST, and FIN flags, which signal the start, abrup.

3 min read

tcpdump Timestamps: Absolute, Relative, and Microsecond

The most surprising thing about tcpdump timestamps is that they aren't inherently tied to the packet's actual arrival time at your network interface.

2 min read

tcpdump TLS Handshake Analysis: Capture ClientHello

The TLS handshake is failing because the client is not sending a ClientHello message, or the handshake is getting interrupted before the ClientHello can.

5 min read

tcpdump GRE and VXLAN Tunnel Capture: Overlay Networks

Overlay networks, like those built with GRE or VXLAN, aren't just a layer of abstraction; they're actively rewriting your network packets, and tcpdump n.

3 min read

tcpdump Retransmission Analysis: Find TCP Packet Loss

TCP retransmissions are happening, and you need to figure out why. This typically means a sender thinks packets are lost because it hasn't received ackn.

4 min read

tcpdump Bandwidth Analysis: Measure Traffic by Host

You can use tcpdump to measure traffic by host, but the most surprising thing is how often people don't realize that tcpdump itself can be a bottleneck .

3 min read

tcpdump Advanced BPF Filters: Boolean and Offset Expressions

BPF filters let you zero in on specific network traffic, but their real power comes when you combine simple conditions into complex expressions.

3 min read

tcpdump ARP Capture: Trace Address Resolution

ARP is the unsung hero of local network communication, silently translating IP addresses into the MAC addresses your network interface cards NICs actual.

3 min read
ADHDecode

Complex topics, finally made simple

Courses

  • Networking
  • Databases
  • Linux
  • Distributed Systems
  • Containers & Kubernetes
  • System Design
  • All Courses →

Resources

  • Cheatsheets
  • Debugging
  • Articles
  • About
  • Privacy
  • Sitemap

Connect

  • Twitter (opens in new tab)
  • GitHub (opens in new tab)

Built for curious minds. Free forever.

© 2026 ADHDecode. All content is free.

  • Home
  • Learn
  • Courses
Esc
Start typing to search all courses...
See all results →
↑↓ navigate Enter open Esc close