1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 06:29:02 +00:00
Commit Graph

3106 Commits

Author SHA1 Message Date
david
aeb9cae04b Redo some changes to the NSE pcre module that were originally done
before pcre was made a C module. Remove the nse_pcrelib.vcproj file,
change snprintf to Snprintf, and add a typecast to avoid a warning on
Windows.  This and r6026 should be considered a unit.
2007-10-23 01:10:46 +00:00
david
83382600f2 Revert r5485. This changes the pcre Lua module back to statically linked
code instead of a dynamically loaded C module. Linking the dynamic
shared module with the static libpcre.a was failing on OpenBSD. See
http://seclists.org/nmap-dev/2007/q4/0085.html.
2007-10-23 00:45:00 +00:00
david
d41f9ee095 Fix the test for GTK+ in configure.ac and move the macro RECVFROM_ARG6_TYPE from aclocal.m4 to acinclude.m4. 2007-10-22 23:27:22 +00:00
kris
5b052e84dd NmapOps functions shouldn't call other NmapOps functions through the global NmapOps o variable (e.g. use af() instead of o.af() in NmapOps::ValidateOptions()). It didn't hurt anything as 'o' is the only NmapOps object though 2007-10-21 02:52:52 +00:00
kris
2de3c2062f Fixing a LUAFLAGS assignment in configure 2007-10-19 18:15:07 +00:00
david
8bc752b155 Link with -lcrypto when testing for -lssl in the main configure. 2007-10-18 04:20:41 +00:00
david
45d54d11f1 Include nmap.h in portreasons.h. This fixes a compilation problem on OpenBSD. 2007-10-17 05:03:34 +00:00
david
abf3ad1d81 Don't remove umit/setup.py on distclean. 2007-10-14 21:24:06 +00:00
david
df4f55bd1f Update the version numbers in mswin32/nmap.rc and mswin32/nsis/Nmap.nsi. 2007-10-14 21:09:09 +00:00
kris
3195434fed a minor change to that last rev: the setsockopt() calls in Nmap cast the option values to (const char *) 2007-10-14 15:12:49 +00:00
kris
dfc9eba4db enable --ttl support for connect() scans 2007-10-14 14:37:56 +00:00
david
8725d37b47 Avoid rebuilding nmap every time "make" is run. The target "all" takes
care of building all prerequisites. One downside is that you can't do
"make nmap" in an clean tree any more, if anyone ever did that. You have
to do "make" once to build the prerequisites. This is how Automake does
it. I'll keep thinking about this.
2007-10-14 04:24:42 +00:00
david
b41c987471 Remove the unused DEPS variable from Makefile.in. 2007-10-14 04:05:16 +00:00
doug
eceea7ea95 Removed the Amazon httpd match line because it is too specific 2007-10-13 00:26:57 +00:00
fyodor
a3cb8dfdcc update by Jason DePriest to do HELP query in addition to EHLO 2007-10-12 21:56:20 +00:00
doug
41e5fdb353 Q3 2007 Service Updates 2007-10-12 18:48:33 +00:00
david
0a2764f198 Remove massping.
2 files changed, 1301 deletions(-)

Would that all patches could be like that.
2007-10-12 03:46:46 +00:00
david
c76cdc8e44 Make the old massping be used when NEW_MASSPING is undefined in targets.h. This
is the last revision that contains massping.
2007-10-12 03:38:38 +00:00
fyodor
e0de18c783 fix typo 2007-10-11 09:15:39 +00:00
fyodor
99642e6765 latest build. 2007-10-11 08:53:54 +00:00
fyodor
111d79ae92 add new libexec dir 2007-10-11 08:52:48 +00:00
david
ea2b9bc233 Small reference guide changes: illicit -> elicit, TTL_EXCCEDED -> Time Exceeded. 2007-10-11 04:29:26 +00:00
kris
9eb8be248c just a tiny whitespace fix in the CHANGELOG 2007-10-10 18:17:21 +00:00
david
0e22a98004 Give Adriano CHANGELOG credit for some Umit things. 2007-10-09 20:11:02 +00:00
kris
9baeec2897 Changing a comment in nselib/ipOps.lua as it seems to be remnants of a patch for ripeQuery.nse (references doing a RIPE lookup) 2007-10-09 13:29:47 +00:00
kris
0f7d4e49d8 Updating ip_is_reserved(): 186/8 and 187/8 went to LACNIC 2007-10-09 13:22:41 +00:00
fyodor
f1aee178ea fix refguide typo 2007-10-09 09:21:16 +00:00
fyodor
f0529ad31a update Nmap version number to 4.22SOC7, update CHANGELOG with changes for that upcoming release 2007-10-09 09:08:25 +00:00
fyodor
ba545c1ef9 Unix installation now places NSELib dynamic libraries in 'libexec' rather than 'share' directories, since they are architecture dependent. Thanks to Christoph J. Thompson for the patch. 2007-10-07 21:32:38 +00:00
david
14676144b6 Change \n\r to \r\n in two scripts that needed it: anonFTP and finger. 2007-10-03 20:48:05 +00:00
fyodor
99627d0642 note that -P0 still does arp scan in some cases 2007-10-03 19:42:38 +00:00
david
9a43e5394c Disable auto-generation of libpcre/pcre_chartables.c. That file is meant
to be automatically generated by the makefile; however we include a copy
to enable the Windows build to work. On Unix, the makefile was
overwriting the file with a symbolic link to
libpcre/pcre_chartables.c.dist, which was causing revision-control
headaches. Now that file is copied instead of linked to, so its contents
don't change.

