1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-07 23:19:02 +00:00

Make "failed to determine route" a warning, not a fatal error.

This commit is contained in:
david
2012-05-16 23:50:03 +00:00
parent 1e936a2eda
commit 70d728ffcf
2 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
# Nmap Changelog ($Id$); -*-text-*-
o The message "nexthost: failed to determine route to ..." is now a
warning rather than a fatal error. Addresses that are skipped in
this way are recorded in the XML output as <target> elements. [David
Fifield]
o [NSE] Added the script http-drupal-modules, which enumerates the installed
Drupal modules using drupal-modules.lst. [Hani Benhabiles]

View File

@@ -372,7 +372,9 @@ Target *nexthost(HostGroupState *hs, const addrset *exclude_group,
)) {
t->TargetSockAddr(&ss, &sslen);
if (!nmap_route_dst(&ss, &rnfo)) {
fatal("%s: failed to determine route to %s", __func__, t->NameIP());
log_bogus_target(inet_ntop_ez(&ss, sslen));
error("%s: failed to determine route to %s", __func__, t->NameIP());
continue;
}
if (rnfo.direct_connect) {
t->setDirectlyConnected(true);