Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
david eddc2b0839 Merge r5733:5850 from /nmap-exp/david/nmap-massping-migration.
Remove special-purpose log functions for graphing congestion control and other t
hings. There's enough information provided by -d3.

Update the congestion control graph program and add a program for graphing probe
s and drops.

Increase the initial ccthresh from 50 to 75.

Change how much the congestion threshold drops on packet drops.

Print group timing stats with -d2 and individual host timing stats with -d3.

Bump up the cc-graph.sh y axis limit to 80.

Put graphs in the same directory as their log file.

Go ahead and adjust timing for ICMP destination unreachables. I'm going to commi
t and experimental change to the congestion control that doesn't rely on this an
y more.

Scale group congestion control increments by the inverse of the packet
receipt ratio. This gives great performance without ignoring ICMP
destintation unreachable drops. This may be the breakthrough we've been
looking for.
I'll probably send a message about this later today. For information and        
graphs right now, see
http://www.bamsoftware.com/wiki/Nmap/ResponseRateScaledCongestionControl.
Sorry it's only in my nmap-massping-migration branch for now, but please
give it a try.

Only -d2 is now needed for cc-graph.sh.

Put a cap of 50 on the cwnd scaling factor.

Fix up the order of things in the packet_ratio debugging output.

Move the packet_ratio debugging output to printAnyStats and rearrange the order 
in which things are printed.

Put a header with the scan args at the top of the probes-graph.sh data files.

Add a function pcap_print_stats that shows the number of received and dropped pa
ckets for a descriptor.

Call pcap_print_stats after a run of ultra_scan.