It is safe to use a static copy of the file instead of an auto-generated
one because Nmap has never used the auto-generation feature. You need to
use a special flag --enable-rebuild-chartables to get that. So copying
the file has the same behavior as creating a link. Furthermore, it's not
desirable to generate that file (using dftables, an auxiliary program
that uses the current locale) because we don't want our regular
expressions to be locale-dependent.

pcre_chartables.c was also removed from CLEANFILES so it's not deleted
by "make clean" or "make distclean". pcre.h is still deleted by "make
distclean" because it's included in AC_CONFIG_FILES. That's not as big a
deal.
2007-10-03 08:11:45 +00:00
david
515d45ab9d Reduce the congestion control increment cap back to 50. 50 seems to be good
enough for host discovery, and 100 doesn't give much benefit because the probe
timeouts increase to slow the scan down. While it's faster in some cases, it
also increases the variance in scan times. For more analysis see
http://www.bamsoftware.com/wiki/Nmap/PerformanceGraphs#timeouts.
2007-10-02 19:35:34 +00:00
david
6306350106 Try doubling perf->cc_scale_max to 100. 2007-10-02 07:30:25 +00:00
david
0f396a5b3a Merge from /nmap-exp/david/nmap-massping-migration. This is the change that
scales per-host congestion control increments in the same way those for the
group already are. This speeds scanning in some cases (particularly with few
hosts, when the group congestion control is not the limiting factor). I'm going
to experiment with raising the increment cap to allow this to have more of an
effect.

Scale host congestion control variables similarly to the way group congestion
control is scaled. For the rationale see
http://www.bamsoftware.com/wiki/Nmap/PerformanceGraphs#host-scaled.

Host cc_scale should use (numprobes_sent + numpings_sent), not (numprobes_sent + numprobes_sent).
2007-10-02 06:58:12 +00:00
david
b64243b05a Handle all Umit version updating in a specialized script. Now, instead of Nmap
updating one of Umit's version numbers and having Umit adjust all the others,
Nmap calls a script of Umit's that updates all its version numbers at once.
This also makes Umit's versioning scheme more independent of Nmap's.
2007-10-01 05:42:45 +00:00
david
730d55f2f6 Update version numbers in mswin32 files. 2007-09-28 20:49:38 +00:00
david
683889c70b Update nmap.usage.txt. 2007-09-28 20:49:02 +00:00
david
39cd0c15a0 Update the Umit version number in the Nmap makefile. 2007-09-26 04:56:25 +00:00
david
e333704d4a Remove setup.py, MANIFEST, build/, and dist/ in umit_dist_clean. 2007-09-23 19:00:03 +00:00
ejlbell
8094a16c90 Winpcap update: When installing on vista use a different Packet.dll file and do not install WanPacket.dll 2007-09-23 18:30:22 +00:00
fyodor
6a5d7a92ac Update nmap-mac-prefixes with latest IEEE data 2007-09-23 17:56:15 +00:00
fyodor
3fc94ad5a4 Some improvements by Henrik Lund Kramshoej to do a better job at removing sections/headers when they aren't available in the Nmap output anyway 2007-09-23 03:00:30 +00:00
david
a26783da29 Add a separate build-umit step to the main makefile. This means that the build phase of Umit can occur as a non-root user, which means that "make clean" won't bomb out because it can't delete the directories created by root. 2007-09-21 22:10:54 +00:00
david
39878e619f Have "make clean" clean up umit as well. 2007-09-21 21:27:33 +00:00
kris
48dec59470 just fixing some typos in some comments and an error string 2007-09-19 19:43:23 +00:00
david
e75780b503 Increase some debugging thresholds to make them more like they used to be. This means that -d3 is needed for making graphs now. 2007-09-18 06:43:22 +00:00
david
2d91914394 Remove the packet_ratio debugging output. 2007-09-18 06:35:38 +00:00
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
david
f5337b670c Re-commit r5835 without the whitespace changes. 2007-09-17 20:49:09 +00:00