[3bba7e2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3bba7e2] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[7b23c863] | 7 | <!ENTITY nmap-download-http "http://nmap.org/dist/nmap-&nmap-version;.tar.bz2">
|
---|
[142f958b] | 8 | <!-- <!ENTITY nmap-download-ftp "&gentoo-ftp-repo;/nmap-&nmap-version;.tar.bz2">-->
|
---|
| 9 | <!ENTITY nmap-download-ftp " ">
|
---|
[274c547] | 10 | <!ENTITY nmap-md5sum "edfe81f6763223c0a29bfa15a8526e2a">
|
---|
| 11 | <!ENTITY nmap-size "7.5 MB">
|
---|
| 12 | <!ENTITY nmap-buildsize "133 MB (additional 1 MB for the tests)">
|
---|
| 13 | <!ENTITY nmap-time "1.3 SBU (additional 0.1 SBU for the tests)">
|
---|
[3bba7e2] | 14 | ]>
|
---|
| 15 |
|
---|
[58bd309a] | 16 | <sect1 id="nmap" xreflabel="Nmap-&nmap-version;">
|
---|
[c7ac14c] | 17 | <?dbhtml filename="nmap.html"?>
|
---|
[50b8d8b] | 18 |
|
---|
[c7ac14c] | 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
[50b8d8b] | 23 |
|
---|
[c7ac14c] | 24 | <title>Nmap-&nmap-version;</title>
|
---|
[50b8d8b] | 25 |
|
---|
[c7ac14c] | 26 | <indexterm zone="nmap">
|
---|
| 27 | <primary sortas="a-Nmap">Nmap</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Nmap</title>
|
---|
[50b8d8b] | 32 |
|
---|
[25d08990] | 33 | <para><application>Nmap</application> is a utility for network exploration
|
---|
| 34 | and security auditing. It supports ping scanning, port scanning and
|
---|
[c7ac14c] | 35 | TCP/IP fingerprinting.</para>
|
---|
[50b8d8b] | 36 |
|
---|
[e750716] | 37 | &lfs76_checked;
|
---|
[17262820] | 38 |
|
---|
[c7ac14c] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&nmap-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&nmap-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &nmap-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &nmap-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &nmap-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &nmap-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[50b8d8b] | 60 |
|
---|
[c7ac14c] | 61 | <bridgehead renderas="sect3">Nmap Dependencies</bridgehead>
|
---|
[50b8d8b] | 62 |
|
---|
[7b23c863] | 63 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 64 | <note>
|
---|
| 65 | <para>
|
---|
| 66 | These packages are recommended because if they're not installed, the
|
---|
| 67 | build process will compile and link against its own (often older)
|
---|
| 68 | version.
|
---|
| 69 | </para>
|
---|
| 70 | </note>
|
---|
| 71 |
|
---|
| 72 | <para role="recommended">
|
---|
| 73 | <xref linkend="libpcap"/>,
|
---|
[d2bd92f] | 74 | <xref linkend="lua"/>,
|
---|
| 75 | <xref linkend="pcre"/>, and
|
---|
| 76 | <xref linkend="liblinear"/>
|
---|
[7b23c863] | 77 | <!-- This is not recommended, see: http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
|
---|
[c1a0390] | 78 | <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
|
---|
[7b23c863] | 79 | -->
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
[c7ac14c] | 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7b23c863] | 83 | <para role="optional">
|
---|
| 84 | <xref linkend="openssl"/>,
|
---|
| 85 | <xref linkend="pygtk"/> (required for <command>zenmap</command>),
|
---|
| 86 | <xref linkend="python2"/> (required for <command>ndiff</command>) and
|
---|
| 87 | <xref linkend="subversion"/> (required for <command>nmap-update</command>)
|
---|
| 88 | </para>
|
---|
[50b8d8b] | 89 |
|
---|
[061ec9d] | 90 | <para condition="html" role="usernotes">User Notes:
|
---|
| 91 | <ulink url="&blfs-wiki;/nmap"/></para>
|
---|
| 92 |
|
---|
[c7ac14c] | 93 | </sect2>
|
---|
[50b8d8b] | 94 |
|
---|
[c7ac14c] | 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of Nmap</title>
|
---|
| 97 |
|
---|
[d2bd92f] | 98 | <note>
|
---|
| 99 | <para>
|
---|
| 100 | This package does not support parallel build.
|
---|
| 101 | </para>
|
---|
| 102 | </note>
|
---|
| 103 |
|
---|
[1065a91] | 104 | <para>Install <application>Nmap</application> by running the following
|
---|
[c7ac14c] | 105 | commands:</para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[014d750f] | 108 | make -j1</userinput></screen>
|
---|
[50b8d8b] | 109 |
|
---|
[274c547] | 110 | <para>If you wish to run the test suite, run the following command:</para>
|
---|
| 111 |
|
---|
| 112 | <screen><userinput>sed -i 's/lib./lib/' zenmap/test/run_tests.py</userinput></screen>
|
---|
| 113 |
|
---|
[36680d1] | 114 | <para>To test the results, issue: <command>make check</command> as the
|
---|
[142f958b] | 115 | <systemitem class="username">root</systemitem> user. Tests need a
|
---|
[36680d1] | 116 | graphical session.</para>
|
---|
[dc913a5a] | 117 |
|
---|
[c7ac14c] | 118 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[50b8d8b] | 119 |
|
---|
[c7ac14c] | 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[50b8d8b] | 121 |
|
---|
[c7ac14c] | 122 | </sect2>
|
---|
[50b8d8b] | 123 |
|
---|
[c7ac14c] | 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Programs</segtitle>
|
---|
| 129 | <segtitle>Installed Libraries</segtitle>
|
---|
[7b23c863] | 130 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 131 |
|
---|
[c7ac14c] | 132 | <seglistitem>
|
---|
[bdf1c03c] | 133 | <seg>
|
---|
| 134 | ncat, ndiff, nmap, nmapfe, nmap-update, nping, uninstall_zenmap,
|
---|
| 135 | xnmap and zenmap
|
---|
| 136 | </seg>
|
---|
[142f958b] | 137 | <!-- <seg>/usr/lib/python&python2-version;/site-packages/</seg>-->
|
---|
[bdf1c03c] | 138 | <seg>
|
---|
| 139 | None
|
---|
| 140 | </seg>
|
---|
| 141 | <seg>
|
---|
| 142 | /usr/lib/python&python2-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI},
|
---|
| 143 | /usr/share/ncat, /usr/share/nmap and /usr/share/zenmap
|
---|
| 144 | </seg>
|
---|
[c7ac14c] | 145 | </seglistitem>
|
---|
| 146 | </segmentedlist>
|
---|
[50b8d8b] | 147 |
|
---|
[c7ac14c] | 148 | <variablelist>
|
---|
| 149 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 150 | <?dbfo list-presentation="list"?>
|
---|
| 151 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 152 |
|
---|
[17262820] | 153 | <varlistentry id="ncat">
|
---|
| 154 | <term><command>ncat</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>is a utility for reading and writing data across networks from
|
---|
| 157 | the command line.</para>
|
---|
| 158 | <indexterm zone="nmap ncat">
|
---|
| 159 | <primary sortas="b-ncat">ncat</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="ndiff">
|
---|
| 165 | <term><command>ndiff</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>is a tool to aid in the comparison of Nmap scans.</para>
|
---|
| 168 | <indexterm zone="nmap ndiff">
|
---|
| 169 | <primary sortas="b-ndiff">ndiff</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
[c7ac14c] | 174 | <varlistentry id="nmap-prog">
|
---|
| 175 | <term><command>nmap</command></term>
|
---|
| 176 | <listitem>
|
---|
[1065a91] | 177 | <para>is a utility for network exploration and security auditing. It
|
---|
[17262820] | 178 | supports ping scanning, port scanning and TCP/IP
|
---|
| 179 | fingerprinting.</para>
|
---|
[c7ac14c] | 180 | <indexterm zone="nmap nmap-prog">
|
---|
| 181 | <primary sortas="b-nmap">nmap</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
[50b8d8b] | 185 |
|
---|
[c7ac14c] | 186 | <varlistentry id="nmapfe">
|
---|
| 187 | <term><command>nmapfe</command></term>
|
---|
| 188 | <listitem>
|
---|
[7b23c863] | 189 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
[c7ac14c] | 190 | <indexterm zone="nmap nmapfe">
|
---|
| 191 | <primary sortas="b-nmapfe">nmapfe</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
[50b8d8b] | 195 |
|
---|
[7b23c863] | 196 | <varlistentry id="nmap-update">
|
---|
| 197 | <term><command>nmap-update</command></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>is an updater for Nmap architecture-independent files.</para>
|
---|
| 200 | <indexterm zone="nmap nmap-update">
|
---|
| 201 | <primary sortas="b-nmap-update">nmap-update</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
[25d08990] | 206 | <varlistentry id="xnmap">
|
---|
| 207 | <term><command>xnmap</command></term>
|
---|
| 208 | <listitem>
|
---|
[7b23c863] | 209 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
[25d08990] | 210 | <indexterm zone="nmap xnmap">
|
---|
| 211 | <primary sortas="f-xnmap">xnmap</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
[17262820] | 216 | <varlistentry id="zenmap">
|
---|
| 217 | <term><command>zenmap</command></term>
|
---|
| 218 | <listitem>
|
---|
[cc90af1] | 219 | <para>is a Python based graphical nmap frontend viewer.</para>
|
---|
[17262820] | 220 | <indexterm zone="nmap zenmap">
|
---|
| 221 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
[c7ac14c] | 226 | </variablelist>
|
---|
| 227 |
|
---|
| 228 | </sect2>
|
---|
[f45b1953] | 229 |
|
---|
| 230 | </sect1>
|
---|