Increase the congestion window less aggressively than before with -T4 and -T5 (s
till more aggressivly than with lesser timing values).
2007-09-18 06:34:33 +00:00
docs Add a note that --min-hostgroup and --max-hostgroup do not affect ping scans, after a suggestion by Brandon Enright. 2007-09-12 21:37:22 +00:00
libdnet-stripped NSE committed 2006-12-11 00:34:26 +00:00
liblua NSE committed 2006-12-11 00:34:26 +00:00
libpcap Upgrading shipped libpcap from 0.9.4 to 0.9.7. Includes CHANGELOG entry 2007-08-26 00:01:14 +00:00
libpcre Upgrading libpcre from version 6.7 to 7.2. The old distributed libpcre was ~900k, this one is 1.3M. But, the old 6.7 vanilla was 4.1M, while 7.2 is 4.9M in size. I've tested it on Linux and Windows, with no problems 2007-08-16 16:57:22 +00:00
mswin32 Committing my Build Guide for the Nmap Windows Installer 2007-08-17 20:52:40 +00:00
nmapfe merge soc07 r4819 - Put NMAP_VERSION in nmap.h only and have the makefiles grep it from there 2007-08-11 03:33:59 +00:00
nselib fixed a bug related to users providing a custom location for libpcre 2007-08-30 18:53:38 +00:00
scripts Making extra functions in my HTTPpasswd.nse and HTTPtrace.nse scripts 'local'. I mark my C functions static, so I'll mark my Lua ones local 2007-09-15 02:44:15 +00:00
aclocal.m4 get rid of silly top-level trunk dir 2005-04-11 22:34:19 +00:00
CHANGELOG add latest bugfix to CHANGELOG 2007-09-03 19:55:27 +00:00
charpool.cc merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
charpool.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
config.guess a bunch of misc. changes 2005-12-29 11:34:45 +00:00
config.h.in Remove inet_aton() checks from configure and HAVE_INET_ATON from config.h.in 2007-01-27 00:29:47 +00:00
config.sub a bunch of misc. changes 2005-12-29 11:34:45 +00:00
configure latest configure 2007-08-17 20:42:20 +00:00
configure.ac merge soc07 r5280 - fix config optimization bug 2007-08-11 06:03:50 +00:00
COPYING Minor source code header improvements 2006-08-25 01:47:49 +00:00
COPYING.OpenSSL get rid of silly top-level trunk dir 2005-04-11 22:34:19 +00:00
FingerPrintResults.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
FingerPrintResults.h merge soc07 r4959 - Put <extrareasons> inside <extraports> as this should really simplify XML parsers' jobs because they won't have to keep track of what states and reasons go together 2007-08-11 04:30:24 +00:00
global_structures.h added Eddie Bell's traceroute patch, with only minor changes 2007-03-13 08:02:19 +00:00
HACKING spellcheck patch 2006-09-05 08:39:32 +00:00
idle_scan.cc change IPID to IP ID in Nmap output as I think the latter is more proper, though if anyone thinks IPID is better, I'm happy to hear your reasons. 2007-09-08 21:43:51 +00:00
idle_scan.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
INSTALL a bunch of misc. changes 2005-12-29 11:34:45 +00:00
install-sh get rid of silly top-level trunk dir 2005-04-11 22:34:19 +00:00
MACLookup.cc merge soc07 r4871:4884 and r4888 - renaming __FUNCTION__ to __func__ and changing hardcoded func names to __func__ 2007-08-11 04:06:09 +00:00
MACLookup.h trivial comment-related patch from Kris Katterjohn 2006-09-07 04:21:43 +00:00
main.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
Makefile.in Remove debugging from the default DBGFLAGS and remove some debugging messages. 2007-08-28 00:16:38 +00:00
nmap-header-template.cc Minor source code header improvements 2006-08-25 01:47:49 +00:00
nmap-mac-prefixes update nmap-mac-prefixes to latest data and remove uper-ascii characters 2007-05-19 03:55:26 +00:00
nmap-os-db Fix a few small errors in nmap-os-db. 2007-09-16 06:22:41 +00:00
nmap-os-fingerprints merge soc07 r5252:5261 - nmap-service-probes fix and os-db canonicalization 2007-08-11 06:02:29 +00:00
nmap-protocols Nmap 3.9999 2006-01-28 07:57:37 +00:00
nmap-rpc a bunch of misc changes 2005-04-23 02:47:29 +00:00
nmap-service-probes change capitalization of ISC BIND (from Bind) 2007-09-07 01:23:10 +00:00
nmap-services add polipo web proxy cache 2007-04-24 20:32:00 +00:00
nmap.cc capitalization changes 2007-09-03 02:55:01 +00:00
nmap.h Merge r5728:5733 from /nmap-exp/david/nmap-massping-migration. 2007-08-30 06:30:29 +00:00
nmap.spec.in merge soc07 r5124:5142 - build/install system updates; changelog updates; umit install code; compilation fixes; integrate umit 2007-08-11 05:41:41 +00:00
nmap_amigaos.h Minor source code header improvements 2006-08-25 01:47:49 +00:00
nmap_dns.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
nmap_dns.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
nmap_error.cc merge soc07 r5116 - Flush LOG_NORMAL in gh_perror() and pfatal() instead of LOG_STDOUT when --log-errors is used 2007-08-11 05:36:05 +00:00
nmap_error.h Minor source code header improvements 2006-08-25 01:47:49 +00:00
nmap_rpc.cc merge soc07 r5085 - Changing bare printf()s to log_write(LOG_PLAIN,)s because these were always printed even when things like XML and greppable output were sent to stdout (e.g. -oX -). This also adds o.scriptTrace() to make --script-trace behave more like --packet-trace and --version-trace. Nsock tracing was done unconditionally in NSE, and that has been changed to only be done when o.scriptTrace() is true. 2007-08-11 05:13:16 +00:00
nmap_rpc.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
nmap_tty.cc merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
nmap_tty.h Minor source code header improvements 2006-08-25 01:47:49 +00:00
nmap_winconfig.h merge soc07 r4871:4884 and r4888 - renaming __FUNCTION__ to __func__ and changing hardcoded func names to __func__ 2007-08-11 04:06:09 +00:00
nmapfe.desktop get rid of silly top-level trunk dir 2005-04-11 22:34:19 +00:00
NmapOps.cc Look out, world, here comes the Nmap massping migration! 2007-08-27 23:58:23 +00:00
NmapOps.h merge soc07 r5317:5322 - NSE buffered receives and script arguments 2007-08-11 06:09:50 +00:00
NmapOutputTable.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
NmapOutputTable.h merge soc07 r4943:4947 - added textual information to traceroute's timeout consolidation elements; Reference trace consolidation is now displayed textually instead of symbolically. 2007-08-11 04:27:37 +00:00
nse_auxiliar.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
nse_auxiliar.h cannot directly include nmap_winconfig in these the way I was, or it will be included in nonwin32 2006-12-11 01:40:03 +00:00
nse_debug.cc merge soc07 r5085 - Changing bare printf()s to log_write(LOG_PLAIN,)s because these were always printed even when things like XML and greppable output were sent to stdout (e.g. -oX -). This also adds o.scriptTrace() to make --script-trace behave more like --packet-trace and --version-trace. Nsock tracing was done unconditionally in NSE, and that has been changed to only be done when o.scriptTrace() is true. 2007-08-11 05:13:16 +00:00
nse_debug.h NSE committed 2006-12-11 00:34:26 +00:00
nse_init.cc Trying to keep script.db tidy when running --script-updatedb. This sorts the script filenames before writing script.db. Tested on Linux and Windows 2007-09-15 01:01:35 +00:00
nse_init.h script arguments now get checked before nmap starts scanning 2007-08-20 21:56:36 +00:00
nse_macros.h merge soc07 r4891 - nse improvements 2007-08-11 04:12:45 +00:00
nse_main.cc a quick hack to the scheduling algorithm of scripts, which allows scripts to 2007-08-30 18:35:32 +00:00
nse_main.h script arguments now get checked before nmap starts scanning 2007-08-20 21:56:36 +00:00
nse_nmaplib.cc Adding nmap.verbosity() and nmap.debugging() for scripts so they can get the o.verbose and o.debugging values 2007-09-15 01:04:53 +00:00
nse_nmaplib.h NSE committed 2006-12-11 00:34:26 +00:00
nse_nsock.cc canonicalize capitalization 2007-09-08 05:56:15 +00:00
nse_nsock.h merge soc07 r5360:5367 - Merge Majek's raw packet NSE patch 2007-08-11 06:13:25 +00:00
nse_string.cc merge soc07 r4821 - fix nse build system issues 2007-08-11 03:35:12 +00:00
nse_string.h NSE committed 2006-12-11 00:34:26 +00:00
osscan.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
osscan.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
osscan2.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
osscan2.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
output.cc change IPID to IP ID in Nmap output as I think the latter is more proper, though if anyone thinks IPID is better, I'm happy to hear your reasons. 2007-09-08 21:43:51 +00:00
output.h merge soc07 r5081 - changed close to 100 occurrences of LOG_NORMAL|LOG_SKID|LOG_STDOUT (and combinations) to LOG_PLAIN, and moved LOG_PLAIN definition to output.h from traceroute.h 2007-08-11 05:11:47 +00:00
portlist.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
portlist.h Change reason.cc/h to portreasons.cc/h. This is because of a reason.h on Windows which causes compilation problems. A workaround was employed, but this is incase it pops up again. I also changed the recent CHANGELOG entry mentioning reason.h so there's no confusion 2007-08-15 19:26:26 +00:00
portreasons.cc Merge r5744 from /nmap-exp/david/nmap-massping-migration. 2007-08-31 05:02:25 +00:00
portreasons.h Merge r5744 from /nmap-exp/david/nmap-massping-migration. 2007-08-31 05:02:25 +00:00
protocols.cc merge soc07 r4871:4884 and r4888 - renaming __FUNCTION__ to __func__ and changing hardcoded func names to __func__ 2007-08-11 04:06:09 +00:00
protocols.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
README-WIN32 a bunch of misc. changes 2005-12-29 11:34:45 +00:00
scan_engine.cc Merge r5733:5850 from /nmap-exp/david/nmap-massping-migration. 2007-09-18 06:34:33 +00:00
scan_engine.h Look out, world, here comes the Nmap massping migration! 2007-08-27 23:58:23 +00:00
service_scan.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
service_scan.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
services.cc merge soc07 r5069:5072 - Fix for character case bug in wildtest found by David; Nicer error message for anyone dumb enough to use negative frequency values. 2007-08-11 05:08:37 +00:00
services.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
shtool misc 2005-06-24 23:50:23 +00:00
Target.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
Target.h Change reason.cc/h to portreasons.cc/h. This is because of a reason.h on Windows which causes compilation problems. A workaround was employed, but this is incase it pops up again. I also changed the recent CHANGELOG entry mentioning reason.h so there's no confusion 2007-08-15 19:26:26 +00:00
TargetGroup.cc merge soc07 r5244 - nmap config optimisations 2007-08-11 05:58:21 +00:00
TargetGroup.h Minor source code header improvements 2006-08-25 01:47:49 +00:00
targets.cc Look out, world, here comes the Nmap massping migration! 2007-08-27 23:58:23 +00:00
targets.h Look out, world, here comes the Nmap massping migration! 2007-08-27 23:58:23 +00:00
tcpip.cc Merge r5733:5850 from /nmap-exp/david/nmap-massping-migration. 2007-09-18 06:34:33 +00:00
tcpip.h Merge r5733:5850 from /nmap-exp/david/nmap-massping-migration. 2007-09-18 06:34:33 +00:00
timing.cc merge soc07 r5100 - Changing fprintf(stderr, )'s to error()'s (or fatal() if followed by and exit()). Besides providing consistency, this also allows more errors to actually be logged with --log-errors. 2007-08-11 05:16:56 +00:00
timing.h merge soc07 r4822 - Reduce the number of build dependencies. 2007-08-11 03:35:46 +00:00
traceroute.cc Assertion was triggered when the first hop of the reference trace timed out. The textual consolidation messages used the 2007-09-15 13:24:45 +00:00
traceroute.h merge soc07 r5124:5142 - build/install system updates; changelog updates; umit install code; compilation fixes; integrate umit 2007-08-11 05:41:41 +00:00
utils.cc Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf(). 2007-08-14 06:46:54 +00:00
utils.h merge soc07 r5065:5067 - Include nbase.h from utils.h; it's needed for u8, u16, etc.; Make a few small fixes to nmap-os-db. 2007-08-11 05:01:58 +00:00

Here are the docs for nmap.  You would be better
off checking the website at http://www.insecure.org/nmap
for the latest information.  Also if the man page is installed
correctly you should be able to 'man nmap'.  The man page is more 
up-to-date than the article.  See nmap-manpage.html for an html version
of it.

-Fyodor