1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 21:51:28 +00:00

o Increased the initial RTT timeout for ARP scans from 100 ms to

200 ms. Some wireless and VPN links were taking around 300 ms to
  respond. The default of one retransmit gives them 400 ms to be
  detected.
This commit is contained in:
david
2010-09-17 17:00:06 +00:00
parent fc9d35fed9
commit 4e46c99329
2 changed files with 6 additions and 1 deletions

2
nmap.h
View File

@@ -320,7 +320,7 @@ void *realloc();
#endif
#define INITIAL_RTT_TIMEOUT 1000 /* Allow 1 second initially for packet responses */
#define INITIAL_ARP_RTT_TIMEOUT 100 /* The initial timeout for ARP is lower */
#define INITIAL_ARP_RTT_TIMEOUT 200 /* The initial timeout for ARP is lower */
#ifndef MAX_RETRANSMISSIONS
#define MAX_RETRANSMISSIONS 10 /* 11 probes to port at maximum */