E. monitor the local udp123 Port 123 as the ntp service port # The tcpdumpudpport123F system only monitors the communication packets of the host named hostname. The host name can be a local host or any computer on the network. The following command reads all data sent by the host hostname: # tcpdump-ie
E. monitor the udp port 123 of the local machine. Port 123 is the ntp service port.
#TcpdumpUdp port 123
The F system only monitors the communication data packets of the host named hostname. The host name can be a local host or any computer on the network. The following command reads all data sent by the host hostname:
# Tcpdump-I eth0 src host hostname
If we only need to list the data packets sent to port 80, use dst port; if we only want to see the data packets returned to port 80, use srcport.
# Tcpdump? I eth0 host hostname and dst port80 destination port is 80
Or
-Vv: output detailed message information;
-Nn: Display IP address instead of host name