--- nmap-4.68.orig/debian/prerm +++ nmap-4.68/debian/prerm @@ -0,0 +1,19 @@ +#!/bin/sh -e + +# Debian nmap prerm +# LaMont Jones + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac +#DEBHELPER# +exit 0 --- nmap-4.68.orig/debian/zenmap.xpm +++ nmap-4.68/debian/zenmap.xpm @@ -0,0 +1,66 @@ +/* XPM */ +static char *nmap-1[] = { +/* columns rows colors chars-per-pixel */ +"32 32 28 1", +" c #040404", +". c #330000", +"X c #333300", +"o c #333366", +"O c #663300", +"+ c #663366", +"@ c gray30", +"# c gray40", +"$ c #800000", +"% c #993300", +"& c #993366", +"* c #996600", +"= c #996666", +"- c #CC6666", +"; c #FF6666", +": c #996699", +"> c #CC6699", +", c #FF6699", +"< c #CC9966", +"1 c #FF9966", +"2 c #868686", +"3 c #A0A0A4", +"4 c #CC9999", +"5 c #FF9999", +"6 c #CCCC99", +"7 c #FFCC99", +"8 c #FFCCFF", +"9 c #FFFBF0", +/* pixels */ +"99977777777777797979799989998632", +"4746666666666646466467647676763=", +"=4=============:==-4->4<4<4544=#", +"-==+O++O+O@O+O+OO++===------1-=#", +"==#O@OOXOOOXOOXX+OOO+#*=---,--=#", +"==+XOXO.X.X.oX+XXO+OO$+===:-->=#", +"==OOXOXOX+XO.OX+XOXOOO@O+#==4-=#", +"==++O+O++O+O@OOXOXOOXoOOOO@====#", +">==O+O+OOO+%+O+O+@OoXOXoXOOO+&+O", +"===O&O+++O+O&O+=O&O++OOOOoXXOO@@", +">==+O+%O%+%+O+%O===*=+O+OOOOoOXO", +"===O%+O++O+%+%+O&O+O+O+O+O+OXO.X", +"-:=O+%+OO+$OO@OO@OO+O$O$+OO+O+OO", +"=-=&O+O+OOX+OOoXO@@O++OOO@O+%O@O", +">=-O&O+OXOOXoXXoXX@@+O@@OO$O++$O", +"4===O+OO$+OXX.X=#@==#@XO@+O++OO@", +"<4-==O+O+OO@OXX@+@9946-OXOO+O&@$", +"4;---==OO+O#@@#@O479989=O+OO+OO@", +"44=-=-=+$O+=#@+#>987878=+O+&O+$O", +"<4-----=O++O#==679787974#O=*=&O@", +"41=--=--==%+OO#=68989847-O===O+O", +"44-------====+O@O@==-=-===-1-==+", +"14;>---=-----===O&O++==--=-:-=+O", +"444-->----=-------=-=-=-:-----=+", +"41-5;1,4;------------=-=-=>=--=+", +"45<-4-1-5>1>----->->-=>=-3-->==+", +"<4,5;54515-5;5,5>14<-5<5-->---=+", +"45<-4<51455<5<5<15155<,------==O", +"4--=---=-==>=>=-:=:=-:========#O", +"-=@@@@@+@#@@#@@@#@+@@O@@#@@@+OOo", +"O@XOXOOX+XOXOXOOXOXOO+XOXOXOXoXX", +"OXXoXo oXXoXoXo oXoXoXXo o o X " +}; --- nmap-4.68.orig/debian/pycompat +++ nmap-4.68/debian/pycompat @@ -0,0 +1 @@ +2 --- nmap-4.68.orig/debian/changelog +++ nmap-4.68/debian/changelog @@ -0,0 +1,571 @@ +nmap (4.68-1) unstable; urgency=low + + [fyodor] + + * New upstream release. Closes: #488388, #394784, #468753 + + -- LaMont Jones Fri, 01 Aug 2008 08:36:10 -0600 + +nmap (4.62-1) unstable; urgency=low + + [fyodor] + + * new upstream release + + [Davide] + + * create an desktop file for zenmap. Closes: #457799 + * remove useless file /usr/bin/uninstall_zenmap. Closes: #474511 + + -- LaMont Jones Sat, 31 May 2008 22:55:14 -0600 + +nmap (4.60-1) unstable; urgency=low + + [bmenrigh] + + * Tandberg MXP Video Conference appliance telnetd. Thanks to Tom Sellers + * Dropping stray '*' on previous Tandberg MXP match line. + + [doug] + + * New match line for another version of VxWorks FTPd + * AXIS webcam ftpd standardisation. Thanks to Lionel Cons + * vsftpd 00PS->OOPS patch from Kris + + [david] + + * Fix a typo in MACLookup.cc: corolation -> correlation. + + -- LaMont Jones Fri, 04 Apr 2008 00:40:50 -0600 + +nmap (4.60-0) unstable; urgency=low + + * New upstream release. Upstream URL changes to http://nmap.org/ + + -- LaMont Jones Fri, 04 Apr 2008 00:40:50 -0600 + +nmap (4.53-3) unstable; urgency=low + + * zenmap: python 2.5 has python-pysqlite2 + + -- LaMont Jones Thu, 03 Apr 2008 22:16:11 -0600 + +nmap (4.53-2) unstable; urgency=low + + * zenmap: Depends: python-{gtk2,gobject}. Closes: #466595 + + -- LaMont Jones Tue, 19 Feb 2008 21:23:46 -0700 + +nmap (4.53-1) unstable; urgency=low + + [LaMont Jones] + * Package New upstream release. + * Cherry pick post-4.53 patches from [fyodor]. Closes: #459884 + - remove instances of .nse to prevent the docbook man page translation + from wrongly including that string at the beginning of lines, which causes + errors because nroff confuses it with the .ns nroff no-space mode command + - regenerate man page -- remove instances of .nse to prevent the + docbook man page translation from wrongly including that string at the + beginning of lines, which causes errors because nroff confuses it with + the .ns nroff no-space mode command + + [stoiko] + + * if nse's connect is issued on an open socket, close the old + connection before + * move the check, wheter a socket is open, before connecting it again to + l_nsock_queued() - otherwise there are problems with the returned values.. + + [fyodor] + + * qualify fingerprint name + * spell-check, add 4.50 release announcement + * improve a mysql signature (suggested by Lionel Cons) + * sorting change, I think + * remove a duplicate for rpc number 536870916, userd or vtsk. I kept vksd + though without much research. I'm open to comments from people who think + we should keep userd instead. + * Added rpcinfo.nse script, which contacts a listening RPC portmapper + * improve nginx detection. patch from Sven Klemm. + See http://seclists.org/nmap-dev/2007/q4/0682.html + * remove claim that using -v more than twice has no extra effect + * o Fix a bunch of warning/error messages which contained an extra + * o Fixed our Winpcap installer so that it waits for a Winpcap uninstall + * o Fixed Winpcap installer to install the right version of Packet.dll + * Update changelog and version numbers in preparation for 4.51BETA release + * fix version number + * update some links + * update copyright line at the top of files from 1996-2006 to 1996-2008 + * remove duplicate crediting in an entry + * o Fixed Nmap Winpcap installer to use CurrentVersion registry key on + * add _ to the allowed workgroup name regex for netbios-ssn matchlines. + Thanks to Bill Jaeger for the suggestion and partial patch + * Update changelog, version numbers in prep for Nmap 4.52 release + * trivial CHANGELOG adjustment + * applied an nginx http proxy signature patch from Sven Klemm + * Fix a problem which prevented proper port number matching in + port_or_service() because the port variable passed to portnumber is + shadowed by the variable passed during portrule check. Report and + patch are from Sven Klemm + * o Improved rpcinfo.nse to better sort and display available RPC + * Remove own ntohl() and use packet.u32() instead. Patch from Sven Klemm + * o Added UPnP-info NSE script by Thomas Buchanan. It gathers + * o Impoved Windows executable installer by making uninstall work better + * update version number and changelog in prep for upcoming 4.53 release + + [kris] + + * recommitting my r6499: "fix robots.nse output: remove robots.txt + comments on disallowed entry lines" + * Adding my strftime()-like conversion extensions to the logging functions + (-oA, -oX, etc). This contains a CHANGELOG entry and refguide changes + which (hopefully) sum it up pretty well. + * okay, a change to r6530: the current %R and %T are being removed as + colons are invalid chracters in Windows and Mac OS X filenames (thanks to + jah for pointing out the problem on Windows). What was %r and %t are now + the new %R and %T. All this means is that %r and %t are gone, and %R/%T + are the same as with strftime() but without colons + * adding CHANGELOG entry for r6529 (robots.nse output fix) + * Add CHANGELOG entry for r6558: "Fix Zenmap crash when selecting Help from + the Compare Results window. Path wasn't imported" + * Adding new MySQLinfo NSE script for printing MySQL server information + * Upgrading libpcre from version 7.2 to 7.4. Tested on Linux and Windows + * Fixing build problem on Mac OS X; my mistake (typo) + * adding nmap.fetchfile() function so scripts can find the nmap-* data files + * updating rpcinfo.nse to use nmap.fetchfile() instead of having the huge + RPC table + * o Fixed multiple NSE scripts that weren't always properly closing their + + [ejlbell] + + * Traceroute bugfix for when the first hop of the first host in a + tracegroup (reference trace) times out. The previous patch did not + completely solve the issue due to an erronous check on the ttl, now we + use a dedicated boolean flag. Thanks to Sebastián García for the bug + report and testing. + + [david] + + * Document Zenmap r6535 in CHANGELOG. + * Escape OS fingerprints when writing them to an XML log. OS fingerprint don't + * Consider Windows paths starting with \ absolute when used with the + --script option. + * Document Zenmap r6539 in CHANGELOG. + * Give credit for some recent CHANGELOG entries. + * Use just PAGE_READWRITE, not PAGE_READONLY | PAGE_READWRITE in the call to + * Fix the message printed when a host is skipped, for example on Windows when + * Use the filename tag for file name extensions in zenmap.xml. + * Fixed an error that showed itself on Windows when attempting to scan + + [doug] + + * Small bug in Polycom ViewStation match line + * Changed some protocol names to remove trailing + * Updated the IRC server info script to handle services + * s modifiers added to many match lines. + * I've seen "OpenBSD identd" on a linux box so I + * Renamed irc-serv protocols to irc and added a couple + * Moved BIND match line above a "catch all" line. + * NSE --host-timeout support + * NSE run-time interaction support + * New OfficeScan probe from Tom Sellers + + -- LaMont Jones Sun, 13 Jan 2008 02:07:40 -0700 + +nmap (4.50-4) unstable; urgency=low + + * control: zenmap Depends: python-pysqlite2. Closes: #457694 + + -- LaMont Jones Tue, 25 Dec 2007 09:06:55 -0700 + +nmap (4.50-3) unstable; urgency=low + + * use global copyright file for zenmap + + -- LaMont Jones Sat, 22 Dec 2007 11:14:17 -0700 + +nmap (4.50-2) unstable; urgency=low + + * copyright: incorporate remaining copyright info from upstream + + -- LaMont Jones Sat, 22 Dec 2007 09:37:25 -0700 + +nmap (4.50-1) unstable; urgency=low + + [Fyodor] + + * New upstream release. Many changes. Closes: #456232 + + [LaMont Jones] + + * debian/rules: nmapfe migration + * build: properly target install + * build: finish cleaning up the build process, I hope. + * meta: drop usr/share/pixmaps/ubuntu.svg, collides with gnome-screensaver + * meta: zenmap Conflicts/Replaces/Provides nmapfe + * rules: sed hack: remove build directory from python code + + -- LaMont Jones Thu, 13 Dec 2007 13:39:44 -0700 + +nmap (4.49~rc7-1) experimental; urgency=low + + * New upstream + + -- LaMont Jones Tue, 11 Dec 2007 07:25:17 -0700 + +nmap (4.49~rc6-1) experimental; urgency=low + + * New upstream release + + -- LaMont Jones Tue, 27 Nov 2007 06:07:37 -0700 + +nmap (4.20-3) unstable; urgency=low + + * build: make clean target really clean things. Closes: #442687 + * debian/rules: remove bashisms + + -- LaMont Jones Thu, 08 Nov 2007 21:16:35 -0700 + +nmap (4.20-2) unstable; urgency=low + + * nmapfe: desktop file cleanup, validation, deliver icon. Closes: #421347 + * metadata: document git repository + + -- LaMont Jones Tue, 11 Sep 2007 12:57:51 -0600 + +nmap (4.20-1) unstable; urgency=low + + * New upstream version + + -- LaMont Jones Tue, 12 Dec 2006 23:54:39 -0700 + +nmap (4.11-2) unstable; urgency=low + + * cleanup warnings + + -- LaMont Jones Tue, 1 Aug 2006 14:17:54 -0600 + +nmap (4.11-1) unstable; urgency=low + + * New upstream version + + -- LaMont Jones Tue, 1 Aug 2006 07:57:34 -0600 + +nmap (4.10-1) unstable; urgency=low + + * New upsteam version + + -- LaMont Jones Tue, 13 Jun 2006 22:41:11 -0600 + +nmap (4.03-3) unstable; urgency=low + + * Add missing Replaces. Closes: #365378 + + -- LaMont Jones Sat, 29 Apr 2006 22:09:02 -0600 + +nmap (4.03-2) unstable; urgency=low + + * deliver nmapfe.desktop as part of the nmapfe package. Closes: #306373 + * don't strip nmap in Makefile, let dh_strip do that in debian/rules. + Closes: #304202 + + -- LaMont Jones Wed, 26 Apr 2006 14:56:48 -0600 + +nmap (4.03-1) unstable; urgency=low + + * New upstream. + + -- LaMont Jones Wed, 26 Apr 2006 14:18:25 -0600 + +nmap (4.00-2) unstable; urgency=low + + * uh... lets try "unstable" + + -- LaMont Jones Wed, 1 Feb 2006 12:32:06 -0700 + +nmap (4.00-1) experimental; urgency=low + + * New upstream release + + -- LaMont Jones Wed, 1 Feb 2006 06:19:59 -0700 + +nmap (3.9999-0) experimental; urgency=low + + * New upstream version + + -- LaMont Jones Sat, 28 Jan 2006 12:35:14 -0700 + +nmap (3.95-2) unstable; urgency=low + + * Use libpcap0.8-dev + + -- LaMont Jones Thu, 19 Jan 2006 11:49:52 -0700 + +nmap (3.95-1) unstable; urgency=low + + * New upstream + + -- LaMont Jones Fri, 9 Dec 2005 13:50:57 -0700 + +nmap (3.93-1) unstable; urgency=low + + * New upstream + + -- LaMont Jones Mon, 12 Sep 2005 23:34:04 -0600 + +nmap (3.90-1) unstable; urgency=low + + * New upstream release. + + -- LaMont Jones Thu, 8 Sep 2005 10:39:09 -0600 + +nmap (3.81-2) unstable; urgency=low + + * Fix FTBFS when DEB_BUILD_OPTIONS specified. Closes: #308583 + Thanks Tollef Fog Heen. + + -- LaMont Jones Wed, 11 May 2005 22:34:05 -0600 + +nmap (3.81-1) unstable; urgency=low + + * New upstream version. + + -- LaMont Jones Mon, 7 Mar 2005 19:32:55 -0700 + +nmap (3.75-1) unstable; urgency=low + + * New upstream version. Closes: #277924 + + -- LaMont Jones Sun, 24 Oct 2004 17:43:06 -0600 + +nmap (3.70-1) unstable; urgency=low + + * New upstream version. Closes: #270697 + Fixes build-detection for k*bsd-gnu. Closes: #266901 + Updated copyright. Closes: #266205 + * Update package description + + -- LaMont Jones Thu, 9 Sep 2004 10:49:20 -0600 + +nmap (3.55-1) unstable; urgency=low + + * New upstream. Closes: #258757 + + -- LaMont Jones Sun, 11 Jul 2004 18:57:47 -0600 + +nmap (3.50-1) unstable; urgency=low + + * New upstream version. Closes: #229275 + + -- LaMont Jones Fri, 23 Jan 2004 20:08:35 -0700 + +nmap (3.48-2) unstable; urgency=low + + * Add missing build-depends. + + -- LaMont Jones Sat, 22 Nov 2003 19:39:17 -0700 + +nmap (3.48-1) unstable; urgency=low + + * New upstream version. Closes: #217501 + + -- LaMont Jones Sat, 25 Oct 2003 14:15:36 -0600 + +nmap (3.45-1) unstable; urgency=low + + * New upstream release. Closes: #201777, #196418, #195463, #165621 + + -- LaMont Jones Mon, 15 Sep 2003 18:47:48 -0600 + +nmap (3.27-1) unstable; urgency=low + + * New upstream version. Closes: #193909, #149393, #146581 + * Fix CXXFLAGS. Closes: #189021 + * Change man page from \' to ' for quotes. Closes: #143975 + + -- LaMont Jones Mon, 19 May 2003 18:13:23 -0600 + +nmap (3.20-1) unstable; urgency=low + + * New upstream version. Closes: #184414, #188468, #172618, #144089, #164211 + + -- LaMont Jones Thu, 10 Apr 2003 23:12:25 -0600 + +nmap (3.10.ALPHA4-1) unstable; urgency=low + + * New upstream version + * Deliver upstream changelog. Closes: #155836 + + -- LaMont Jones Sun, 24 Nov 2002 13:26:43 -0700 + +nmap (3.00-0.1) unstable; urgency=low + + * New upstream version. Use an NMU version number just for elmo. + Closes: #152907, #155598, #151375 + + -- LaMont Jones Tue, 6 Aug 2002 13:59:51 -0600 + +nmap (2.54.33.BETA-1) unstable; urgency=low + + * New upstream version. Lots of OS fingerprint updates. Closes: #145031 + + -- LaMont Jones Sun, 5 May 2002 11:17:05 -0600 + +nmap (2.54.32.BETA-1) unstable; urgency=low + + * New upstream version. + + -- LaMont Jones Sat, 20 Apr 2002 12:07:12 -0600 + +nmap (2.54.31.BETA-1) unstable; urgency=low + + * New upstream version. Closes: #117675, #132907. + * Remove /usr/share/doc/nmap/html. Closes: #107358. + + -- LaMont Jones Wed, 20 Mar 2002 10:49:25 -0700 + +nmap (2.54.30.BETA-1) unstable; urgency=low + + * New upstream version. Closes: #115797 + + -- LaMont Jones Wed, 17 Oct 2001 12:33:45 -0600 + +nmap (2.54.28.BETA-1) unstable; urgency=low + + * New upstream version. Closes: #102920 + * Roll to current standards-version. + * Remove -g from options unless DEB_BUILD_OPTIONS includes 'debug'. + + -- LaMont Jones Sat, 28 Jul 2001 23:27:48 -0600 + +nmap (2.54.27.BETA-1) unstable; urgency=low + + * New upstream version. + + -- LaMont Jones Thu, 19 Jul 2001 19:42:36 -0600 + +nmap (2.54.25.BETA-1) unstable; urgency=low + * New upstream version. + + -- LaMont Jones Mon, 11 Jun 2001 22:26:34 -0600 + +nmap (2.54.22.BETA-2) unstable; urgency=low + * PARISC support. New config.guess, config.sub, and printf fixes + for gcc 3.0. + + -- LaMont Jones Tue, 8 May 2001 09:13:24 -0600 + +nmap (2.54.22.BETA-1) unstable; urgency=low + * New upstream beta. Closes: #90553. + * Add Build-Depends: header. + + -- LaMont Jones Wed, 21 Mar 2001 07:59:59 -0700 + +nmap (2.54-0.beta7.1) unstable; urgency=low + * New upstream version (beta). Closes: #71642. + * Correct reference to X Window System. Closes: #76076. + * Appears to fix segfault in nmapfe (unable to reproduce). + Closes: #76019. + + -- LaMont Jones Thu, 30 Nov 2000 06:57:14 -0700 + +nmap (2.53-5) unstable; urgency=low + * Fix xnmap man page. Closes: #65016 + + -- LaMont Jones Thu, 8 Jun 2000 18:50:58 -0600 + +nmap (2.53-3) unstable; urgency=low + * Link with libgtk1.2 (not libgtk1). Closes: #64705, #64709 + + -- LaMont Jones Fri, 26 May 2000 07:19:25 -0600 + +nmap (2.53-2) unstable; urgency=low + * Fix xnmap man page. Closes: #64689. + + -- LaMont Jones Thu, 25 May 2000 21:01:53 -0600 + +nmap (2.53-1) unstable; urgency=low + * New upstream beta release, closes: #61350, #59955, #61043, #60588, #63709 + * man pages for xnmap and nmapfe, closes: #62858 + * 2.12-5 didn't make it into frozen. closes: #59955 + * switch from dh_dhelp to doc-base; makefile cleanup + + -- LaMont Jones Thu, 25 May 2000 09:15:49 -0600 + +nmap (2.3BETA14-0) unstable; urgency=low + * New upstream beta release, closes: #60344 + + -- LaMont Jones Wed, 15 Mar 2000 11:27:13 -0600 + +nmap (2.12-5) frozen; urgency=low + * Don't deliver man pages into /usr/man. Closes: #59955 + + -- LaMont Jones Wed, 15 Mar 2000 09:21:38 -0600 + +nmap (2.12-4) frozen; urgency=low + * New nmap-os-fingerprints and nmap-services files. Closes #54143. + + -- LaMont Jones Sun, 20 Feb 2000 12:23:50 -0600 + +nmap (2.12-3) unstable; urgency=low + * bad configure command for libpcap-possiblymodified (Bug#38739) + + -- LaMont Jones Sat, 24 Jul 1999 09:21:04 -0600 + +nmap (2.12-2) unstable; urgency=low + * Add dhelp support: fixes 31162 + + -- LaMont Jones Wed, 12 May 1999 17:15:23 -0600 + +nmap (2.12-1) unstable; urgency=low + + * new maintainer, many thanks to Bdale for packaging the previous versions. + * new upstream version, corrects 34039. + * Correct copyright file (closes 35848). + + -- LaMont Jones Mon, 26 Apr 1999 20:59:57 -0600 + +nmap (2.02-1) unstable; urgency=low + + * new upstream version + * merge README.debian into copyright file, update to reflect current source + location + + -- Bdale Garbee Thu, 7 Jan 1999 00:19:31 -0700 + +nmap (1.51-2) unstable; urgency=low + + * fixed file overlap created by new upstream source, closes 25347 + + -- Bdale Garbee Mon, 3 Aug 1998 22:22:24 -0600 + +nmap (1.51-1) unstable; urgency=low + + * new upstream version + + -- Bdale Garbee Sat, 1 Aug 1998 22:49:04 -0600 + +nmap (1.49-1) frozen unstable; urgency=low + + * new upstream source, includes fix that closes 17115 + * use existing libpcap shared lib instead of static linking a local copy + * fix dependency specification + + -- Bdale Garbee Fri, 10 Apr 1998 01:28:36 -0600 + +nmap (1.36-1) frozen unstable; urgency=low + + * new upstream source, mostly bug fixes and cleanups + * fix typos in control file, closes 18950 + + -- Bdale Garbee Tue, 31 Mar 1998 23:09:19 -0700 + +nmap (1.30-1) unstable; urgency=low + + * initial release + + -- Bdale Garbee Tue, 16 Dec 1997 00:40:01 -0700 + +Local variables: +mode: debian-changelog +End: --- nmap-4.68.orig/debian/copyright +++ nmap-4.68/debian/copyright @@ -0,0 +1,214 @@ +This is the Debian GNU/Linux package of NMAP -- The Network Mapper, +by Fyodor . Please see http://nmap.org/. + +This package was crafted by LaMont Jones using: + + http://nmap.org/ + +NMAP is copyright 1997-2003 by Fyodor and others, +and distributed under the terms of the GNU General Public License, Version 2. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The actual Nmap license (minus the copy of GPL-2 mentioned above): + + The main Nmap code is covered under the Nmap license, which is the GPL + with a few clarifications/exceptions. A copy of that can be found at + http://insecure.org/nmap/data/COPYING . + + The Nmap Security Scanner also uses 3rd party open source libraries + for various functions. Some or all of these may be necessary or + desirable to distribute Nmap. All use BSD-style licenses. If they + are included, their license must be followed. This document briefly + describes how and when each library is used, and details the license + terms. The six libraries are the the LibPcap raw packet capture + library, WinPcap Windows Packet Capture Library, Libdnet raw + networking library, LibPCRE perl-compatable regular expression + library, Lua programming language, and the OpenSSL SSL encryption + library. + + ==LibPcap Raw Packet Capture Library== + + LibPcap is used by Nmap on UNIX for raw packet reading during host + discovery, port scanning, and OS detection. It is available from + http://www.tcpdump.org. It is bundled with the Nmap Security Scanner + in the libpcap-possiblymodified subdirectory. The BSD-style license + for version 0.8.3 follows: + + License: BSD + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + ==WinPcap Windows Packet Library== + + WinPcap is used by Nmap on Windows for raw packet reading during host + discovery, port scanning, and OS detection. It is available from + http://winpcap.polito.it/. It is a derivative of LibPcap, so that + license (above) must be followed as well. The BSD-style license terms + for WinPcap 3.1 follow: + + Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy). + Copyright (c) 2005 CACE Technologies, Davis (California). + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. Neither the name of the Politecnico di Torino, CACE Technologies + nor the names of its contributors may be used to endorse or + promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + This product includes software developed by the University of + California, Lawrence Berkeley Laboratory and its contributors. + + ==Libdnet raw networking library== + + Libdnet (http://libdnet.sourceforge.net/) is bundled with Nmap and is + required on all platforms for low-level tasks such as sending raw + Ethernet frames. Version 1.10 is distributed under the following + BSD-style license: + + Copyright (c) 2000-2004 Dug Song + All rights reserved, all wrongs reversed. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The names of the authors and copyright holders may not be used to + endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + ==LibPCRE Perl-compatable Regular Expression Library== + + LibPCRE is used as part of Nmap version detection. It is licensed + under a BSD license. It is bundled with Nmap in the libpcre + subdirectory. The license terms for LibPCRE 7.0 follows: + + Written by: Philip Hazel + Copyright (c) 1997-2005 University of Cambridge + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of the University of Cambridge nor the name of + Google Inc. nor the names of their contributors may be used to + endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ==Lua programming language== + + The LUA programming language may optionally be embedded into Nmap as + part of the Nmap Scripting Engine functionality. LUA will not be + included if the –without-liblua configuration option is given. If Lua + is included, Nmap also includes some LUA modules which also fall under + the free LUA license. The LUA license is as follows: + + Copyright 1994-2007 Lua.org, PUC-Rio. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ==OpenSSL SSL encryption library== + + OpenSSL can optionally be used by Nmap Service Detection to + communicate with SSL-enabled protocols such as https, pop3-s, imaps, + etc. Its BSD-style license is too long to include here, but available + from http://www.openssl.org/ . OpenSSL is not bundled with Nmap. --- nmap-4.68.orig/debian/zenmap.postinst +++ nmap-4.68/debian/zenmap.postinst @@ -0,0 +1,21 @@ +#!/bin/sh -e + +# Debian nmapfe postinst +# LaMont Jones + +#DEBHELPER# + +case "$1" in + configure) + # see below + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac --- nmap-4.68.orig/debian/nmap.files +++ nmap-4.68/debian/nmap.files @@ -0,0 +1,58 @@ +usr/bin/nmap +usr/share/man/man1/nmap.1 +usr/share/nmap/nmap.xsl +usr/share/nmap/nmap.dtd +usr/share/nmap/nmap-services +usr/share/nmap/nmap-rpc +usr/share/nmap/nmap-os-db +usr/share/nmap/nmap-service-probes +usr/share/nmap/nmap-protocols +usr/share/nmap/nmap-mac-prefixes +usr/share/nmap/scripts/HTTPtrace.nse +usr/share/nmap/scripts/showSSHVersion.nse +usr/share/nmap/scripts/xamppDefaultPass.nse +usr/share/nmap/scripts/ftpbounce.nse +usr/share/nmap/scripts/daytimeTest.nse +usr/share/nmap/scripts/SNMPsysdesr.nse +usr/share/nmap/scripts/HTTPAuth.nse +usr/share/nmap/scripts/showHTTPVersion.nse +usr/share/nmap/scripts/PPTPversion.nse +usr/share/nmap/scripts/skype_v2-version.nse +usr/share/nmap/scripts/ircServerInfo.nse +usr/share/nmap/scripts/nbstat.nse +usr/share/nmap/scripts/finger.nse +usr/share/nmap/scripts/MSSQLm.nse +usr/share/nmap/scripts/netbios-smb-os-discovery.nse +usr/share/nmap/scripts/robots.nse +usr/share/nmap/scripts/script.db +usr/share/nmap/scripts/HTTP_open_proxy.nse +usr/share/nmap/scripts/showHTMLTitle.nse +usr/share/nmap/scripts/bruteTelnet.nse +usr/share/nmap/scripts/SSLv2-support.nse +usr/share/nmap/scripts/promiscuous.nse +usr/share/nmap/scripts/SMTP_openrelay_test.nse +usr/share/nmap/scripts/ripeQuery.nse +usr/share/nmap/scripts/chargenTest.nse +usr/share/nmap/scripts/strangeSMTPport.nse +usr/share/nmap/scripts/dns-test-open-recursion.nse +usr/share/nmap/scripts/HTTPpasswd.nse +usr/share/nmap/scripts/RealVNC_auth_bypass.nse +usr/share/nmap/scripts/ircZombieTest.nse +usr/share/nmap/scripts/SSHv1-support.nse +usr/share/nmap/scripts/zoneTrans.nse +usr/share/nmap/scripts/SMTPcommands.nse +usr/share/nmap/scripts/showOwner.nse +usr/share/nmap/scripts/SQLInject.nse +usr/share/nmap/scripts/anonFTP.nse +usr/share/nmap/scripts/iax2Detect.nse +usr/share/nmap/scripts/echoTest.nse +usr/share/nmap/scripts/showSMTPVersion.nse +usr/share/nmap/nselib/shortport.lua +usr/share/nmap/nselib/ipOps.lua +usr/share/nmap/nselib/match.lua +usr/share/nmap/nselib/packet.lua +usr/share/nmap/nselib/url.lua +usr/share/nmap/nselib/listop.lua +usr/share/nmap/nselib/strbuf.lua +usr/share/nmap/nselib/stdnse.lua +usr/lib/nmap/nselib-bin/bit.so --- nmap-4.68.orig/debian/rules +++ nmap-4.68/debian/rules @@ -0,0 +1,116 @@ +#!/usr/bin/make -f +# Debian rules file for nmap, requires the debhelper package. +# Crafted by Bdale Garbee, bdale@gag.com, 8 December 1997. +# Modified and maintained by LaMont Jones, lamont@debian.org. + +CFLAGS=-O2 -Wall -D_GNU_SOURCE +CXXFLAGS=-O2 -Wall -D_GNU_SOURCE + +PYVERS:=$(shell pyversions -r) + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +CFLAGS += -g +CXXFLAGS += -g +endif +ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +STRIP=y +endif + +CONFIGURE_FLAGS=--prefix=/usr \ + --mandir='$${prefix}/share/man' \ + --enable-ipv6 \ + --libexec='$${prefix}/lib' \ + --with-liblua + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +configure: configure-stamp +configure-stamp: + dh_testdir + cd libpcap && ln -sf ../config.sub ../config.guess . + cd nbase && ln -sf ../config.sub ../config.guess . + cd nsock/src && ln -sf ../../config.sub ../../config.guess . + CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(CONFIGURE_FLAGS) + touch configure-stamp + +build: configure build-stamp +build-stamp: + make + touch build-stamp + +clean: configure + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -cd libdnet-stripped && make -i distclean + cd libdnet-stripped && rm -f config.guess config.sub *.o *.la *.lo + -cd libdnet-stripped/src && make -i distclean + cd libdnet-stripped/src && rm -f config.guess config.sub *.o *.la *.lo + -cd libpcap && make -i distclean + cd libpcap && rm -f config.guess config.sub *.o *.la *.lo + -cd nbase && make -i distclean + cd nbase && rm -f config.guess config.sub *.o *.la *.lo + -cd nsock/src && make -i distclean + cd nsock/src && rm -f config.guess config.sub *.o *.la *.lo + -make -i distclean + find zenmap -name '*.pyc' | xargs rm -f + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) prefix=`pwd`/debian/tmp/usr install + find debian/tmp/usr/lib/python* -type f | xargs sed -i "s:`pwd`/debian/tmp::g" + +# This single target is used to build all the packages, all at once, or +# one at a time. So keep in mind: any options passed to commands here will +# affect _all_ packages. Anything you want to only affect one package +# should be put in another target, such as the install target. +binary-common: + dh_testdir + dh_testroot + dh_installdirs + dh_installman + mv debian/tmp/usr/lib/python* debian/zenmap/usr/lib/ + cp debian/zenmap.desktop debian/zenmap/usr/share/applications + cp debian/zenmap-root.desktop debian/zenmap/usr/share/applications + cp debian/zenmap.xpm debian/zenmap/usr/share/pixmaps + dh_installdocs docs/*.txt + dh_installchangelogs CHANGELOG + dh_movefiles + dh_undocumented + dh_desktop + dh_pycentral + dh_python + [ -n "$(STRIP)" ] || dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + +# Build architecture independant packages using the common target. +binary-indep: build install +# (Uncomment this next line if you have such packages.) +# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +# Any other binary targets build just one binary package at a time. +binary-%: build install + make -f debian/rules binary-common DH_OPTIONS=-p$* + +binary: binary-indep binary-arch + +binary: binary-indep binary-arch +.PHONY: build clean install binary-common binary-indep binary-arch binary + --- nmap-4.68.orig/debian/nmap.dirs +++ nmap-4.68/debian/nmap.dirs @@ -0,0 +1,7 @@ +usr/bin +usr/share/man/man1 +usr/share/doc/nmap +usr/share/nmap +usr/share/nmap/nselib +usr/share/nmap/scripts +usr/lib/nmap/nselib-bin --- nmap-4.68.orig/debian/zenmap-root.desktop +++ nmap-4.68/debian/zenmap-root.desktop @@ -0,0 +1,19 @@ +[Desktop Entry] +# The format of this file is specified at +# http://freedesktop.org/Standards/desktop-entry-spec/ +# The entries are in the order they are listed in version 0.9.4 +Type=Application +Version=1.0 +Encoding=UTF-8 +Name=Zenmap (as root) +GenericName=The Network Mapper Front End +GenericName[en_GB]=The Network Mapper Front End +GenericName[it]=Interfaccia per il Network Mapper +Comment=Network Mapper frontend +Icon=zenmap.xpm +TryExec=su-to-root +Exec=su-to-root -X -c /usr/bin/zenmap +Path= +Terminal=false +MimeType= +Categories=GNOME;Application;Network; --- nmap-4.68.orig/debian/postinst +++ nmap-4.68/debian/postinst @@ -0,0 +1,21 @@ +#!/bin/sh -e + +# Debian nmap postinst +# LaMont Jones + +#DEBHELPER# + +case "$1" in + configure) + # see below + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac --- nmap-4.68.orig/debian/zenmap.dirs +++ nmap-4.68/debian/zenmap.dirs @@ -0,0 +1,5 @@ +usr/bin +usr/lib +usr/share/man/man1 +usr/share/applications +usr/share/pixmaps --- nmap-4.68.orig/debian/zenmap.prerm +++ nmap-4.68/debian/zenmap.prerm @@ -0,0 +1,19 @@ +#!/bin/sh -e + +# Debian nmapfe prerm +# LaMont Jones + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac +#DEBHELPER# +exit 0 --- nmap-4.68.orig/debian/zenmap.desktop +++ nmap-4.68/debian/zenmap.desktop @@ -0,0 +1,19 @@ +[Desktop Entry] +# The format of this file is specified at +# http://freedesktop.org/Standards/desktop-entry-spec/ +# The entries are in the order they are listed in version 0.9.4 +Type=Application +Version=1.0 +Encoding=UTF-8 +Name=Zenmap +GenericName=The Network Mapper Front End +GenericName[en_GB]=The Network Mapper Front End +GenericName[it]=Interfaccia per il Network Mapper +Comment=Network Mapper frontend +Icon=zenmap.xpm +TryExec=zenmap +Exec=zenmap +Path= +Terminal=false +MimeType= +Categories=GNOME;Application;Network; --- nmap-4.68.orig/debian/control +++ nmap-4.68/debian/control @@ -0,0 +1,37 @@ +Source: nmap +Section: net +Priority: extra +Maintainer: LaMont Jones +Build-Depends: debhelper (>=5), libgtk2.0-dev, autoconf, flex, bison, libssl-dev, libpcap0.8-dev, libpcre3-dev, binutils-dev, python (>=2.3.5-7), python-all-dev, python-central, liblua5.1-dev +Standards-Version: 3.7.2.2 +XS-Python-Version: all +XS-Vcs-Browser: http://git.debian.org/?p=users/lamont/nmap.git +XS-Vcs-Git: git://git.debian.org/~lamont/nmap.git + +Package: nmap +Architecture: any +Depends: ${shlibs:Depends} +XB-Python-Version: ${python:Versions} +Description: The Network Mapper + Nmap is a utility for network exploration or security auditing. It + supports ping scanning (determine which hosts are up), many port + scanning techniques, version detection (determine service protocols + and application versions listening behind ports), and TCP/IP + fingerprinting (remote host OS or device identification). Nmap also + offers flexible target and port specification, decoy/stealth scanning, + sunRPC scanning, and more. Most Unix and Windows platforms are + supported in both GUI and commandline modes. Several popular handheld + devices are also supported, including the Sharp Zaurus and the iPAQ. + +Package: zenmap +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, nmap, python (>= 2.5) | python-pysqlite2, python-gtk2, python-gobject +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides}, nmapfe +Conflicts: nmapfe +Replaces: nmapfe +Recommends: gksu +Description: The Network Mapper Front End + Zenmap is an Nmap frontend. It is meant to be useful for advanced users + and to make Nmap easy to use by beginners. It was originally derived + from Umit, an Nmap GUI created as part of the Google Summer of Code. --- nmap-4.68.orig/debian/zenmap.files +++ nmap-4.68/debian/zenmap.files @@ -0,0 +1,19 @@ +usr/bin/xnmap +usr/bin/nmapfe +usr/bin/zenmap +usr/share/zenmap/misc +usr/share/zenmap/misc/os_db.dmp +usr/share/zenmap/misc/profile_editor.xml +usr/share/zenmap/misc/services.dmp +usr/share/zenmap/misc/wizard.xml +usr/share/zenmap/misc/options.xml +usr/share/zenmap/config +usr/share/zenmap/config/zenmap_version +usr/share/zenmap/config/scan_profile.usp +usr/share/zenmap/config/zenmap.conf +usr/share/zenmap/docs +usr/share/zenmap/docs/help.html +usr/share/zenmap/locale +usr/share/zenmap/locale/pt_BR +usr/share/zenmap/locale/pt_BR/LC_MESSAGES +usr/share/zenmap/locale/pt_BR/LC_MESSAGES/umit.mo --- nmap-4.68.orig/debian/zenmap.manpages +++ nmap-4.68/debian/zenmap.manpages @@ -0,0 +1 @@ +docs/zenmap.1 --- nmap-4.68.orig/debian/compat +++ nmap-4.68/debian/compat @@ -0,0 +1 @@ +5 --- nmap-4.68.orig/LICENSE +++ nmap-4.68/LICENSE @@ -0,0 +1,199 @@ +The main Nmap code is covered under the Nmap license, which is the GPL +with a few clarifications/exceptions. A copy of that can be found at +http://insecure.org/nmap/data/COPYING . + +The Nmap Security Scanner also uses 3rd party open source libraries +for various functions. Some or all of these may be necessary or +desirable to distribute Nmap. All use BSD-style licenses. If they +are included, their license must be followed. This document briefly +describes how and when each library is used, and details the license +terms. The six libraries are the the LibPcap raw packet capture +library, WinPcap Windows Packet Capture Library, Libdnet raw +networking library, LibPCRE perl-compatable regular expression +library, Lua programming language, and the OpenSSL SSL encryption +library. + +==LibPcap Raw Packet Capture Library== + +LibPcap is used by Nmap on UNIX for raw packet reading during host +discovery, port scanning, and OS detection. It is available from +http://www.tcpdump.org. It is bundled with the Nmap Security Scanner +in the libpcap-possiblymodified subdirectory. The BSD-style license +for version 0.8.3 follows: + +License: BSD + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +==WinPcap Windows Packet Library== + +WinPcap is used by Nmap on Windows for raw packet reading during host +discovery, port scanning, and OS detection. It is available from +http://winpcap.polito.it/. It is a derivative of LibPcap, so that +license (above) must be followed as well. The BSD-style license terms +for WinPcap 3.1 follow: + +Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy). +Copyright (c) 2005 CACE Technologies, Davis (California). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + 3. Neither the name of the Politecnico di Torino, CACE Technologies + nor the names of its contributors may be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +This product includes software developed by the University of +California, Lawrence Berkeley Laboratory and its contributors. + +==Libdnet raw networking library== + +Libdnet (http://libdnet.sourceforge.net/) is bundled with Nmap and is +required on all platforms for low-level tasks such as sending raw +Ethernet frames. Version 1.10 is distributed under the following +BSD-style license: + + Copyright (c) 2000-2004 Dug Song + All rights reserved, all wrongs reversed. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The names of the authors and copyright holders may not be used to + endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + +==LibPCRE Perl-compatable Regular Expression Library== + +LibPCRE is used as part of Nmap version detection. It is licensed +under a BSD license. It is bundled with Nmap in the libpcre +subdirectory. The license terms for LibPCRE 7.0 follows: + +Written by: Philip Hazel +Copyright (c) 1997-2005 University of Cambridge +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * Neither the name of the University of Cambridge nor the name of + Google Inc. nor the names of their contributors may be used to + endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +==Lua programming language== + +The LUA programming language may optionally be embedded into Nmap as +part of the Nmap Scripting Engine functionality. LUA will not be +included if the –without-liblua configuration option is given. If Lua +is included, Nmap also includes some LUA modules which also fall under +the free LUA license. The LUA license is as follows: + +Copyright 1994-2007 Lua.org, PUC-Rio. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==OpenSSL SSL encryption library== + +OpenSSL can optionally be used by Nmap Service Detection to +communicate with SSL-enabled protocols such as https, pop3-s, imaps, +etc. Its BSD-style license is too long to include here, but available +from http://www.openssl.org/ . OpenSSL is not bundled with Nmap.