2 examples for tshark

{{ score }}
  # Show hosts of IP traffic
tshark -r $FILE -q -z hosts,ipv4

# Show hierarchy stats using tshark
tshark -r $FILE -q -z io,phs

# Show all traffic and dest port info
tshark -o column.format:'"Source", "%s", "Destination", "%d", "dstport", "%uD"' -r $FILE |sort|uniq

# Show all conversations and port detail using tshark filters
tshark -o column.format:'"Source", "%s", "Destination", "%d", "dstport", "%uD"' -r $FILE |sort|uniq

# Show all TCP streams
tshark -r $FILE -q -z conv,tcp
        
{{ score }}
  # Capture all udp traffic
sudo tshark udp