mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 06:09:00 +00:00
b0976983bc0df99f652b834e2792ff7dcab3df13
test that was applied to packets returned in ICMP error messages. Because some operating systems modify the IP ID outside of Nmap's control, the apply_ipid_match function had a built-in heuristic whereby it would deactivate itself (always return true) if this seemed to be happening. What this meant in practice was that every time a successful match was made, a counter was incremented, and if the ratio of successful matches to successful matches was over 80%, IP ID matching was enforced. The matching and heuristic could cause relevant probes to be dropped in some cases. See http://seclists.org/nmap-dev/2009/q2/665 for an example of this and discussion. The IP ID match was always done in combination with other tests; so even without it we are still dealing with a relevant probe. The IP ID distinction could at best distinguish between retransmissions of the same probe, and it was not necessary for that in every case, such as with most TCP probes where we can use the SEQ field. I thought this small benefit was not worth the risk of potentially losing replies that we care about.
Applied a configure.in patch from Petr Salinger in Debian bug #542388 which apparently fixes the libdnet build on GNU/kFreeBSD
Made some changes suggested by Jah at http://seclists.org/nmap-dev/2009/q4/173, but I didn't make all of them because the file has also been changed by Rob and I'm not sure which still apply
Modified UDP-payload-related code to make it independent of the NmapOps class so it can be reused by other apps like Nping. More info at http://seclists.org/nmap-dev/2009/q3/0051.html
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.2%