mirror of
https://github.com/nmap/nmap.git
synced 2026-01-26 08:09:07 +00:00
40ae30f600db465f40cf8a9bddcb94713a4b385a
In r8541 readip_pcap was given the ability to validate packets, and it also returns a different length in some cases than it used to: + /* OK, since the IP header has been validated, we don't want to tell + * the caller they have more packet than they really have. This can + * be caused by the Ethernet CRC trailer being counted, for example. + */ + if (*len > ntohs(iphdr->ip_len)) + *len = ntohs(iphdr->ip_len); which made some tests having to do with packet length invalid. They were removed but this one was missed.
Here is some documentation for Nmap, but these files are much less comprehensive than what you'll find at the actual Nmap documentation site ( http://nmap.org ).
Description
Languages
C
37.8%
Lua
28.1%
C++
16.7%
Shell
5.8%
Python
4.2%
Other
7.1%