I. Network Monitoring Program commands
Install the nmap package
1. nmap-s [T/U/P].-s indicates scan T indicates scanning TCP connections, and U indicates UDP connection P indicates ICMP
2. nmap-A IP_address/domian_name scan the Operating System
3. nmap-p port_name scan Port
The netstat command monitors the port and Protocol listening status of all networks.
Netstat-a (all) view all listening protocols
-P is displayed as a pid process number.
-T indicates the tcp protocol port.
-U: displays the udp Service port status.
-L (listen) displays all protocols being monitored.
The tcpdump command monitors network data.
-P simplifies output information
-Nn does not interpret IP addresses as host names and does not display ports with service names, which can increase the monitoring speed.
-I (interface) eth0 indicates the monitored Nic
Port 21 specifies the monitored port
Host 172.16.1.1 specified monitored IP Address
Arp, icmp, tcp, and udp monitoring protocols
Conditions are connected with and or not.
2. Network Transmission command:
Scp root@172.16.1.1:/etc/inittab/root copy host 172.16.1.1/etc/inittab file to the local/root directory.
Scp/etc/inittab root@172.16.1.1:/root copy the/etc/inittab file of the local machine to the/root folder of host 172.16.1.1.
Scp-r root@172.16.1.1:/etc/tmp copy the/etc folder of host 172.16. 1.1 to the/tmp folder of the local machine.
Lftp 172.16.1.1
Get file
Mirror/dir to get the dir folder.