Monitoring the network using Nmap
For any network, big or small, network monitoring and security is a very essential task. Regular monitoring of the network is important to protect the systems from attacks and also keeps viruses and malware out of the network.
Nmap, short forNetwork Mapper, is a free and open source tool for network monitoring and is the most versatile tool for system/network administrators. Nmap can be used to perform security scans, explore the network, find open ports on the remote system, and perform network audits.
Getting ready
To show you the workings of nmap
, we need a minimum of two systems forming a small network. On one system, we will install the nmap
package, while the other system will be used as a host to scan.
- To install
nmap
, if it is not already installed, run the following command:
- If we want to check the version of Nmap, we can use the following command:
How to do it...
In this section, we will see how we can use Nmap for performing different types of scans...