Selecting the correct timing template

Nmap includes six templates that set different timing and performance arguments to optimize your scans. Even though Nmap automatically adjusts some of these values, it is recommended that you set the correct timing template to hint Nmap with a provide as to the speed of your network connection and the target's response time.

The following recipe will teach you about Nmap's timing templates and how to choose the correct one.

How to do it...

Open your terminal and type the following command to use the "aggressive" timing template:

# nmap -T4 -d 192.168.4.20
--------------- Timing report ---------------
  hostgroups: min 1, max 100000
  rtt-timeouts: init 500, min 100, max 1250
 max-scan-delay: TCP 10, UDP 1000, ...

Get Nmap 6: Network Exploration and Security Auditing Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.