1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 23:19:03 +00:00
Commit Graph

2789 Commits

Author SHA1 Message Date
david
dbb3452315 Bump up MAX_OS_CLASSIFICATIONS_PER_FP from 8 to 10. 2008-07-15 20:07:25 +00:00
kris
bc3b9484e6 Move tval2msecs() to Nbase for reuse 2008-07-15 20:06:05 +00:00
bmenrigh
c123984aa5 Minor wording changes to improve the flow of the opening few
paragraphs.  I'll be going through the rest of the chapter if time
permits.
2008-07-15 19:36:08 +00:00
michael
62340eabc8 Fixed bug from my previous commit, recommiting 2008-07-15 19:11:53 +00:00
michael
575b6cee19 Rolled back change while I fix a bug 2008-07-15 18:15:34 +00:00
michael
f57301ef61 Expand the range of pcap filters in scan_engine.cc to allow more types
of timing pings during port scanning.
2008-07-15 07:13:27 +00:00
david
486856bf17 Increase the line buffer for reading fingerprints in osscan.cc. The latest
nmap-os-db has a fingerprint with a lot of merged options with different window
scales that was too long for the buffer.
2008-07-15 05:33:33 +00:00
david
d9ad62fa60 Commit the results of about 220 OS submissions. 2008-07-15 05:32:24 +00:00
fyodor
10d136939b some more changes from jah 2008-07-15 01:10:35 +00:00
fyodor
187fe5c506 a bunch of updates from jah 2008-07-15 00:50:36 +00:00
david
b48edf6108 Remove "the order used to be" comment in scan_engine.cc. 2008-07-15 00:01:45 +00:00
michael
819831772b nged the order that pingprobes are favored in, the order is now:
-Raw TCP (not SYN to an open port)
-ICMP information queries (echo request, timestamp request, netmask req)
-ARP
-Raw TCP (SYN to an open port)
-UDP, IP protocol, or other ICMP
-TCP connect
-Anything else

The order used to be
-ARP
-Raw TCP (not SYN to an open port)
-UDP, IP protocol, or ICMP
-Raw TCP (SYN to an open port)
-TCP connect
-Anything else
2008-07-14 21:11:58 +00:00
fyodor
0f41f60361 proofreading changes from Eric Krosnes 2008-07-14 21:10:22 +00:00
fyodor
8e1102ed27 proofreading changes from Eric Krosnes 2008-07-14 21:06:52 +00:00
kris
299e0de19e o Added --ip-options support for the connect() scan (-sT). [Kris] 2008-07-14 20:02:30 +00:00
kris
ffb3d8202d Documenting an earlier change and adding a new, related one:
o Nsock now supports binding to a local address and setting IPv4 options
  with nsi_set_localaddr() and nsi_set_ipoptions(), respectively. [Kris]

o Nmap's Nsock-utilizing subsystems (DNS, NSE, version detection) have been
  updated to support the -S and --ip-options flags. [Kris]
2008-07-14 19:52:31 +00:00
fyodor
205ffa2274 IP address change 2008-07-14 10:14:44 +00:00
fyodor
2c5087e010 a couple changes suggested by tic (tic@eternalrealm.net) 2008-07-14 08:36:46 +00:00
fyodor
7bc9b524cd apply some edits from Kris Katterjohn <katterjohn@gmail.com> 2008-07-14 07:12:10 +00:00
fyodor
13878c1a1f apply some suggestions from Michael Pattrick 2008-07-14 06:51:23 +00:00
david
f8a9054ffd Use abbreviated xrefs when they are close to the things they reference. 2008-07-14 06:36:23 +00:00
fyodor
911a55cccf apply some changes suggested by Tom Sellers 2008-07-14 06:08:55 +00:00
fyodor
63eef82b69 some fixes suggested by Eric Krosnes 2008-07-14 04:35:18 +00:00
fyodor
7c2aae2e6f integrated many great host-discovery and nmap-install changes from Tyler Reguly 2008-07-14 03:16:06 +00:00
fyodor
1f3082b1db canonicalize figure/example/table title capitalization 2008-07-14 02:42:09 +00:00
fyodor
4dcb0cd25a Yay -- finished the edits from my detailed review of nmap-install.xml. 13 chapters to go. 2008-07-14 01:58:26 +00:00
fyodor
562e8f183f more updates from careful review of installation chapter. Regenerated Windows cmd.exe screenshot from 2003 2008-07-14 01:07:18 +00:00
david
01ff06a046 A few small index fixes. 2008-07-13 21:18:03 +00:00
david
6631bfd608 Judiciously add quotes around certain index terms, because <quote>, <literal>,
and <varname> don't survive into the index.
2008-07-13 21:05:32 +00:00
david
83e1367a7f Spell check the documentation with aspell. 2008-07-13 16:51:10 +00:00
david
8d53213b4b Fix a typo: "Standard traceroute implementation" -> "Standard traceroute
implementations".
2008-07-13 16:04:15 +00:00
david
e999e05ca0 Change a few occurrences of "./nmap" to "nmap". 2008-07-13 16:01:29 +00:00
fyodor
3206168fb8 revert 8824 to give us a bit more time to think about what to do about service name capitalization 2008-07-13 09:11:22 +00:00
fyodor
9555299a28 more details about bug reporting 2008-07-13 09:08:03 +00:00
fyodor
3b8788bb4d did a careful editing of Ch2; these are my changes for the first 11 pages 2008-07-13 09:07:42 +00:00
david
4177a54479 Convert protocol names to lower case. 2008-07-13 08:33:48 +00:00
david
cfe72800a3 Normalize replaceable elements. 2008-07-13 06:31:49 +00:00
david
23904dc47e Remove a duplicate "at at" from refguide.xml. 2008-07-12 23:28:07 +00:00
fyodor
e9274fca20 example scripts section is now example script since there is now only one 2008-07-12 09:02:08 +00:00
fyodor
5d5a0dde21 add a warning that NSE is under active dev, and remove nse-example-script-owner section since already profiled showOwner.nse in the script tutorial section 2008-07-12 07:41:43 +00:00
fyodor
96f2d9ae67 fix some incorrect wording noted by David 2008-07-12 02:31:07 +00:00
david
8161f16c0e This commit changes two separate but related things, which I found it
inconvenient to change separately.

The first change fixes a logical error in the storage of timing ping
probes. Each target contains a description of a timing ping probe, which
is stored in the two members
  probespec pingprobe;
  int pingprobe_state;
pingprobe is the probe itself, and pingprobe_state is the state of the
port that the probe was sent to (PORT_OPEN, PORT_CLOSED, etc.). A change
in the state of the port was a criterion used in deciding whether to
replace the current ping probe.

The problem with this was that pingprobe_state was used to hold a host
state, not a port state, during host discovery. Therefore it held a
value like HOST_DOWN or HOST_UP. This was fine as long as host discovery
and port scanning were separate, but now that timing pings are shared
between those phases the states were in confict: HOST_UP = 1 = PORT_CLOSED.
THis was fixed by using a value of PORT_UNKNOWN during host discovery.

The second change redoes how timing ping probes are replaced. There is
now an order of preference for timing ping probe types, defined by the
function pingprobe_score (and pingprobe_is_better, which calls it). The
order I have defined, from highest preference to lowest, is
	ARP
	Raw TCP (not SYN to an open port)
	UDP, IP protocol, or ICMP
	Raw TCP (SYN to an open port)
	TCP connect
	Anything else
The port state is considered only in raw TCP SYN to an open port, which
is given a lower preference because of the possibility of SYN flooding.

Better ping probes supersede worse ping probes. So in
	nmap -PS -sA scanme.nmap.org
the ping probe will be SYN to port 80 after host discovery, but then
will change to ACK to an unfiltered port during port scanning. In
	nmap -PA -sS scanme.nmap.org
the ping probe will be ACK to port 80 after host discovery and will
remain that way during port scanning because SYN to an open port is a
worse ping probe. Run with -d2 to see when timing pings change.
2008-07-12 02:18:18 +00:00
david
c7f8b5728a Fix a little typo in macosx/Makefile that kept COPYING.formatted from being
deleted with "make clean".
2008-07-11 20:54:31 +00:00
david
0ad092a9ff Use the new licformat.sh script to format the license for the Mac OS X
installer.
2008-07-11 20:53:45 +00:00
david
4480ce022d Adjust licformat.sh to allow running it from a directory other than mswin32. 2008-07-11 20:52:17 +00:00
michael
1b9b15f45a The licence formatting sed scripts are now compatible with gnu and bsd sed, so they can now be used to build a macOSX installer 2008-07-11 20:02:09 +00:00
david
18e9fe6dc4 Remove duplicate index entries introduced by the new longer pages. 2008-07-11 19:49:26 +00:00
fyodor
d0fbfdeac0 remove a bunch of stuff from refguide which is already in scripting chapter, also sync some text between the two. Add warning about not running untrusted scripts. 2008-07-11 10:03:33 +00:00
fyodor
6991a8e509 update CHANGELOG to reflect new performance tweaks 2008-07-11 07:36:23 +00:00
fyodor
94e7a9cd47 Port scan pings happen against heavily firewalled hosts and the like when Nmap is not receiving enough responses to normal scan to properly calculate timing variables and detect packet drops. This patch increases the maximum per-target frequency of these probes to one every 1.25 seconds rather than one every five seconds 2008-07-11 07:33:11 +00:00