root/branch/UmitWeb/COPYING_NMAP @ 3232

Revision 3232, 24.8 kB (checked in by rcarvalho, 5 years ago)

Merged with revision 3190

Line 
1COPYING -- Describes the terms under which Nmap is distributed.  A copy
2of the GNU GPL is appended to this file.
3
4 ***********************IMPORTANT NMAP LICENSE TERMS************************
5 *                                                                         *
6 * The Nmap Security Scanner is (C) 1996-2004 Insecure.Com LLC. Nmap       *
7 * is also a registered trademark of Insecure.Com LLC.  This program is    *
8 * free software; you may redistribute and/or modify it under the          *
9 * terms of the GNU General Public License as published by the Free        *
10 * Software Foundation; Version 2.  This guarantees your right to use,     *
11 * modify, and redistribute this software under certain conditions.  If    *
12 * you wish to embed Nmap technology into proprietary software, we may be  *
13 * willing to sell alternative licenses (contact sales@insecure.com).      *
14 * Many security scanner vendors already license Nmap technology such as  *
15 * our remote OS fingerprinting database and code, service/version         *
16 * detection system, and port scanning code.                               *
17 *                                                                         *
18 * Note that the GPL places important restrictions on "derived works", yet *
19 * it does not provide a detailed definition of that term.  To avoid       *
20 * misunderstandings, we consider an application to constitute a           *
21 * "derivative work" for the purpose of this license if it does any of the *
22 * following:                                                              *
23 * o Integrates source code from Nmap                                      *
24 * o Reads or includes Nmap copyrighted data files, such as                *
25 *   nmap-os-fingerprints or nmap-service-probes.                          *
26 * o Executes Nmap and parses the results (as opposed to typical shell or  *
27 *   execution-menu apps, which simply display raw Nmap output and so are  *
28 *   not derivative works.)                                                *
29 * o Integrates/includes/aggregates Nmap into a proprietary executable     *
30 *   installer, such as those produced by InstallShield.                   *
31 * o Links to a library or executes a program that does any of the above   *
32 *                                                                         *
33 * The term "Nmap" should be taken to also include any portions or derived *
34 * works of Nmap.  This list is not exclusive, but is just meant to        *
35 * clarify our interpretation of derived works with some common examples.  *
36 * These restrictions only apply when you actually redistribute Nmap.  For *
37 * example, nothing stops you from writing and selling a proprietary       *
38 * front-end to Nmap.  Just distribute it by itself, and point people to   *
39 * http://www.insecure.org/nmap/ to download Nmap.                         *
40 *                                                                         *
41 * We don't consider these to be added restrictions on top of the GPL, but *
42 * just a clarification of how we interpret "derived works" as it applies  *
43 * to our GPL-licensed Nmap product.  This is similar to the way Linus     *
44 * Torvalds has announced his interpretation of how "derived works"        *
45 * applies to Linux kernel modules.  Our interpretation refers only to     *
46 * Nmap - we don't speak for any other GPL products.                       *
47 *                                                                         *
48 * If you have any questions about the GPL licensing restrictions on using *
49 * Nmap in non-GPL works, we would be happy to help.  As mentioned above,  *
50 * we also offer alternative license to integrate Nmap into proprietary    *
51 * applications and appliances.  These contracts have been sold to many    *
52 * security vendors, and generally include a perpetual license as well as  *
53 * providing for priority support and updates as well as helping to fund   *
54 * the continued development of Nmap technology.  Please email             *
55 * sales@insecure.com for further information.                             *
56 *                                                                         *
57 * As a special exception to the GPL terms, Insecure.Com LLC grants        *
58 * permission to link the code of this program with any version of the     *
59 * OpenSSL library which is distributed under a license identical to that  *
60 * listed in the included Copying.OpenSSL file, and distribute linked      *
61 * combinations including the two. You must obey the GNU GPL in all        *
62 * respects for all of the code used other than OpenSSL.  If you modify    *
63 * this file, you may extend this exception to your version of the file,   *
64 * but you are not obligated to do so.                                     *
65 *                                                                         *
66 * If you received these files with a written license agreement or         *
67 * contract stating terms other than the terms above, then that            *
68 * alternative license agreement takes precedence over these comments.     *
69 *                                                                         *
70 * Source is provided to this software because we believe users have a     *
71 * right to know exactly what a program is going to do before they run it. *
72 * This also allows you to audit the software for security holes (none     *
73 * have been found so far).                                                *
74 *                                                                         *
75 * Source code also allows you to port Nmap to new platforms, fix bugs,    *
76 * and add new features.  You are highly encouraged to send your changes   *
77 * to fyodor@insecure.org for possible incorporation into the main         *
78 * distribution.  By sending these changes to Fyodor or one the            *
79 * Insecure.Org development mailing lists, it is assumed that you are      *
80 * offering Fyodor and Insecure.Com LLC the unlimited, non-exclusive right *
81 * to reuse, modify, and relicense the code.  Nmap will always be          *
82 * available Open Source, but this is important because the inability to   *
83 * relicense code has caused devastating problems for other Free Software  *
84 * projects (such as KDE and NASM).  We also occasionally relicense the    *
85 * code to third parties as discussed above.  If you wish to specify       *
86 * special license conditions of your contributions, just say so when you  *
87 * send them.                                                              *
88 *                                                                         *
89 * This program is distributed in the hope that it will be useful, but     *
90 * WITHOUT ANY WARRANTY; without even the implied warranty of              *
91 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       *
92 * General Public License for more details at                              *
93 * http://www.gnu.org/copyleft/gpl.html , or in the COPYING file included  *
94 * with Nmap.                                                              *
95 *                                                                         *
96 ***************************************************************************/
97
98GNU General Public License
99
100----------------------------------------------------------------------------
101
102Table of Contents
103
104   * GNU GENERAL PUBLIC LICENSE
105        o Preamble
106        o TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
107        o How to Apply These Terms to Your New Programs
108
109----------------------------------------------------------------------------
110
111GNU GENERAL PUBLIC LICENSE
112
113Version 2, June 1991
114
115Copyright (C) 1989, 1991 Free Software Foundation, Inc.
11651 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
117
118Everyone is permitted to copy and distribute verbatim copies
119of this license document, but changing it is not allowed.
120
121Preamble
122
123The licenses for most software are designed to take away your freedom to
124share and change it. By contrast, the GNU General Public License is intended
125to guarantee your freedom to share and change free software--to make sure
126the software is free for all its users. This General Public License applies
127to most of the Free Software Foundation's software and to any other program
128whose authors commit to using it. (Some other Free Software Foundation
129software is covered by the GNU Library General Public License instead.) You
130can apply it to your programs, too.
131
132When we speak of free software, we are referring to freedom, not price. Our
133General Public Licenses are designed to make sure that you have the freedom
134to distribute copies of free software (and charge for this service if you
135wish), that you receive source code or can get it if you want it, that you
136can change the software or use pieces of it in new free programs; and that
137you know you can do these things.
138
139To protect your rights, we need to make restrictions that forbid anyone to
140deny you these rights or to ask you to surrender the rights. These
141restrictions translate to certain responsibilities for you if you distribute
142copies of the software, or if you modify it.
143
144For example, if you distribute copies of such a program, whether gratis or
145for a fee, you must give the recipients all the rights that you have. You
146must make sure that they, too, receive or can get the source code. And you
147must show them these terms so they know their rights.
148
149We protect your rights with two steps: (1) copyright the software, and (2)
150offer you this license which gives you legal permission to copy, distribute
151and/or modify the software.
152
153Also, for each author's protection and ours, we want to make certain that
154everyone understands that there is no warranty for this free software. If
155the software is modified by someone else and passed on, we want its
156recipients to know that what they have is not the original, so that any
157problems introduced by others will not reflect on the original authors'
158reputations.
159
160Finally, any free program is threatened constantly by software patents. We
161wish to avoid the danger that redistributors of a free program will
162individually obtain patent licenses, in effect making the program
163proprietary. To prevent this, we have made it clear that any patent must be
164licensed for everyone's free use or not licensed at all.
165
166The precise terms and conditions for copying, distribution and modification
167follow.
168
169TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
170
1710. This License applies to any program or other work which contains a notice
172placed by the copyright holder saying it may be distributed under the terms
173of this General Public License. The "Program", below, refers to any such
174program or work, and a "work based on the Program" means either the Program
175or any derivative work under copyright law: that is to say, a work
176containing the Program or a portion of it, either verbatim or with
177modifications and/or translated into another language. (Hereinafter,
178translation is included without limitation in the term "modification".) Each
179licensee is addressed as "you".
180
181Activities other than copying, distribution and modification are not covered
182by this License; they are outside its scope. The act of running the Program
183is not restricted, and the output from the Program is covered only if its
184contents constitute a work based on the Program (independent of having been
185made by running the Program). Whether that is true depends on what the
186Program does.
187
1881. You may copy and distribute verbatim copies of the Program's source code
189as you receive it, in any medium, provided that you conspicuously and
190appropriately publish on each copy an appropriate copyright notice and
191disclaimer of warranty; keep intact all the notices that refer to this
192License and to the absence of any warranty; and give any other recipients of
193the Program a copy of this License along with the Program.
194
195You may charge a fee for the physical act of transferring a copy, and you
196may at your option offer warranty protection in exchange for a fee.
197
1982. You may modify your copy or copies of the Program or any portion of it,
199thus forming a work based on the Program, and copy and distribute such
200modifications or work under the terms of Section 1 above, provided that you
201also meet all of these conditions:
202
203   * a) You must cause the modified files to carry prominent notices stating
204     that you changed the files and the date of any change.
205
206   * b) You must cause any work that you distribute or publish, that in
207     whole or in part contains or is derived from the Program or any part
208     thereof, to be licensed as a whole at no charge to all third parties
209     under the terms of this License.
210
211   * c) If the modified program normally reads commands interactively when
212     run, you must cause it, when started running for such interactive use
213     in the most ordinary way, to print or display an announcement including
214     an appropriate copyright notice and a notice that there is no warranty
215     (or else, saying that you provide a warranty) and that users may
216     redistribute the program under these conditions, and telling the user
217     how to view a copy of this License. (Exception: if the Program itself
218     is interactive but does not normally print such an announcement, your
219     work based on the Program is not required to print an announcement.)
220
221These requirements apply to the modified work as a whole. If identifiable
222sections of that work are not derived from the Program, and can be
223reasonably considered independent and separate works in themselves, then
224this License, and its terms, do not apply to those sections when you
225distribute them as separate works. But when you distribute the same sections
226as part of a whole which is a work based on the Program, the distribution of
227the whole must be on the terms of this License, whose permissions for other
228licensees extend to the entire whole, and thus to each and every part
229regardless of who wrote it.
230
231Thus, it is not the intent of this section to claim rights or contest your
232rights to work written entirely by you; rather, the intent is to exercise
233the right to control the distribution of derivative or collective works
234based on the Program.
235
236In addition, mere aggregation of another work not based on the Program with
237the Program (or with a work based on the Program) on a volume of a storage
238or distribution medium does not bring the other work under the scope of this
239License.
240
2413. You may copy and distribute the Program (or a work based on it, under
242Section 2) in object code or executable form under the terms of Sections 1
243and 2 above provided that you also do one of the following:
244
245   * a) Accompany it with the complete corresponding machine-readable source
246     code, which must be distributed under the terms of Sections 1 and 2
247     above on a medium customarily used for software interchange; or,
248
249   * b) Accompany it with a written offer, valid for at least three years,
250     to give any third party, for a charge no more than your cost of
251     physically performing source distribution, a complete machine-readable
252     copy of the corresponding source code, to be distributed under the
253     terms of Sections 1 and 2 above on a medium customarily used for
254     software interchange; or,
255
256   * c) Accompany it with the information you received as to the offer to
257     distribute corresponding source code. (This alternative is allowed only
258     for noncommercial distribution and only if you received the program in
259     object code or executable form with such an offer, in accord with
260     Subsection b above.)
261
262The source code for a work means the preferred form of the work for making
263modifications to it. For an executable work, complete source code means all
264the source code for all modules it contains, plus any associated interface
265definition files, plus the scripts used to control compilation and
266installation of the executable. However, as a special exception, the source
267code distributed need not include anything that is normally distributed (in
268either source or binary form) with the major components (compiler, kernel,
269and so on) of the operating system on which the executable runs, unless that
270component itself accompanies the executable.
271
272If distribution of executable or object code is made by offering access to
273copy from a designated place, then offering equivalent access to copy the
274source code from the same place counts as distribution of the source code,
275even though third parties are not compelled to copy the source along with
276the object code.
277
2784. You may not copy, modify, sublicense, or distribute the Program except as
279expressly provided under this License. Any attempt otherwise to copy,
280modify, sublicense or distribute the Program is void, and will automatically
281terminate your rights under this License. However, parties who have received
282copies, or rights, from you under this License will not have their licenses
283terminated so long as such parties remain in full compliance.
284
2855. You are not required to accept this License, since you have not signed
286it. However, nothing else grants you permission to modify or distribute the
287Program or its derivative works. These actions are prohibited by law if you
288do not accept this License. Therefore, by modifying or distributing the
289Program (or any work based on the Program), you indicate your acceptance of
290this License to do so, and all its terms and conditions for copying,
291distributing or modifying the Program or works based on it.
292
2936. Each time you redistribute the Program (or any work based on the
294Program), the recipient automatically receives a license from the original
295licensor to copy, distribute or modify the Program subject to these terms
296and conditions. You may not impose any further restrictions on the
297recipients' exercise of the rights granted herein. You are not responsible
298for enforcing compliance by third parties to this License.
299
3007. If, as a consequence of a court judgment or allegation of patent
301infringement or for any other reason (not limited to patent issues),
302conditions are imposed on you (whether by court order, agreement or
303otherwise) that contradict the conditions of this License, they do not
304excuse you from the conditions of this License. If you cannot distribute so
305as to satisfy simultaneously your obligations under this License and any
306other pertinent obligations, then as a consequence you may not distribute
307the Program at all. For example, if a patent license would not permit
308royalty-free redistribution of the Program by all those who receive copies
309directly or indirectly through you, then the only way you could satisfy both
310it and this License would be to refrain entirely from distribution of the
311Program.
312
313If any portion of this section is held invalid or unenforceable under any
314particular circumstance, the balance of the section is intended to apply and
315the section as a whole is intended to apply in other circumstances.
316
317It is not the purpose of this section to induce you to infringe any patents
318or other property right claims or to contest validity of any such claims;
319this section has the sole purpose of protecting the integrity of the free
320software distribution system, which is implemented by public license
321practices. Many people have made generous contributions to the wide range of
322software distributed through that system in reliance on consistent
323application of that system; it is up to the author/donor to decide if he or
324she is willing to distribute software through any other system and a
325licensee cannot impose that choice.
326
327This section is intended to make thoroughly clear what is believed to be a
328consequence of the rest of this License.
329
3308. If the distribution and/or use of the Program is restricted in certain
331countries either by patents or by copyrighted interfaces, the original
332copyright holder who places the Program under this License may add an
333explicit geographical distribution limitation excluding those countries, so
334that distribution is permitted only in or among countries not thus excluded.
335In such case, this License incorporates the limitation as if written in the
336body of this License.
337
3389. The Free Software Foundation may publish revised and/or new versions of
339the General Public License from time to time. Such new versions will be
340similar in spirit to the present version, but may differ in detail to
341address new problems or concerns.
342
343Each version is given a distinguishing version number. If the Program
344specifies a version number of this License which applies to it and "any
345later version", you have the option of following the terms and conditions
346either of that version or of any later version published by the Free
347Software Foundation. If the Program does not specify a version number of
348this License, you may choose any version ever published by the Free Software
349Foundation.
350
35110. If you wish to incorporate parts of the Program into other free programs
352whose distribution conditions are different, write to the author to ask for
353permission. For software which is copyrighted by the Free Software
354Foundation, write to the Free Software Foundation; we sometimes make
355exceptions for this. Our decision will be guided by the two goals of
356preserving the free status of all derivatives of our free software and of
357promoting the sharing and reuse of software generally.
358
359NO WARRANTY
360
36111. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
362THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
363OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
364PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
365OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
366MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO
367THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
368PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
369CORRECTION.
370
37112. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
372WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
373REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
374INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
375OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO
376LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
377THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
378PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
379POSSIBILITY OF SUCH DAMAGES.
380
381END OF TERMS AND CONDITIONS
382
383How to Apply These Terms to Your New Programs
384
385If you develop a new program, and you want it to be of the greatest possible
386use to the public, the best way to achieve this is to make it free software
387which everyone can redistribute and change under these terms.
388
389To do so, attach the following notices to the program. It is safest to
390attach them to the start of each source file to most effectively convey the
391exclusion of warranty; and each file should have at least the "copyright"
392line and a pointer to where the full notice is found.
393
394one line to give the program's name and an idea of what it does.
395Copyright (C) 19yy  name of author
396
397This program is free software; you can redistribute it and/or
398modify it under the terms of the GNU General Public License
399as published by the Free Software Foundation; either version 2
400of the License, or (at your option) any later version.
401
402This program is distributed in the hope that it will be useful,
403but WITHOUT ANY WARRANTY; without even the implied warranty of
404MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
405GNU General Public License for more details.
406
407You should have received a copy of the GNU General Public License
408along with this program; if not, write to the Free Software
409Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
410
411Also add information on how to contact you by electronic and paper mail.
412
413If the program is interactive, make it output a short notice like this when
414it starts in an interactive mode:
415
416Gnomovision version 69, Copyright (C) 19yy name of author
417Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
418type `show w'.  This is free software, and you are welcome
419to redistribute it under certain conditions; type `show c'
420for details.
421
422The hypothetical commands `show w' and `show c' should show the appropriate
423parts of the General Public License. Of course, the commands you use may be
424called something other than `show w' and `show c'; they could even be
425mouse-clicks or menu items--whatever suits your program.
426
427You should also get your employer (if you work as a programmer) or your
428school, if any, to sign a "copyright disclaimer" for the program, if
429necessary. Here is a sample; alter the names:
430
431Yoyodyne, Inc., hereby disclaims all copyright
432interest in the program `Gnomovision'
433(which makes passes at compilers) written
434by James Hacker.
435
436signature of Ty Coon, 1 April 1989
437Ty Coon, President of Vice
438
439This General Public License does not permit incorporating your program into
440proprietary programs. If your program is a subroutine library, you may
441consider it more useful to permit linking proprietary applications with the
442library. If this is what you want to do, use the GNU Library General Public
443License instead of this License.
Note: See TracBrowser for help on using the browser.