Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
david 02b1a00bf9 Change the way route_dst works to allow static routes to override
interface addresses and netmasks.

Before, route_dst worked like this:
  1) Check destination address against all interfaces, with special-case
     handling for local addresses.
  2) Check destination address against routing table.

Now it works like this:
  1) Check destination address against local addresses.
  2) Check destination address against routing table.
  3) Check destination address against all interfaces.

This allows a routing table entry to override an interface, for example
in this configuration:

  ************************INTERFACES************************
  DEV  (SHORT) IP/MASK         TYPE     UP MAC
  eth0 (eth0)  192.168.0.21/24 ethernet up 00:00:00:00:00:00

  **************************ROUTES**************************
  DST/MASK       DEV  GATEWAY
  192.168.0.3/32 eth0 192.168.0.1
  192.168.0.0/24 eth0

192.168.0.3 will not be considered directly connected, but will have its
traffic routed through 192.168.0.1.

The logic for determining when an address is directly connected has
changed. Instead of considering an address directly connected whenever
it matches an interface netmask, we consider it so when the gateway
address is 0.0.0.0 or when the gateway address is exactly equal to the
interface address. The proper way to do this would be to look at the "G"
flag from the routing table, but libdnet doesn't retain that.
2010-03-11 20:04:21 +00:00
docs Add references and index entries for the old names of -sn and -Pn to 2010-03-11 01:43:06 +00:00
libdnet-stripped o Fixed the parsing of libdnet DLPI interface names that contain more 2010-02-28 19:45:39 +00:00
liblua Fix all the compiler warnings when building with Visual C++ 2008. 2009-04-29 17:56:30 +00:00
libpcap Fix a messed-up patch in NMAP_MODIFICATIONS. 2009-11-04 18:50:55 +00:00
libpcre Changed the build system a bit. Removed Makefile.am since we no longer have all the files needed to recreate it in the libpcre directory anyway. I had to edit Makefile.in to remove references to it too. Removed some configure.ac code which lead to removing pcre_chartables.cc; regenerated configure and aclocal 2009-06-07 06:43:32 +00:00
macosx Use capital letters in package names. The Snow Leopard PackageMaker seems to 2010-03-07 05:36:26 +00:00
mswin32 Update vcredist_x86.exe to version 9.0.30729.4148. Axel Pettinger reported that 2010-03-03 00:25:28 +00:00
ndiff latest generated man pages 2010-02-19 06:28:14 +00:00
nselib o Added the function bignum_add to the nse_openssl library to support BIGNUM 2010-03-09 20:54:01 +00:00
scripts o [NSE] Added checks for missing OpenSSL to MySQL scripts and library [Patrik] 2010-03-09 20:27:48 +00:00
acinclude.m4
aclocal.m4 Add --enable-nls and --disable-nls options to configure. These are used 2009-11-05 19:50:33 +00:00
BSDmakefile Merged -r13793:HEAD from nmap-exp/dev/nmap branch now that we're opening up trunk development 2009-06-29 23:48:19 +00:00
CHANGELOG Change the way route_dst works to allow static routes to override 2010-03-11 20:04:21 +00:00
charpool.cc Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
charpool.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
config.guess Update config.sub and config.guess from 2009-08-19 01:16:21 +00:00
config.sub Update config.sub and config.guess from 2009-08-19 01:16:21 +00:00
configure Merge r16779:16804 from /nmap-exp/david/nmap-nping. This adds Nping 2010-02-17 01:46:34 +00:00
configure.ac Merge r16779:16804 from /nmap-exp/david/nmap-nping. This adds Nping 2010-02-17 01:46:34 +00:00
COPYING Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
COPYING.OpenSSL
depcomp
FingerPrintResults.cc Merge from /nmap-exp/david/nmap-mem. This reduces the memory usage of OS 2009-11-23 21:22:07 +00:00
FingerPrintResults.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
global_structures.h Add a constructor for FingerPrint. 2009-12-18 07:59:31 +00:00
HACKING update version numbers of examples in HACKING file 2010-03-05 02:33:07 +00:00
idle_scan.cc simple comment and whitespace fix 2010-03-04 21:56:29 +00:00
idle_scan.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
INSTALL
ltmain.sh Update ltmain.sh to version 2.2.6 for libdnet. 2009-08-07 17:42:12 +00:00
MACLookup.cc Use an std::map instead of a custom hash table for MAC address prefix 2009-11-11 21:25:07 +00:00
MACLookup.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
main.cc Signal handling fixes: fixed nbase configure to actually set HAVE_SIGNAL 2009-08-13 21:54:55 +00:00
Makefile.in Merge r16779:16804 from /nmap-exp/david/nmap-nping. This adds Nping 2010-02-17 01:46:34 +00:00
missing
nmap-header-template.cc Remove a stray trailing space from nmap-header-template.cc. 2009-08-19 21:05:21 +00:00
nmap-mac-prefixes update to the latest mac address prefixes from ieee's oui.txt 2009-11-06 07:42:37 +00:00
nmap-os-db Regenerate all the auto-generated Nmap files in prep for the next release 2010-01-15 08:27:21 +00:00
nmap-protocols
nmap-rpc
nmap-service-probes Added matchline for the Arucer backdoor. The Arucer backdoor was found to be packaged with drivers for the Energizer USB recharger: http://www.kb.cert.org/vuls/id/154421 2010-03-08 18:22:50 +00:00
nmap-services Rename port 2000 from callbook to cisco-sccp, include 4190 as sieve (ManageSieve). Patch from Matt Selsky) 2009-12-17 06:32:42 +00:00
nmap.cc Switch to -sn and -Pn as the new preferred synonyms for -sP and -P0. 2010-03-11 01:16:06 +00:00
nmap.h Update version number to 5.21 to reflect the latest Nmap user (even though technically the 5.21 release is coming from the /nmap-exp/stable-5.2 branch 2010-01-27 02:51:09 +00:00
nmap.spec.in Package translated man pages in the RPM spec file. 2009-11-05 22:29:19 +00:00
nmap_amigaos.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
nmap_config.h.in remove PCAP_TIMEOUT_IGNORED define since it isn't used anywhere currently 2009-05-20 21:15:37 +00:00
nmap_dns.cc Fix these compiler warnings with a patch from Solar Designer: 2010-01-28 18:55:08 +00:00
nmap_dns.h Merge from svn://svn.insecure.org/nmap-exp/david/nmap-traceroute. This 2009-09-17 00:03:46 +00:00
nmap_error.cc Revert r16464. 2010-01-15 03:55:23 +00:00
nmap_error.h Fix these compiler warnings with a patch from Solar Designer: 2010-01-28 18:55:08 +00:00
nmap_rpc.cc Merge again from /nmap-exp/david/nmap-mem; this fixes a couple of bugs. 2009-12-20 03:22:19 +00:00
nmap_rpc.h Merge again from /nmap-exp/david/nmap-mem; this fixes a couple of bugs. 2009-12-20 03:22:19 +00:00
nmap_tty.cc Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
nmap_tty.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
nmap_winconfig.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
NmapOps.cc Switch to -sn and -Pn as the new preferred synonyms for -sP and -P0. 2010-03-11 01:16:06 +00:00
NmapOps.h Rename the o.pingscan variable to o.noportscan to reflect its true 2009-07-17 01:02:57 +00:00
NmapOutputTable.cc Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
NmapOutputTable.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
nse_binlib.cc Updated uses of the ctype function to support explict casting of the arguments 2009-08-06 15:10:00 +00:00
nse_binlib.h
nse_bit.cc Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_bit.h Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_debug.cc Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_debug.h Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_fs.cc [NSE] Applied change to remove the old nse_macros.h header file. 2009-06-07 01:25:53 +00:00
nse_fs.h [NSE] Applied change to remove the old nse_macros.h header file. 2009-06-07 01:25:53 +00:00
nse_main.cc Use defines for library names "nmap" and "stdnse.c" 2010-02-06 00:59:33 +00:00
nse_main.h Use a list instead of a vector for ScriptResults; it's 8 bytes instead 2009-12-20 03:29:35 +00:00
nse_main.lua Fix bug where Lua will load original, optional Lua libraries when we have 2010-01-21 18:56:30 +00:00
nse_nmaplib.cc Merge through r16884 from /nmap-exp/kris/nse-rawip plus the following changelog 2010-02-26 20:42:10 +00:00
nse_nmaplib.h Use defines for library names "nmap" and "stdnse.c" 2010-02-06 00:59:33 +00:00
nse_nsock.cc Use socket_errno() instead of errno in NSE raw socket code, to get 2010-03-02 18:29:22 +00:00
nse_nsock.h Make some changes to nse_ssl_cert.cc for Windows compilation. 2009-08-14 04:44:19 +00:00
nse_openssl.cc o Added the function bignum_add to the nse_openssl library to support BIGNUM 2010-03-09 20:54:01 +00:00
nse_openssl.h Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_pcrelib.cc Fix a memory leak in nse_pcrelib.cc. A string was being copied with 2009-07-23 02:59:57 +00:00
nse_pcrelib.h
nse_ssl_cert.cc Fix a typo in a comment. 2010-01-28 19:12:11 +00:00
nse_ssl_cert.h Add the nmap.get_ssl_certificate NSE function, which returns the peer 2009-08-13 23:32:33 +00:00
osscan.cc Add a constructor for FingerPrint. 2009-12-18 07:59:31 +00:00
osscan.h Merge from /nmap-exp/david/nmap-mem. This reduces the memory usage of OS 2009-11-23 21:22:07 +00:00
osscan2.cc Revert r16464. 2010-01-15 03:55:23 +00:00
osscan2.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
output.cc Don't call htonl on a netmask before displaying it in --iflist; it's 2010-03-11 17:46:27 +00:00
output.h Print host timing information ("Final times for host" and the times 2009-11-16 08:36:58 +00:00
payload.cc Use the Quake 2 and Quake 3 server status probes as UDP payloads. 2010-01-30 04:41:25 +00:00
payload.h 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 2009-07-07 18:21:30 +00:00
portlist.cc Reset port_list_count in PortList::freePortMap. 2010-02-26 21:25:41 +00:00
portlist.h Change PortList::getPortState to return the default port state if the 2010-01-26 20:46:26 +00:00
portreasons.cc Merge again from /nmap-exp/david/nmap-mem; this fixes a couple of bugs. 2009-12-20 03:22:19 +00:00
portreasons.h Merge again from /nmap-exp/david/nmap-mem; this fixes a couple of bugs. 2009-12-20 03:22:19 +00:00
protocols.cc Updated uses of the ctype function to support explict casting of the arguments 2009-08-06 15:10:00 +00:00
protocols.h o Added initial SCTP port scanning support to Nmap. SCTP is 2009-06-03 23:15:45 +00:00
README-WIN32
scan_engine.cc Change PacketTrace::traceArp not to take the Ethernet header. It wasn't 2010-03-10 16:58:24 +00:00
scan_engine.h o Added initial SCTP port scanning support to Nmap. SCTP is 2009-06-03 23:15:45 +00:00
service_scan.cc Only change the port state to PORT_OPEN during service scan if it is not 2010-01-26 20:14:29 +00:00
service_scan.h Add an n parameter to ServiceProbe::testMatch to enable getting all of 2009-12-19 08:30:18 +00:00
services.cc Add a function free_services that tells Nmap to reload the nmap-services 2010-02-26 22:29:03 +00:00
services.h Add a function free_services that tells Nmap to reload the nmap-services 2010-02-26 22:29:03 +00:00
shtool
Target.cc Make the argument to Target::setTargetName const. 2009-10-26 23:12:20 +00:00
Target.h Fixing compilation when --without-liblua is used. 2010-01-24 08:57:38 +00:00
TargetGroup.cc Return the last host before skipping an octet in an IPv4 range exclude 2009-11-18 01:17:59 +00:00
TargetGroup.h Remove some obsolete syntax from a comment. 2009-11-16 23:17:59 +00:00
targets.cc Keep trace of the list of addresses a name resolved to, and print out 2009-10-27 06:08:04 +00:00
targets.h Split the load_exclude function into load_exclude_file and 2009-09-29 02:06:56 +00:00
tcpip.cc Change the way route_dst works to allow static routes to override 2010-03-11 20:04:21 +00:00
tcpip.h Merge through r16884 from /nmap-exp/kris/nse-rawip plus the following changelog 2010-02-26 20:42:10 +00:00
timing.cc Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
timing.h Suggest that people send patches to nmap-dev rather than to me directly 2009-04-15 00:37:03 +00:00
traceroute.cc Revert r16464. 2010-01-15 03:55:23 +00:00
traceroute.h Merge from svn://svn.insecure.org/nmap-exp/david/nmap-traceroute. This 2009-09-17 00:03:46 +00:00
utils.cc Replaced nmap's hex dump functions with new hexdump() included in nbase. Before 2009-08-25 18:09:19 +00:00
utils.h Replaced nmap's hex dump functions with new hexdump() included in nbase. Before 2009-08-25 18:09:19 +00:00
zenmap.spec.in Cope with not having the pysqlite2 or sqlite3 modules in Zenmap by 2009-06-12 22:34:50 +00:00

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 ).