Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
david a13313ad2f Don't double-count RTA_LENGTH in netlink messages.
For each rtattr we add to the netlink message, we were adding
RTA_LENGTH(rtattr->rta_len) to the length of the netlink message. But
rtattr->rta_len was already calculated as RTA_LENGTH of something, and
doing RTA_LENGTH twice made the length 4 bytes longer than it should be.
This caused a log in dmesg:
	netlink: 4 bytes leftover after parsing attributes.
or
	netlink: 8 bytes leftover after parsing attributes.
if there was an IPv6 scope ID (because that causes two rtattrs instead
of one).

The new code is consistent with the rtnetlink(3) man page, which does
	rta->rta_len = sizeof(unsigned int);
	req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + RTA_LENGTH(sizeof(unsigned int));
We do the equivalent
	rta->rta_len = sizeof(unsigned int);
	req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + rta->rta_len;
2011-09-03 17:22:07 +00:00
docs o Relaxed the XML DTD to allow validation of files where the verbosity 2011-09-02 22:21:12 +00:00
libdnet-stripped Add the intf_entry.intf_index member. 2011-08-30 23:55:07 +00:00
liblua
libnetutil Don't double-count RTA_LENGTH in netlink messages. 2011-09-03 17:22:07 +00:00
libpcap
libpcre Prevent pcre.h from being regenerated everytime configure is invoked and 2011-08-10 16:38:37 +00:00
macosx o [Ndiff] Fixed the Mac OS X packages to use the correct path for 2011-03-15 22:09:10 +00:00
mswin32 Use "cmd /c copy" rather than "cp" when copying OpenSSL DLLs. 2011-08-31 19:41:13 +00:00
ndiff Update svn version number to 5.59BETA3. There isn't an imminent release or anything, but I think bumping it will reduce confusion. Plus, I accidentally checked in a modified version number to some of the externals (when meaning to just modify a branch), so this will make the version consistent 2011-08-25 06:47:10 +00:00
nselib Modified start_session_basic so as to return the 2011-09-03 17:01:13 +00:00
scripts When combined with the previous commit to smb.lua these changes add support to smb-brute.nse for detecting valid credentials for accounts that have expired and time/logon host restrictions. 2011-09-03 17:11:04 +00:00
todo add trivial task note 2011-08-22 21:47:46 +00:00
acinclude.m4 Merge from /nmap-exp/david/nmap-ipv6. 2011-06-08 01:24:48 +00:00
aclocal.m4
BSDmakefile
CHANGELOG When combined with the previous commit to smb.lua these changes add support to smb-brute.nse for detecting valid credentials for accounts that have expired and time/logon host restrictions. 2011-09-03 17:11:04 +00:00
charpool.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
charpool.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
config.guess
config.sub
configure Merge from /nmap-exp/david/nmap-ipv6. 2011-06-08 01:24:48 +00:00
configure.ac Merge from /nmap-exp/david/nmap-ipv6. 2011-06-08 01:24:48 +00:00
COPYING Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
depcomp
FingerPrintResults.cc Remove some code that only applied to gen-1 OS detection. 2011-08-16 17:50:23 +00:00
FingerPrintResults.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
global_structures.h Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
HACKING
idle_scan.cc Fix some [-Wunused-but-set-variable] warnings. 2011-07-19 21:40:32 +00:00
idle_scan.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
INSTALL
ltmain.sh
MACLookup.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
MACLookup.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
main.cc Move get/set_program_name from main.cc to nmap.cc. 2011-06-15 18:12:33 +00:00
Makefile.in o [NSE] Remove the mac-geolocation script entries since the it was deleted. 2011-07-18 09:58:50 +00:00
missing
nmap-header-template.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nmap-mac-prefixes Update nmap-mac-prefixes to the latest data as of 2011-06-29 2011-06-29 08:33:42 +00:00
nmap-os-db sort fingerprints in nmap-os-db (my build scripts do this automatically) 2011-08-25 06:47:33 +00:00
nmap-payloads Turn the 6481/udp probe from servicetags.nse into a UDP payload. 2011-02-22 04:32:59 +00:00
nmap-protocols
nmap-rpc Regenerate (and manually merge) nmap-rpc from the master file at 2011-03-24 02:57:02 +00:00
nmap-service-probes o Rearranged some characters classes in service matches to avoid any 2011-08-24 15:44:21 +00:00
nmap-services change copyright date 2011-01-21 20:59:10 +00:00
nmap.cc Merging branch /nmap-exp/shinnok/nmap-options-parsing into trunk. 2011-07-29 23:50:28 +00:00
nmap.h Update svn version number to 5.59BETA3. There isn't an imminent release or anything, but I think bumping it will reduce confusion. Plus, I accidentally checked in a modified version number to some of the externals (when meaning to just modify a branch), so this will make the version consistent 2011-08-25 06:47:10 +00:00
nmap.spec.in Use %{_target_cpu} to support both i386 and x86_64. 2011-06-08 23:01:31 +00:00
nmap_amigaos.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nmap_config.h.in Merge from /nmap-exp/david/nmap-ipv6. 2011-06-08 01:24:48 +00:00
nmap_dns.cc Removed Trailing Spaces 2011-05-21 01:30:50 +00:00
nmap_dns.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nmap_error.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nmap_error.h Fix MSVC compiler noreturn related warnings and add extra 2011-06-23 23:59:52 +00:00
nmap_rpc.cc Remove -sR o.rpcscan handling; make -sR an alias for -sV. 2011-03-12 18:20:09 +00:00
nmap_rpc.h Remove -sR o.rpcscan handling; make -sR an alias for -sV. 2011-03-12 18:20:09 +00:00
nmap_tty.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nmap_tty.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nmap_winconfig.h Show which libraries are the ones included with Nmap and which are from 2011-02-24 21:06:59 +00:00
NmapOps.cc Merging branch /nmap-exp/shinnok/nmap-options-parsing into trunk. 2011-07-29 23:50:28 +00:00
NmapOps.h Merging branch /nmap-exp/shinnok/nmap-options-parsing into trunk. 2011-07-29 23:50:28 +00:00
NmapOutputTable.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
NmapOutputTable.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nse_binlib.cc
nse_binlib.h
nse_bit.cc
nse_bit.h
nse_debug.cc
nse_debug.h
nse_dnet.cc Made getInterfaceByName() return IPv6 interface information. 2011-08-10 22:56:34 +00:00
nse_dnet.h o [NSE] Removed the nmap.get_interface_link function, which was 2011-04-22 22:47:28 +00:00
nse_fs.cc Add a new cnse.fetchscript, which first checks for an absolute path, 2011-03-26 06:48:29 +00:00
nse_fs.h Add a new cnse.fetchscript, which first checks for an absolute path, 2011-03-26 06:48:29 +00:00
nse_main.cc Just use srand on NSE startup in nse_main.cc. This removes the need 2011-05-24 02:48:39 +00:00
nse_main.h
nse_main.lua o [NSE] When the rule function failes include its type in the error message. 2011-08-16 01:24:46 +00:00
nse_nmaplib.cc Removed unnecesary variable from l_list_interfaces() in nse_nmaplib.cc 2011-07-11 22:16:05 +00:00
nse_nmaplib.h Remove get_target() and get_port() function declaration from the nse_nmaplib.h since they are already declared in the nse_utility.h 2011-02-10 08:45:50 +00:00
nse_nsock.cc Fixed a bug: use sockaddr_storage instead of sockaddr. 2011-06-09 17:38:04 +00:00
nse_nsock.h
nse_openssl.cc
nse_openssl.h
nse_pcrelib.cc
nse_pcrelib.h
nse_ssl_cert.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nse_ssl_cert.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
nse_utility.cc
nse_utility.h
osscan.cc Make str2AVal not modify its argument. 2011-07-26 20:48:03 +00:00
osscan.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
osscan2.cc Use static allocation of OsScanInfo and HostOsScan. 2011-07-28 18:45:14 +00:00
osscan2.h Reorganized source file so methods of the same class are grouped together 2011-07-26 12:03:18 +00:00
output.cc Actually honor the append parameter to log_open. 2011-06-14 02:29:40 +00:00
output.h Remove some unused function parameters. 2011-06-14 02:29:39 +00:00
payload.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
payload.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
portlist.cc Properly make some methods const. 2011-06-14 02:29:41 +00:00
portlist.h Properly make some methods const. 2011-06-14 02:29:41 +00:00
portreasons.cc Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
portreasons.h Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
protocols.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
protocols.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
README-WIN32
scan_engine.cc Count ND probes in UltraScan::numProbesPerHost. 2011-08-30 23:55:12 +00:00
scan_engine.h Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
service_scan.cc Fix some [-Wunused-but-set-variable] warnings. 2011-07-19 21:40:32 +00:00
service_scan.h Properly make some methods const. 2011-06-14 02:29:41 +00:00
services.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
services.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
shtool
Target.cc Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
Target.h Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
TargetGroup.cc Remove unused TargetGroup::rewind method. It was used for --exclude groups before that code was rewritten to use addrset. 2011-08-04 02:37:05 +00:00
TargetGroup.h Remove unused TargetGroup::rewind method. It was used for --exclude groups before that code was rewritten to use addrset. 2011-08-04 02:37:05 +00:00
targets.cc Keep a std::string in scope when accessing its c_str. 2011-07-29 20:43:31 +00:00
targets.h Merging from nmap-exp/colin/nmap-addrset, nmap-exp/colin/nbase-addrset, and /nmap-exp/colin/ncat-addrset 2011-06-20 20:46:41 +00:00
tcpip.cc Assign scope id in nmap_route_dst. 2011-08-30 23:55:09 +00:00
tcpip.h Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
timing.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
timing.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
traceroute.cc Make dummy struct operator() const. 2011-07-25 23:31:17 +00:00
traceroute.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
utils.cc Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
utils.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
xml.cc Comment typo. 2011-06-14 19:46:43 +00:00
xml.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
zenmap.spec.in

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