Day 138 of my #EthicalHacking journey. 🐧
Yesterday, I dove deeper into #Wireshark, learning two different filtering syntaxes.
1. BPF (Berkeley Packet Filter) – Used in Capture Filters to determine what traffic Wireshark captures.
Examples:
- "tcp port 80" – Capture TCP traffic on port 80.
- "icmp" – Capture ICMP traffic.
- "udp port 53" – Capture UDP traffic on port 53.
I also discovered that ICMP isn't just about ping! There are different message types, including type 17, 8, 3 and 0. 😅
2. Wireshark Display Filter Syntax – Used to filter traffic that has already been captured.
Examples:
- "dns" – Show DNS traffic.
- "tcp" – Show TCP traffic.
- "tcp.flags.syn == 1" – Show packets with the SYN flag set.
- "frame.len > 1000" – Show packets larger than 1,000 bytes.
I also explored Protocol, Application, Field Existence and Characteristics filters, which introduced me to something called BOOTP.
Honestly, Field Existence and Characteristics filters gave me the hardest time.
Still learning, still figuring things out. One packet at a time. 😄