About this interactive
A packet has layers. The IP header carries the source and destination addresses. The TCP or UDP header carries the ports. Behind them is the data, the application's actual content.
A typical firewall filters on the headers: addresses at layer 3, ports at layer 4. Application-layer filtering looks into the data far enough to see which application is running. Deep packet inspection goes all the way: what data is being transferred, so it can find a malicious file or sensitive data being exfiltrated. In Wireshark that is the data stream at the bottom of a packet, down to the bits.
Encryption changes what can be seen. Most traffic is now encrypted, which is a good thing, but it means the data inside an HTTPS or SSH session cannot be inspected unless the firewall decrypts it. The headers are still in the clear, so a firewall can always filter encrypted traffic by address and port. What it cannot do, without decryption, is look inside.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →