Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
david 7197d18d52 Cherry-pick changes to require <linux/compiler.h>.
I needed this to build with --with-libpcap=included on Linux 2.6.16,
otherwise I got this error:

gcc -g -O2 -O2 -fpic -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -c ./pcap-usb-linux.c
./pcap-usb-linux.c: In function ‘probe_devices’:
./pcap-usb-linux.c:234: error: storage size of ‘ctrl’ isn’t known
./pcap-usb-linux.c:279: error: ‘USBDEVFS_CONTROL’ undeclared (first use in this function)
./pcap-usb-linux.c:279: error: (Each undeclared identifier is reported only once
./pcap-usb-linux.c:279: error: for each function it appears in.)
make[1]: *** [pcap-usb-linux.o] Error 1

commit a092bafeee07c97352d2c6d06780220286ab2db0
Author: Guy Harris <guy@alum.mit.edu>
Date:   Tue Nov 30 15:52:45 2010 -0800

    In test programs, just as in pcap-usb-linux.c, if we have
    <linux/compiler.h> we (probably need to include it before including
    <linux/usbdevice_fs.h>, otherwise the test may fail when it shouldn't.

commit b019cc06cb4fdc01f99a36581fe7b55e2533d663
Author: Guy Harris <guy@alum.mit.edu>
Date:   Thu Nov 25 14:06:01 2010 -0800

    Check whether we have <linux/compiler.h>.

    Not all distributions have it in /usr/include; I guess the ones that
    don't have it have versions of other kernel headers that don't require
    it.

commit 0920898be2ede72baafa2a02e77ea223ecbe4f9a
Author: Guy Harris <guy@alum.mit.edu>
Date:   Thu Nov 25 13:49:16 2010 -0800

    Include <linux/compiler.h> before including <linux/usbdevice_fs.h>.

    Some versions of the Linux kernel require that.

commit 85089fea5732acc004dcc7e6aebcb0510c37f675
Author: Guy Harris <guy@alum.mit.edu>
Date:   Fri Jun 4 10:48:16 2010 -0700

    Do filtering on USB and Bluetooth capturing.

    Do the standard userland filtering on USB and Bluetooth captures, rather
    than returning "success" when the filter is installed without doing
    anything with the filter.

    Also, squelch some "dereferencing type-punned pointer will break
    strict-aliasing rules" warnings in pcap-bt-linux.c, by using memcpy
    rather than pointer-casting.
2011-10-27 15:38:30 +00:00
docs Update version number to 5.61TEST2 in prep for release 2011-09-30 06:25:57 +00:00
libdnet-stripped SIOCGLIFCONF-based implementation of intf_loop for Solaris 10. 2011-09-30 00:42:45 +00:00
liblinear Change another "make" to "$(MAKE)", thanks olli hauer. 2011-09-23 21:15:09 +00:00
liblua
libnetutil Revert r26741. 2011-10-22 01:09:30 +00:00
libpcap Cherry-pick changes to require <linux/compiler.h>. 2011-10-27 15:38:30 +00:00
libpcre Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
macosx New macosx build for i386 and 10.5. 2011-10-13 05:03:31 +00:00
mswin32 Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
ndiff Update version number to 5.61TEST2 in prep for release 2011-09-30 06:25:57 +00:00
nselib o [NSE] Added the scripts rtsp-url-brute, rtsp-methods and the supporting rtsp 2011-10-26 21:36:37 +00:00
scripts o [NSE] Added the script irc-brute that performs password guessing against 2011-10-26 21:55:35 +00:00
todo Add a task 2011-10-26 02:05:42 +00:00
acinclude.m4 Check that pcap_get_selectable_fd is declared in PCAP_IS_SUITABLE. 2011-09-24 06:35:38 +00:00
aclocal.m4
BSDmakefile
CHANGELOG o [NSE] Added the script irc-brute that performs password guessing against 2011-10-26 21:55:35 +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 Check for libcrypt on AIX, otherwise static linking doesn't work. 2011-10-19 22:40:49 +00:00
configure.ac Check for libcrypt on AIX, otherwise static linking doesn't work. 2011-10-19 22:40:49 +00:00
COPYING Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
depcomp
FingerPrintResults.cc Allow NULL OS_Classification components when comparing. 2011-10-03 04:00:26 +00:00
FingerPrintResults.h Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
FPEngine.cc Include the target address in the NI IPv6 OS probe. 2011-10-25 09:41:19 +00:00
FPEngine.h Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
FPmodel.cc Regen FPmodel. 2011-10-19 07:33:21 +00:00
global_structures.h Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
HACKING
idle_scan.cc Use a special struct_ip.h to include <netinet/ip.h> and accoutrements. 2011-09-21 07:31:38 +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 Disable debugging for FPmodel.o, avoiding an assembler problem on AIX. 2011-09-24 04:10:53 +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 latest IEEE data as of 9/29/11 2011-09-29 23:24:57 +00:00
nmap-os-db Add a new Solaris 11 OS fingerprint. 2011-10-17 07:37:39 +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 Added CPEs for WU-FTPD 2011-10-24 14:16:59 +00:00
nmap-services change copyright date 2011-01-21 20:59:10 +00:00
nmap.cc Whitespace. 2011-10-11 20:32:41 +00:00
nmap.h Update version number to 5.61TEST2 in prep for release 2011-09-30 06:25:57 +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 Move the HAVE_SOCKADDR_SA_LEN test to nbase. 2011-09-26 22:26:51 +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 Limit scope of recvfrom address. 2011-09-03 18:48:12 +00:00
nmap_rpc.h Use u32 rather than unsigned long to define RPC packet structure. 2011-09-03 18:08:20 +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 Enable IPv6 OS results by default. 2011-09-30 05:58:45 +00:00
NmapOps.h Enable IPv6 OS results by default. 2011-09-30 05:58:45 +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 Use a special struct_ip.h to include <netinet/ip.h> and accoutrements. 2011-09-21 07:31:38 +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 Fixed a bug I introduced in r23911 that caused some "rules" to not 2011-09-30 06:54:53 +00:00
nse_nmaplib.cc Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +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 Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
osscan.h Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
osscan2.cc o Increased hop distance estimates from OS detection by one. The 2011-10-01 01:53:22 +00:00
osscan2.h Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
output.cc Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +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 Merge r26341:26417 from /nmap-exp/david/nmap-cpe. 2011-09-09 23:24:14 +00:00
portlist.h Merge r26341:26417 from /nmap-exp/david/nmap-cpe. 2011-09-09 23:24:14 +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 Use a special struct_ip.h to include <netinet/ip.h> and accoutrements. 2011-09-21 07:31:38 +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 Merge r26341:26417 from /nmap-exp/david/nmap-cpe. 2011-09-09 23:24:14 +00:00
service_scan.h Merge r26341:26417 from /nmap-exp/david/nmap-cpe. 2011-09-09 23:24:14 +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
struct_ip.h Move definitions of struct ip and struct icmp to struct_ip.h. 2011-09-30 07:06:14 +00:00
Target.cc Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
Target.h Merge from /nmap-exp/luis/nmap-os6. 2011-09-19 18:31:46 +00:00
TargetGroup.cc Remove extra const qualifiers. 2011-10-13 20:52:03 +00:00
TargetGroup.h Remove extra const qualifiers. 2011-10-13 20:52:03 +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 Don't use strict inequality with MAX_LINK_HEADERSZ. 2011-09-29 22:23:14 +00:00
tcpip.h Remove unused prototype for the routethrough function. 2011-10-13 20:52:04 +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 Remove accidental duplicate struct_ip definitions. 2011-09-21 07:48:11 +00:00
traceroute.h Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
utils.cc Merge r26341:26417 from /nmap-exp/david/nmap-cpe. 2011-09-09 23:24:14 +00:00
utils.h Merge r26341:26417 from /nmap-exp/david/nmap-cpe. 2011-09-09 23:24:14 +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 ).