mirror of
https://github.com/nmap/nmap.git
synced 2026-01-24 23:29:04 +00:00
22d49bd5c9ca1cd5ca89e980e8e897eb7b9a925c
This commit fixes two different bugs: (1) First in some situations Nmap will only see routes that are attached to the device that handles the default route. (2) On boxes without a default route, Nmap will not see any route. These two bugs are caused by sysroutes_dnet_find_interfaces() logic which will use only the geteway to match interface addresses. To fix this, first check the current route and see if the gateway was set otherwise use the destination address to match the address of an interface.
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%