Network Security 6 commands
Wireshark
Network protocol analyzer that lets you capture and interactively browse traffic on a network. Essential for network troubleshooting and analysis.
packet-analysisnetworktrafficforensics
Installation
sudo apt install wireshark
# or
brew install --cask wireshark
# or download from wireshark.orgCommands & usage
6 entriestcp.port == 80Filter by TCP port
ip.addr == 192.168.1.1Filter by IP address
http.request.method == POSTFilter HTTP POST requests
dnsShow only DNS traffic
tcp.flags.syn == 1Show SYN packets
frame contains "password"Search for string in packets
Use cases
Network troubleshootingPacket analysisProtocol debuggingSecurity forensicsTraffic monitoring