How does tcpdump capture packets?

Solution Unverified - Updated -

Issue

  • How does tcpdump capture packets?
  • Where does libpcap get the packets?
  • How do offloading features affect pcap trace?
  • Which side of the iptables firewall are packets captured?

Environment

  • Red Hat Enterprise Linux
  • tcpdump, Wireshark, tshark, or other libpcap-based network packet capture method

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content