mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Show ICMP ID and seqno in packet trace by default.
This was previously limited to ippackethdrinfo's medium detail and above, which required -v in Nping and -d2 in Nmap.
This commit is contained in:
parent
d79e431e7a
commit
41b397200b
2 changed files with 5 additions and 7 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o Packet trace of ICMP packets now include the ICMP ID and sequence
|
||||
number by default. [David Fifield]
|
||||
|
||||
o [NSE] Added ike-version and a new ike library by Jesper Kückelhahn. Thanks
|
||||
also go to Roy Hills, who allowed the use of the signature database from
|
||||
the ike-scan tool.
|
||||
|
|
|
|||
|
|
@ -2965,13 +2965,8 @@ icmpbad:
|
|||
else
|
||||
strncpy(icmpinfo,"type=?/code=?", sizeof(icmpinfo));
|
||||
|
||||
if (detail == LOW_DETAIL) {
|
||||
Snprintf(protoinfo, sizeof(protoinfo), "ICMP %s > %s %s (%s) %s",
|
||||
srchost, dsthost, icmptype, icmpinfo, ipinfo);
|
||||
} else {
|
||||
Snprintf(protoinfo, sizeof(protoinfo), "ICMP [%s > %s %s (%s) %s] IP [%s]",
|
||||
srchost, dsthost, icmptype, icmpinfo, icmpfields, ipinfo);
|
||||
}
|
||||
Snprintf(protoinfo, sizeof(protoinfo), "ICMP [%s > %s %s (%s) %s] IP [%s]",
|
||||
srchost, dsthost, icmptype, icmpinfo, icmpfields, ipinfo);
|
||||
}
|
||||
|
||||
/* UNKNOWN PROTOCOL **********************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue