weilin
1dcf652410
Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd.
2011-07-19 02:31:54 +00:00
david
51c82aaccf
Add ICMPv6 Parameter Problem reason code.
2011-06-14 19:46:50 +00:00
david
257fe7bd84
Fix the singular for ER_PROTOUNREACH.
2011-06-14 19:46:45 +00:00
david
4aa4a154f9
Merge from /nmap-exp/david/nmap-ipv6.
...
This is raw IPv6 packet support for most port and ping scans, Neighbor
Discovery, and traceroute.
2011-06-08 01:24:48 +00:00
colin
95a1cb52de
Added a dropped reason to portreasons.cc
2011-05-31 00:08:37 +00:00
david
83c19abadc
Handle ICMP_ECHO_REPLY in icmp_to_reason.
2011-05-29 06:18:57 +00:00
david
fa3d5f678a
Swap the order of singular and plural in reason string constructor.
...
All the definitions were backwards.
2011-05-29 06:18:57 +00:00
colin
5d3e0e688c
Portreasons Restructuring. icmpt_to_reason added.
2011-05-26 19:46:29 +00:00
colin
2d90b04b62
Whitespace cleanup
2011-05-26 19:40:25 +00:00
david
fc1f3a7ed1
Fix off-by-one array alignment in port reasons.
...
The affected codes were those between ER_ECHOREPLY and
ER_ADDRESSMASKREPLY.
# symbol reason_text reason_pl_text
-- ------ ----------- --------------
12 ER_ECHOREPLY echo-reply echo-replies
13 -- unknown unknowns
14 ER_DESTUNREACH unknown unknowns
15 ER_SOURCEQUENCH dest-unreach dest-unreaches
16 ER_NETPROHIBITED source-quench source-quenches
17 ER_HOSTPROHIBITED net-prohibited net-prohibiteds
18 -- host-prohibited host-prohibiteds
19 -- unknown unknowns
20 ER_ADMINPROHIBITED unknown unknowns
21 -- admin-prohibited admin-prohibiteds
22 ER_TIMEEXCEEDED unknown unknowns
23 -- time-exceeded time-exceededs
24 -- unknown unknowns
25 ER_TIMESTAMPREPLY unknown unknowns
26 -- timestamp-reply timestamp-replies
27 -- unknown unknowns
28 -- unknown unknowns
29 -- unknown unknowns
30 ER_ADDRESSMASKREPLY addressmask-reply addressmask-replies
2011-04-08 20:18:55 +00:00
david
544753fb4f
Add missing final entry in reason_pl_text.
2011-04-08 07:34:28 +00:00
fyodor
86e59a8c4e
Update copyright statements from 2010 to 2011
2011-01-21 00:04:16 +00:00
david
d4e49f1075
Rearrange some headers to make sure that out nbase errno defines are seen early,
...
avoiding warning about symbol redefinitions. This is mostly moving "nmap.h" to
the top of the list.
2010-11-04 22:43:00 +00:00
david
7653cf7d4a
Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match.
2010-10-30 03:01:50 +00:00
jah
a17609e6b4
Ports are now considered open during a SYN scan if a SYN packet (without the ACK
...
flag) is received in response. This can be due to an extremely rare TCP feature
known as a simultaneous open or split handshake connection.
see http://nmap.org/misc/split-handshake.pdf
Added a reason code: ER_SYN and associated reason string: "split-handshake-syn".
2010-06-08 01:50:45 +00:00
fyodor
1aecac420f
Update copyright year from 2009 to 2010
2010-05-03 21:20:25 +00:00
david
859ef5ecaf
Merge r17202:17298 from /nmap-exp/david/nmap-xml. This brings in
...
structured XML output, automatic closing of XML elements on error, and
inclusion of error messages in XML output.
2010-04-14 01:05:51 +00:00
david
7db7da0007
Merge again from /nmap-exp/david/nmap-mem; this fixes a couple of bugs.
2009-12-20 03:22:19 +00:00
david
1c6030709b
Revert r16307:16309, the merge from nmap-mem. I just found a
...
segmentation fault which I am investigating.
2009-12-19 22:49:16 +00:00
david
b838242e01
Merge from /nmap-exp/david/nmap-mem. This brings in two memory-reducing
...
changes. The first is that Port objects don't allocate memory for
service and RPC results unless that information is set. This reduces the
size of a bare Port from 92 to 40 bytes on my machine. The second change
is that PortList now has the notion of a "default port state," which is
the state of any ports that didn't receive a response. These ports don't
need an allocated Port object, which saves a lot of memory in scans
where most ports didn't get a response.
2009-12-19 21:26:14 +00:00
david
682b8cbc53
Include the reason why a host is down with --reason. It looks like this:
...
Nmap scan report for 1.2.3.4 [host down, received time-exceeded]
Nmap scan report for 1.2.3.5 [host down, received no-response]
2009-11-16 19:38:37 +00:00
daniel
50830f7488
o Added initial SCTP port scanning support to Nmap. SCTP is
...
a layer 4 protocol used mostly for telephony related applications.
This brings the following new features:
o SCTP INIT chunk port scan (-sY): open ports return an INIT-ACK
chunk, closed ones an ABORT chunk. This is the SCTP equivalent
of a TCP SYN stealth scan.
o SCTP COOKIE-ECHO chunk port scan (-sZ): open ports are silent,
closed ports return an ABORT chunk.
o SCTP INIT chunk ping probes (-PY): host discovery using SCTP
INIT chunk packets.
o SCTP-specific IP protocol scan (-sO -p sctp).
o SCTP-specific traceroute support (--traceroute).
o The ability to use the deprecated Adler32 algorithm as specified
in RFC 2960 instead of CRC32C from RFC 4960 (--adler32).
o 42 well-known SCTP ports were added to the nmap-services file.
Part of the work on SCTP support was kindly sponsored by
Compass Security AG, Switzerland. [Daniel Roethlisberger]
2009-06-03 23:15:45 +00:00
fyodor
d0e21e1d03
Suggest that people send patches to nmap-dev rather than to me directly
2009-04-15 00:37:03 +00:00
david
d1a77bb85e
Simplify and combine the write_host_status code for ping scan and port
...
scans. This is the code that prints
Host ... appears to be up.
Host ... appears to be down.
Host ... appears to be up ... good.
Host ... appears to be down, skipping it
Except that now these messages are uniform and are
Host ... is up.
Host ... is down.
In addition, the host state --reason information is printed for port
scans just as for ping scans, which appears to have been an oversight
before.
2009-03-31 19:57:25 +00:00
fyodor
eccc235d5a
Increase copyright year to 2009, simplify/reword some derivative works text, and remove a confusing clause about selling proprietary front-ends to Nmap
2009-03-31 04:16:12 +00:00
michael
d01c5071cd
Nmap will no longer misreport a localhost-response during PN scans, it will now be reported as 'user-set'.
2008-07-29 17:01:31 +00:00
bmenrigh
dea5974643
Migrated remaining *alloc() calls to safe_*alloc()
2008-06-22 04:56:02 +00:00
fyodor
779b96a197
trivial copyright text tweak: filename nmap-os-fingerprints has changed to nmap-os-db
2008-05-22 20:45:32 +00:00
fyodor
10b54b773b
minor license template updates from Kris--fix gnu.org link to GPLv2 (moved) and openssl license filename (COPYING.OpenSSL)
2008-05-05 04:10:00 +00:00
fyodor
5551c5a311
o Fixed a bunch of code to avoid compilation warning messages (at
...
least on some Linux machines) [Andrew J. Bennieston]
2008-04-09 02:11:20 +00:00
fyodor
1accc12fb2
fix typo in legal header found by Leigh Zhao (missing word: of)
2008-02-28 18:52:06 +00:00
fyodor
29c912f394
URL change from http://insecure.org/nmap/ * to http://nmap.org/ *
2008-01-17 07:22:03 +00:00
fyodor
8220c8a42f
update copyright line at the top of files from 1996-2006 to 1996-2008
2007-12-22 06:32:03 +00:00
kris
e93656e273
fix reason typo "arp-reponse"
2007-12-07 04:15:14 +00:00
kris
6ce9d03d8a
Return NULL in reason_sort() if tail is NULL as it's possible tail never gets redefined. I think that's better than an assert(tail). Found with Coverity, CID 24
2007-11-16 01:26:42 +00:00
fyodor
acdaac1464
Update port state reason to script-set when an NSE script changes the --reason of a port state. Also make reason element available in port-table. Patch by Matthew Boyle
2007-11-15 21:03:00 +00:00
david
cde0b41cc0
Merge r5744 from /nmap-exp/david/nmap-massping-migration.
...
Add a handler for EACCES on initial connect.
2007-08-31 05:02:25 +00:00
kris
d073a19105
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