log_write(LOG_NORMAL|LOG_SKID|LOG_STDOUT,"Host %s (%s) seems to be a subnet broadcast address (returned %d extra pings).%s\n", currenths->name, inet_ntoa(currenths->host), currenths->wierd_responses,
(currenths->flags & HOST_UP)? " Note -- the actual IP also responded." : "");
else {
log_write(LOG_NORMAL|LOG_SKID|LOG_STDOUT,"Host %s (%s) seems to be a subnet broadcast address (returned %d extra pings). %s.\n", currenths->name,
p = xml_convert(currenths->FPR.prints[i]->OS_name),
(int) (currenths->FPR.accuracy[i] * 100));
free(p);
}
log_write(LOG_NORMAL|LOG_SKID|LOG_STDOUT, "\n");
}
if (o.scan_delay < 500 && currenths->osscan_openport > 0 &&
currenths->osscan_closedport > 0 ) {
log_write(LOG_NORMAL|LOG_SKID_NOXLT|LOG_STDOUT,"No exact OS matches for host (If you know what OS is running on it, see http://www.insecure.org/cgi-bin/nmap-submit.cgi).\nTCP/IP fingerprint:\n%s\n\n", mergeFPs(currenths->FPs, currenths->numFPs, currenths->osscan_openport, currenths->osscan_closedport));
} else {
log_write(LOG_NORMAL|LOG_SKID_NOXLT|LOG_STDOUT,"No exact OS matches for host (test conditions non-ideal).\nTCP/IP fingerprint:\n%s\n\n", mergeFPs(currenths->FPs, currenths->numFPs, currenths->osscan_openport, currenths->osscan_closedport));
} else if (currenths->FPR.overall_results == OSSCAN_NOMATCHES) {
if (o.scan_delay < 500 && currenths->osscan_openport > 0 &&
currenths->osscan_closedport > 0 ) {
log_write(LOG_NORMAL|LOG_SKID_NOXLT|LOG_STDOUT,"No OS matches for host (If you know what OS is running on it, see http://www.insecure.org/cgi-bin/nmap-submit.cgi).\nTCP/IP fingerprint:\n%s\n\n", mergeFPs(currenths->FPs, currenths->numFPs, currenths->osscan_openport, currenths->osscan_closedport));
} else {
log_write(LOG_NORMAL|LOG_SKID_NOXLT|LOG_STDOUT,"No OS matches for host (test conditions non-ideal).\nTCP/IP fingerprint:\n%s\n\n", mergeFPs(currenths->FPs, currenths->numFPs, currenths->osscan_openport, currenths->osscan_closedport));
}
} else if (currenths->FPR.overall_results == OSSCAN_TOOMANYMATCHES)
{
log_write(LOG_NORMAL|LOG_SKID|LOG_STDOUT,"Too many fingerprints match this host for me to give an accurate OS guess\n");