mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Only print the "insufficient responses for TCP sequencing" if at least one
response was received, not zero. Because four responses are sufficient, the message will be printed if one, two, or three reponses were received. The message started being printed with zero responses in r12285, with an unrelated change. The message also now includes the IP address of the relevant host and requires debugging to be enabled.
This commit is contained in:
parent
1b315f7b97
commit
3af559b852
1 changed files with 3 additions and 4 deletions
|
|
@ -1806,10 +1806,9 @@ void HostOsScan::makeTSeqFP(HostOsScanStats *hss) {
|
|||
seq_AVs[avnum].attribute = (char*)"ISR";
|
||||
sprintf(seq_AVs[avnum].value, "%X", (unsigned int) seq_rate);
|
||||
avnum++;
|
||||
}
|
||||
else {
|
||||
log_write(LOG_PLAIN,
|
||||
"Insufficient responses for TCP sequencing (%d), OS detection may be less accurate\n", hss->si.responses);
|
||||
} else if (hss->si.responses > 0) {
|
||||
if (o.debugging)
|
||||
log_write(LOG_PLAIN, "Insufficient responses from %s for TCP sequencing (%d), OS detection may be less accurate\n", hss->target->targetipstr(), hss->si.responses);
|
||||
}
|
||||
|
||||
/* Now it is time to deal with IPIDs */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue