As part of your cloud migration journey it is important to have all the tools at your disposal. In addition to the other discovery methods, you can use Nmap to facilitate a part of the discovery process. The way it works is very simple and with the full power of Nmap available to you, discovery of even those hard to reach places is possible.
Nmap has developed some powerful capabilities and good documentation that will allow you to identify all the hosts you have running on your network, the ports and services that they have open and running.
Nmap is capable of producing its output in an XML file, allowing you to inspect the raw scan output before sending it to the Tidal Migrations API with Tidal Tools. Once uploaded to the Tidal Migrations Platform, you will be able to visualize your network devices, track your complete server inventory and build on this data with other discovery methods, allowing you to make informed decisions on your cloud migration path.
Using Nmap with Tidal Tools
By leveraging the power of Tidal Tools you can send the output generated by Nmap to your Tidal Migrations account.
- Install Tidal Tools
- Login to Tidal Tools with tidal login
- Run Nmap (Need to install Nmap?) with the flags of your choosing and save the output to an XML file. For example,
sudo nmap -sS -p80,443,8080,8443,1433,1521,27017 <ip-address> -oX my-network.xml
Note: the -sS flag will enable TCP SYN port scan and the -oX specifies the output as a XML file. Want more scanning options?Tip: Be sure to replace
with the CIDR range for the network you would like to scan, ex. `10.0.0.0/24`
- Run this Tidal Tools command to upload your previously generated Nmap output to your Tidal Migrations account
tidal sync nmap <filename.XML>
- Head over to your Tidal Migrations account!
Nmap (“Network Mapper”) is a free and open source utility for network discovery and security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.
Nmap offers a wide range of utilities and commands, such as Port scanning, Host discovery, Service and version detection to name a few. Here some basic examples for how to do some nmap scanning. NB: Some commands required sudo privilege.
nmap 192.168.1.1-254 # Scan a range
nmap 192.168.1.1 -sS # TCP SYN port scan (Default) nmap 192.168.1.1 -sT # TCP connect port scan (Default without root privilege) nmap 192.168.1.1 -sU # UDP port scan
nmap 192.168.1.1-3 -sL # No Scan. List targets only nmap 192.168.1.1/24 -sn # Disable port scanning. Host discovery only. nmap 192.168.1.1-5 -Pn # Disable host discovery. Port scan only.