nmap.license revision 146
146N/AOracle elects to use only the GNU Lesser General Public License version
146N/A2.1 (LGPL)/GNU General Public License version 2 (GPL) for any software
146N/Awhere a choice of LGPL/GPL license versions are made available with the
146N/Alanguage indicating that LGPLv2.1/GPLv2 or any later version may be
146N/Aused, or where a choice of which version of the LGPL/GPL is applied is
146N/Aunspecified. Unless specifically stated otherwise, where a choice
146N/Aexists between another license and either the GPL or the LGPL, Oracle
146N/Achooses the other license.
146N/A-----------------------------------------------------------------------
146N/A
146N/A/***************************************************************************
146N/A * COPYING -- Describes the terms under which Nmap is distributed. A copy *
146N/A * of the GNU GPL is appended to this file. *
146N/A * *
146N/A ***********************IMPORTANT NMAP LICENSE TERMS************************
146N/A * *
146N/A * The Nmap Security Scanner is (C) 1996-2006 Insecure.Com LLC. Nmap is *
146N/A * also a registered trademark of Insecure.Com LLC. This program is free *
146N/A * software; you may redistribute and/or modify it under the terms of the *
146N/A * GNU General Public License as published by the Free Software *
146N/A * Foundation; Version 2 with the clarifications and exceptions described *
146N/A * below. This guarantees your right to use, modify, and redistribute *
146N/A * this software under certain conditions. If you wish to embed Nmap *
146N/A * technology into proprietary software, we sell alternative licenses *
146N/A * (contact sales@insecure.com). Dozens of software vendors already *
146N/A * license Nmap technology such as host discovery, port scanning, OS *
146N/A * detection, and version detection. *
146N/A * *
146N/A * Note that the GPL places important restrictions on "derived works", yet *
146N/A * it does not provide a detailed definition of that term. To avoid *
146N/A * misunderstandings, we consider an application to constitute a *
146N/A * "derivative work" for the purpose of this license if it does any of the *
146N/A * following: *
146N/A * o Integrates source code from Nmap *
146N/A * o Reads or includes Nmap copyrighted data files, such as *
146N/A * nmap-os-fingerprints or nmap-service-probes. *
146N/A * o Executes Nmap and parses the results (as opposed to typical shell or *
146N/A * execution-menu apps, which simply display raw Nmap output and so are *
146N/A * not derivative works.) *
146N/A * o Integrates/includes/aggregates Nmap into a proprietary executable *
146N/A * installer, such as those produced by InstallShield. *
146N/A * o Links to a library or executes a program that does any of the above *
146N/A * *
146N/A * The term "Nmap" should be taken to also include any portions or derived *
146N/A * works of Nmap. This list is not exclusive, but is just meant to *
146N/A * clarify our interpretation of derived works with some common examples. *
146N/A * These restrictions only apply when you actually redistribute Nmap. For *
146N/A * example, nothing stops you from writing and selling a proprietary *
146N/A * front-end to Nmap. Just distribute it by itself, and point people to *
146N/A * http://insecure.org/nmap/ to download Nmap. *
146N/A * *
146N/A * We don't consider these to be added restrictions on top of the GPL, but *
146N/A * just a clarification of how we interpret "derived works" as it applies *
146N/A * to our GPL-licensed Nmap product. This is similar to the way Linus *
146N/A * Torvalds has announced his interpretation of how "derived works" *
146N/A * applies to Linux kernel modules. Our interpretation refers only to *
146N/A * Nmap - we don't speak for any other GPL products. *
146N/A * *
146N/A * If you have any questions about the GPL licensing restrictions on using *
146N/A * Nmap in non-GPL works, we would be happy to help. As mentioned above, *
146N/A * we also offer alternative license to integrate Nmap into proprietary *
146N/A * applications and appliances. These contracts have been sold to dozens *
146N/A * of software vendors, and generally include a perpetual license as well *
146N/A * as providing for priority support and updates as well as helping to *
146N/A * fund the continued development of Nmap technology. Please email *
146N/A * sales@insecure.com for further information. *
146N/A * *
146N/A * As a special exception to the GPL terms, Insecure.Com LLC grants *
146N/A * permission to link the code of this program with any version of the *
146N/A * OpenSSL library which is distributed under a license identical to that *
146N/A * listed in the included Copying.OpenSSL file, and distribute linked *
146N/A * combinations including the two. You must obey the GNU GPL in all *
146N/A * respects for all of the code used other than OpenSSL. If you modify *
146N/A * this file, you may extend this exception to your version of the file, *
146N/A * but you are not obligated to do so. *
146N/A * *
146N/A * If you received these files with a written license agreement or *
146N/A * contract stating terms other than the terms above, then that *
146N/A * alternative license agreement takes precedence over these comments. *
146N/A * *
146N/A * Source is provided to this software because we believe users have a *
146N/A * right to know exactly what a program is going to do before they run it. *
146N/A * This also allows you to audit the software for security holes (none *
146N/A * have been found so far). *
146N/A * *
146N/A * Source code also allows you to port Nmap to new platforms, fix bugs, *
146N/A * and add new features. You are highly encouraged to send your changes *
146N/A * to fyodor@insecure.org for possible incorporation into the main *
146N/A * distribution. By sending these changes to Fyodor or one the *
146N/A * Insecure.Org development mailing lists, it is assumed that you are *
146N/A * offering Fyodor and Insecure.Com LLC the unlimited, non-exclusive right *
146N/A * to reuse, modify, and relicense the code. Nmap will always be *
146N/A * available Open Source, but this is important because the inability to *
146N/A * relicense code has caused devastating problems for other Free Software *
146N/A * projects (such as KDE and NASM). We also occasionally relicense the *
146N/A * code to third parties as discussed above. If you wish to specify *
146N/A * special license conditions of your contributions, just say so when you *
146N/A * send them. *
146N/A * *
146N/A * This program is distributed in the hope that it will be useful, but *
146N/A * WITHOUT ANY WARRANTY; without even the implied warranty of *
146N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
146N/A * General Public License for more details at *
146N/A * http://www.gnu.org/copyleft/gpl.html , or in the COPYING file included *
146N/A * with Nmap. *
146N/A * *
146N/A ***************************************************************************/
146N/A
146N/AGNU General Public License
146N/A
146N/A----------------------------------------------------------------------------
146N/A
146N/ATable of Contents
146N/A
146N/A * GNU GENERAL PUBLIC LICENSE
146N/A o Preamble
146N/A o TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
146N/A o How to Apply These Terms to Your New Programs
146N/A
146N/A----------------------------------------------------------------------------
146N/A
146N/AGNU GENERAL PUBLIC LICENSE
146N/A
146N/AVersion 2, June 1991
146N/A
146N/ACopyright (C) 1989, 1991 Free Software Foundation, Inc.
146N/A59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
146N/A
146N/AEveryone is permitted to copy and distribute verbatim copies
146N/Aof this license document, but changing it is not allowed.
146N/A
146N/APreamble
146N/A
146N/AThe licenses for most software are designed to take away your freedom to
146N/Ashare and change it. By contrast, the GNU General Public License is intended
146N/Ato guarantee your freedom to share and change free software--to make sure
146N/Athe software is free for all its users. This General Public License applies
146N/Ato most of the Free Software Foundation's software and to any other program
146N/Awhose authors commit to using it. (Some other Free Software Foundation
146N/Asoftware is covered by the GNU Library General Public License instead.) You
146N/Acan apply it to your programs, too.
146N/A
146N/AWhen we speak of free software, we are referring to freedom, not price. Our
146N/AGeneral Public Licenses are designed to make sure that you have the freedom
146N/Ato distribute copies of free software (and charge for this service if you
146N/Awish), that you receive source code or can get it if you want it, that you
146N/Acan change the software or use pieces of it in new free programs; and that
146N/Ayou know you can do these things.
146N/A
146N/ATo protect your rights, we need to make restrictions that forbid anyone to
146N/Adeny you these rights or to ask you to surrender the rights. These
146N/Arestrictions translate to certain responsibilities for you if you distribute
146N/Acopies of the software, or if you modify it.
146N/A
146N/AFor example, if you distribute copies of such a program, whether gratis or
146N/Afor a fee, you must give the recipients all the rights that you have. You
146N/Amust make sure that they, too, receive or can get the source code. And you
146N/Amust show them these terms so they know their rights.
146N/A
146N/AWe protect your rights with two steps: (1) copyright the software, and (2)
146N/Aoffer you this license which gives you legal permission to copy, distribute
146N/Aand/or modify the software.
146N/A
146N/AAlso, for each author's protection and ours, we want to make certain that
146N/Aeveryone understands that there is no warranty for this free software. If
146N/Athe software is modified by someone else and passed on, we want its
146N/Arecipients to know that what they have is not the original, so that any
146N/Aproblems introduced by others will not reflect on the original authors'
146N/Areputations.
146N/A
146N/AFinally, any free program is threatened constantly by software patents. We
146N/Awish to avoid the danger that redistributors of a free program will
146N/Aindividually obtain patent licenses, in effect making the program
146N/Aproprietary. To prevent this, we have made it clear that any patent must be
146N/Alicensed for everyone's free use or not licensed at all.
146N/A
146N/AThe precise terms and conditions for copying, distribution and modification
146N/Afollow.
146N/A
146N/ATERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
146N/A
146N/A0. This License applies to any program or other work which contains a notice
146N/Aplaced by the copyright holder saying it may be distributed under the terms
146N/Aof this General Public License. The "Program", below, refers to any such
146N/Aprogram or work, and a "work based on the Program" means either the Program
146N/Aor any derivative work under copyright law: that is to say, a work
146N/Acontaining the Program or a portion of it, either verbatim or with
146N/Amodifications and/or translated into another language. (Hereinafter,
146N/Atranslation is included without limitation in the term "modification".) Each
146N/Alicensee is addressed as "you".
146N/A
146N/AActivities other than copying, distribution and modification are not covered
146N/Aby this License; they are outside its scope. The act of running the Program
146N/Ais not restricted, and the output from the Program is covered only if its
146N/Acontents constitute a work based on the Program (independent of having been
146N/Amade by running the Program). Whether that is true depends on what the
146N/AProgram does.
146N/A
146N/A1. You may copy and distribute verbatim copies of the Program's source code
146N/Aas you receive it, in any medium, provided that you conspicuously and
146N/Aappropriately publish on each copy an appropriate copyright notice and
146N/Adisclaimer of warranty; keep intact all the notices that refer to this
146N/ALicense and to the absence of any warranty; and give any other recipients of
146N/Athe Program a copy of this License along with the Program.
146N/A
146N/AYou may charge a fee for the physical act of transferring a copy, and you
146N/Amay at your option offer warranty protection in exchange for a fee.
146N/A
146N/A2. You may modify your copy or copies of the Program or any portion of it,
146N/Athus forming a work based on the Program, and copy and distribute such
146N/Amodifications or work under the terms of Section 1 above, provided that you
146N/Aalso meet all of these conditions:
146N/A
146N/A * a) You must cause the modified files to carry prominent notices stating
146N/A that you changed the files and the date of any change.
146N/A
146N/A * b) You must cause any work that you distribute or publish, that in
146N/A whole or in part contains or is derived from the Program or any part
146N/A thereof, to be licensed as a whole at no charge to all third parties
146N/A under the terms of this License.
146N/A
146N/A * c) If the modified program normally reads commands interactively when
146N/A run, you must cause it, when started running for such interactive use
146N/A in the most ordinary way, to print or display an announcement including
146N/A an appropriate copyright notice and a notice that there is no warranty
146N/A (or else, saying that you provide a warranty) and that users may
146N/A redistribute the program under these conditions, and telling the user
146N/A how to view a copy of this License. (Exception: if the Program itself
146N/A is interactive but does not normally print such an announcement, your
146N/A work based on the Program is not required to print an announcement.)
146N/A
146N/AThese requirements apply to the modified work as a whole. If identifiable
146N/Asections of that work are not derived from the Program, and can be
146N/Areasonably considered independent and separate works in themselves, then
146N/Athis License, and its terms, do not apply to those sections when you
146N/Adistribute them as separate works. But when you distribute the same sections
146N/Aas part of a whole which is a work based on the Program, the distribution of
146N/Athe whole must be on the terms of this License, whose permissions for other
146N/Alicensees extend to the entire whole, and thus to each and every part
146N/Aregardless of who wrote it.
146N/A
146N/AThus, it is not the intent of this section to claim rights or contest your
146N/Arights to work written entirely by you; rather, the intent is to exercise
146N/Athe right to control the distribution of derivative or collective works
146N/Abased on the Program.
146N/A
146N/AIn addition, mere aggregation of another work not based on the Program with
146N/Athe Program (or with a work based on the Program) on a volume of a storage
146N/Aor distribution medium does not bring the other work under the scope of this
146N/ALicense.
146N/A
146N/A3. You may copy and distribute the Program (or a work based on it, under
146N/ASection 2) in object code or executable form under the terms of Sections 1
146N/Aand 2 above provided that you also do one of the following:
146N/A
146N/A * a) Accompany it with the complete corresponding machine-readable source
146N/A code, which must be distributed under the terms of Sections 1 and 2
146N/A above on a medium customarily used for software interchange; or,
146N/A
146N/A * b) Accompany it with a written offer, valid for at least three years,
146N/A to give any third party, for a charge no more than your cost of
146N/A physically performing source distribution, a complete machine-readable
146N/A copy of the corresponding source code, to be distributed under the
146N/A terms of Sections 1 and 2 above on a medium customarily used for
146N/A software interchange; or,
146N/A
146N/A * c) Accompany it with the information you received as to the offer to
146N/A distribute corresponding source code. (This alternative is allowed only
146N/A for noncommercial distribution and only if you received the program in
146N/A object code or executable form with such an offer, in accord with
146N/A Subsection b above.)
146N/A
146N/AThe source code for a work means the preferred form of the work for making
146N/Amodifications to it. For an executable work, complete source code means all
146N/Athe source code for all modules it contains, plus any associated interface
146N/Adefinition files, plus the scripts used to control compilation and
146N/Ainstallation of the executable. However, as a special exception, the source
146N/Acode distributed need not include anything that is normally distributed (in
146N/Aeither source or binary form) with the major components (compiler, kernel,
146N/Aand so on) of the operating system on which the executable runs, unless that
146N/Acomponent itself accompanies the executable.
146N/A
146N/AIf distribution of executable or object code is made by offering access to
146N/Acopy from a designated place, then offering equivalent access to copy the
146N/Asource code from the same place counts as distribution of the source code,
146N/Aeven though third parties are not compelled to copy the source along with
146N/Athe object code.
146N/A
146N/A4. You may not copy, modify, sublicense, or distribute the Program except as
146N/Aexpressly provided under this License. Any attempt otherwise to copy,
146N/Amodify, sublicense or distribute the Program is void, and will automatically
146N/Aterminate your rights under this License. However, parties who have received
146N/Acopies, or rights, from you under this License will not have their licenses
146N/Aterminated so long as such parties remain in full compliance.
146N/A
146N/A5. You are not required to accept this License, since you have not signed
146N/Ait. However, nothing else grants you permission to modify or distribute the
146N/AProgram or its derivative works. These actions are prohibited by law if you
146N/Ado not accept this License. Therefore, by modifying or distributing the
146N/AProgram (or any work based on the Program), you indicate your acceptance of
146N/Athis License to do so, and all its terms and conditions for copying,
146N/Adistributing or modifying the Program or works based on it.
146N/A
146N/A6. Each time you redistribute the Program (or any work based on the
146N/AProgram), the recipient automatically receives a license from the original
146N/Alicensor to copy, distribute or modify the Program subject to these terms
146N/Aand conditions. You may not impose any further restrictions on the
146N/Arecipients' exercise of the rights granted herein. You are not responsible
146N/Afor enforcing compliance by third parties to this License.
146N/A
146N/A7. If, as a consequence of a court judgment or allegation of patent
146N/Ainfringement or for any other reason (not limited to patent issues),
146N/Aconditions are imposed on you (whether by court order, agreement or
146N/Aotherwise) that contradict the conditions of this License, they do not
146N/Aexcuse you from the conditions of this License. If you cannot distribute so
146N/Aas to satisfy simultaneously your obligations under this License and any
146N/Aother pertinent obligations, then as a consequence you may not distribute
146N/Athe Program at all. For example, if a patent license would not permit
146N/Aroyalty-free redistribution of the Program by all those who receive copies
146N/Adirectly or indirectly through you, then the only way you could satisfy both
146N/Ait and this License would be to refrain entirely from distribution of the
146N/AProgram.
146N/A
146N/AIf any portion of this section is held invalid or unenforceable under any
146N/Aparticular circumstance, the balance of the section is intended to apply and
146N/Athe section as a whole is intended to apply in other circumstances.
146N/A
146N/AIt is not the purpose of this section to induce you to infringe any patents
146N/Aor other property right claims or to contest validity of any such claims;
146N/Athis section has the sole purpose of protecting the integrity of the free
146N/Asoftware distribution system, which is implemented by public license
146N/Apractices. Many people have made generous contributions to the wide range of
146N/Asoftware distributed through that system in reliance on consistent
146N/Aapplication of that system; it is up to the author/donor to decide if he or
146N/Ashe is willing to distribute software through any other system and a
146N/Alicensee cannot impose that choice.
146N/A
146N/AThis section is intended to make thoroughly clear what is believed to be a
146N/Aconsequence of the rest of this License.
146N/A
146N/A8. If the distribution and/or use of the Program is restricted in certain
146N/Acountries either by patents or by copyrighted interfaces, the original
146N/Acopyright holder who places the Program under this License may add an
146N/Aexplicit geographical distribution limitation excluding those countries, so
146N/Athat distribution is permitted only in or among countries not thus excluded.
146N/AIn such case, this License incorporates the limitation as if written in the
146N/Abody of this License.
146N/A
146N/A9. The Free Software Foundation may publish revised and/or new versions of
146N/Athe General Public License from time to time. Such new versions will be
146N/Asimilar in spirit to the present version, but may differ in detail to
146N/Aaddress new problems or concerns.
146N/A
146N/AEach version is given a distinguishing version number. If the Program
146N/Aspecifies a version number of this License which applies to it and "any
146N/Alater version", you have the option of following the terms and conditions
146N/Aeither of that version or of any later version published by the Free
146N/ASoftware Foundation. If the Program does not specify a version number of
146N/Athis License, you may choose any version ever published by the Free Software
146N/AFoundation.
146N/A
146N/A10. If you wish to incorporate parts of the Program into other free programs
146N/Awhose distribution conditions are different, write to the author to ask for
146N/Apermission. For software which is copyrighted by the Free Software
146N/AFoundation, write to the Free Software Foundation; we sometimes make
146N/Aexceptions for this. Our decision will be guided by the two goals of
146N/Apreserving the free status of all derivatives of our free software and of
146N/Apromoting the sharing and reuse of software generally.
146N/A
146N/ANO WARRANTY
146N/A
146N/A11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
146N/ATHE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
146N/AOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
146N/APROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
146N/AOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
146N/AMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO
146N/ATHE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
146N/APROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
146N/ACORRECTION.
146N/A
146N/A12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
146N/AWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
146N/AREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
146N/AINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
146N/AOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO
146N/ALOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
146N/ATHIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
146N/APROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
146N/APOSSIBILITY OF SUCH DAMAGES.
146N/A
146N/AEND OF TERMS AND CONDITIONS
146N/A
146N/AHow to Apply These Terms to Your New Programs
146N/A
146N/AIf you develop a new program, and you want it to be of the greatest possible
146N/Ause to the public, the best way to achieve this is to make it free software
146N/Awhich everyone can redistribute and change under these terms.
146N/A
146N/ATo do so, attach the following notices to the program. It is safest to
146N/Aattach them to the start of each source file to most effectively convey the
146N/Aexclusion of warranty; and each file should have at least the "copyright"
146N/Aline and a pointer to where the full notice is found.
146N/A
146N/Aone line to give the program's name and an idea of what it does.
146N/ACopyright (C) 19yy name of author
146N/A
146N/AThis program is free software; you can redistribute it and/or
146N/Amodify it under the terms of the GNU General Public License
146N/Aas published by the Free Software Foundation; either version 2
146N/Aof the License, or (at your option) any later version.
146N/A
146N/AThis program is distributed in the hope that it will be useful,
146N/Abut WITHOUT ANY WARRANTY; without even the implied warranty of
146N/AMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
146N/AGNU General Public License for more details.
146N/A
146N/AYou should have received a copy of the GNU General Public License
146N/Aalong with this program; if not, write to the Free Software
146N/AFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
146N/A
146N/AAlso add information on how to contact you by electronic and paper mail.
146N/A
146N/AIf the program is interactive, make it output a short notice like this when
146N/Ait starts in an interactive mode:
146N/A
146N/AGnomovision version 69, Copyright (C) 19yy name of author
146N/AGnomovision comes with ABSOLUTELY NO WARRANTY; for details
146N/Atype `show w'. This is free software, and you are welcome
146N/Ato redistribute it under certain conditions; type `show c'
146N/Afor details.
146N/A
146N/AThe hypothetical commands `show w' and `show c' should show the appropriate
146N/Aparts of the General Public License. Of course, the commands you use may be
146N/Acalled something other than `show w' and `show c'; they could even be
146N/Amouse-clicks or menu items--whatever suits your program.
146N/A
146N/AYou should also get your employer (if you work as a programmer) or your
146N/Aschool, if any, to sign a "copyright disclaimer" for the program, if
146N/Anecessary. Here is a sample; alter the names:
146N/A
146N/AYoyodyne, Inc., hereby disclaims all copyright
146N/Ainterest in the program `Gnomovision'
146N/A(which makes passes at compilers) written
146N/Aby James Hacker.
146N/A
146N/Asignature of Ty Coon, 1 April 1989
146N/ATy Coon, President of Vice
146N/A
146N/AThis General Public License does not permit incorporating your program into
146N/Aproprietary programs. If your program is a subroutine library, you may
146N/Aconsider it more useful to permit linking proprietary applications with the
146N/Alibrary. If this is what you want to do, use the GNU Library General Public
146N/ALicense instead of this License.