Filter packet on port no 80
To catch all traffic running on port number 80 we can use the following command:
sudo ngrep port 80
Ngrep – Network Packet Analyzer for Linux
Ngrep a network packet analyzer that is similar to the grep command, but ngrep grep the package on the network layer. This tool grep the traffic going to coming on the network interface.ngrep allow us to specify an extended regular or hexadecimal expression to match against data payloads of packets.ngrep can work on protocols like IPv4/6, TCP, UDP, ICMPv4/6, IGMP as well as Raw on a number of interfaces.
Contact Us