[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 " ">
|
---|
[ddea44e] | 10 | <!ENTITY nmap-md5sum "435c7e095bdd4565e0f69c41743a45be">
|
---|
| 11 | <!ENTITY nmap-size "8.9 MB">
|
---|
| 12 | <!ENTITY nmap-buildsize "100 MB (add 21 MB for tests)">
|
---|
| 13 | <!ENTITY nmap-time "0.8 SBU (add 0.1 SBU for 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 |
|
---|
[2ec47f0] | 37 | &lfs80_checked;
|
---|
[ddea44e] | 38 | &gcc7_checked;
|
---|
[17262820] | 39 |
|
---|
[c7ac14c] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&nmap-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&nmap-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &nmap-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &nmap-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &nmap-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &nmap-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
[50b8d8b] | 61 |
|
---|
[c7ac14c] | 62 | <bridgehead renderas="sect3">Nmap Dependencies</bridgehead>
|
---|
[50b8d8b] | 63 |
|
---|
[7b23c863] | 64 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 65 | <note>
|
---|
| 66 | <para>
|
---|
| 67 | These packages are recommended because if they're not installed, the
|
---|
| 68 | build process will compile and link against its own (often older)
|
---|
| 69 | version.
|
---|
| 70 | </para>
|
---|
| 71 | </note>
|
---|
| 72 |
|
---|
| 73 | <para role="recommended">
|
---|
| 74 | <xref linkend="libpcap"/>,
|
---|
[f63a620] | 75 | <!-- <xref linkend="lua"/>, broken with lua-5.3.0-->
|
---|
[646a42e] | 76 | <xref linkend="pcre"/> and
|
---|
[d2bd92f] | 77 | <xref linkend="liblinear"/>
|
---|
[7b23c863] | 78 | <!-- This is not recommended, see: http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
|
---|
[c1a0390] | 79 | <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
|
---|
[7b23c863] | 80 | -->
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
[c7ac14c] | 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7b23c863] | 84 | <para role="optional">
|
---|
| 85 | <xref linkend="openssl"/>,
|
---|
| 86 | <xref linkend="pygtk"/> (required for <command>zenmap</command>),
|
---|
| 87 | <xref linkend="python2"/> (required for <command>ndiff</command>) and
|
---|
| 88 | <xref linkend="subversion"/> (required for <command>nmap-update</command>)
|
---|
| 89 | </para>
|
---|
[50b8d8b] | 90 |
|
---|
[061ec9d] | 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/nmap"/></para>
|
---|
| 93 |
|
---|
[c7ac14c] | 94 | </sect2>
|
---|
[50b8d8b] | 95 |
|
---|
[c7ac14c] | 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of Nmap</title>
|
---|
| 98 |
|
---|
[1065a91] | 99 | <para>Install <application>Nmap</application> by running the following
|
---|
[c7ac14c] | 100 | commands:</para>
|
---|
| 101 |
|
---|
[646a42e] | 102 | <screen><userinput>./configure --prefix=/usr --with-liblua=included &&
|
---|
[b1478b35] | 103 | make</userinput></screen>
|
---|
[50b8d8b] | 104 |
|
---|
[274c547] | 105 | <para>If you wish to run the test suite, run the following command:</para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>sed -i 's/lib./lib/' zenmap/test/run_tests.py</userinput></screen>
|
---|
| 108 |
|
---|
[36680d1] | 109 | <para>To test the results, issue: <command>make check</command> as the
|
---|
[142f958b] | 110 | <systemitem class="username">root</systemitem> user. Tests need a
|
---|
[36680d1] | 111 | graphical session.</para>
|
---|
[dc913a5a] | 112 |
|
---|
[c7ac14c] | 113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[50b8d8b] | 114 |
|
---|
[c7ac14c] | 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[50b8d8b] | 116 |
|
---|
[c7ac14c] | 117 | </sect2>
|
---|
[50b8d8b] | 118 |
|
---|
[646a42e] | 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
[f63a620] | 122 | <para><parameter>--with-liblua=included</parameter>: This switch is
|
---|
| 123 | required to fix compilation with <application>lua</application> 5.3.</para>
|
---|
[646a42e] | 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
[c7ac14c] | 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
| 131 | <segtitle>Installed Programs</segtitle>
|
---|
| 132 | <segtitle>Installed Libraries</segtitle>
|
---|
[7b23c863] | 133 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 134 |
|
---|
[c7ac14c] | 135 | <seglistitem>
|
---|
[bdf1c03c] | 136 | <seg>
|
---|
[b1478b35] | 137 | ncat, ndiff, nmap, nmapfe, nmap-update, nping, uninstall_ndiff,
|
---|
| 138 | uninstall_zenmap, xnmap and zenmap
|
---|
[bdf1c03c] | 139 | </seg>
|
---|
[142f958b] | 140 | <!-- <seg>/usr/lib/python&python2-version;/site-packages/</seg>-->
|
---|
[bdf1c03c] | 141 | <seg>
|
---|
| 142 | None
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
| 145 | /usr/lib/python&python2-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI},
|
---|
[b1478b35] | 146 | and /usr/share/{ncat,nmap,zenmap}
|
---|
[bdf1c03c] | 147 | </seg>
|
---|
[c7ac14c] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
[50b8d8b] | 150 |
|
---|
[c7ac14c] | 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 155 |
|
---|
[17262820] | 156 | <varlistentry id="ncat">
|
---|
| 157 | <term><command>ncat</command></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>is a utility for reading and writing data across networks from
|
---|
| 160 | the command line.</para>
|
---|
| 161 | <indexterm zone="nmap ncat">
|
---|
| 162 | <primary sortas="b-ncat">ncat</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="ndiff">
|
---|
| 168 | <term><command>ndiff</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>is a tool to aid in the comparison of Nmap scans.</para>
|
---|
| 171 | <indexterm zone="nmap ndiff">
|
---|
| 172 | <primary sortas="b-ndiff">ndiff</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
[c7ac14c] | 177 | <varlistentry id="nmap-prog">
|
---|
| 178 | <term><command>nmap</command></term>
|
---|
| 179 | <listitem>
|
---|
[1065a91] | 180 | <para>is a utility for network exploration and security auditing. It
|
---|
[17262820] | 181 | supports ping scanning, port scanning and TCP/IP
|
---|
| 182 | fingerprinting.</para>
|
---|
[c7ac14c] | 183 | <indexterm zone="nmap nmap-prog">
|
---|
| 184 | <primary sortas="b-nmap">nmap</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
[50b8d8b] | 188 |
|
---|
[c7ac14c] | 189 | <varlistentry id="nmapfe">
|
---|
| 190 | <term><command>nmapfe</command></term>
|
---|
| 191 | <listitem>
|
---|
[7b23c863] | 192 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
[c7ac14c] | 193 | <indexterm zone="nmap nmapfe">
|
---|
| 194 | <primary sortas="b-nmapfe">nmapfe</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
[50b8d8b] | 198 |
|
---|
[7b23c863] | 199 | <varlistentry id="nmap-update">
|
---|
| 200 | <term><command>nmap-update</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>is an updater for Nmap architecture-independent files.</para>
|
---|
| 203 | <indexterm zone="nmap nmap-update">
|
---|
| 204 | <primary sortas="b-nmap-update">nmap-update</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
[6d772cc] | 209 | <varlistentry id="nping">
|
---|
| 210 | <term><command>nping</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>
|
---|
| 213 | is an open-source tool for network packet generation, response
|
---|
| 214 | analysis and response time measurement.
|
---|
| 215 | </para>
|
---|
| 216 | <indexterm zone="nmap nping">
|
---|
| 217 | <primary sortas="b-nping">nping</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
[b1478b35] | 222 | <varlistentry id="uninstall_ndiff">
|
---|
| 223 | <term><command>uninstall_ndiff</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>
|
---|
| 226 | is a Python script to uninstall <command>ndiff</command>.
|
---|
| 227 | </para>
|
---|
| 228 | <indexterm zone="nmap uninstall_ndiff">
|
---|
| 229 | <primary sortas="b-uninstall_ndiff">uninstall_ndiff</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
[6d772cc] | 234 | <varlistentry id="uninstall_zenmap">
|
---|
| 235 | <term><command>uninstall_zenmap</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>
|
---|
| 238 | is a Python script to uninstall <command>zenmap</command>.
|
---|
| 239 | </para>
|
---|
| 240 | <indexterm zone="nmap uninstall_zenmap">
|
---|
| 241 | <primary sortas="b-uninstall_zenmap">uninstall_zenmap</primary>
|
---|
| 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
[25d08990] | 246 | <varlistentry id="xnmap">
|
---|
| 247 | <term><command>xnmap</command></term>
|
---|
| 248 | <listitem>
|
---|
[7b23c863] | 249 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
[25d08990] | 250 | <indexterm zone="nmap xnmap">
|
---|
| 251 | <primary sortas="f-xnmap">xnmap</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
[17262820] | 256 | <varlistentry id="zenmap">
|
---|
| 257 | <term><command>zenmap</command></term>
|
---|
| 258 | <listitem>
|
---|
[cc90af1] | 259 | <para>is a Python based graphical nmap frontend viewer.</para>
|
---|
[17262820] | 260 | <indexterm zone="nmap zenmap">
|
---|
| 261 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
[c7ac14c] | 266 | </variablelist>
|
---|
| 267 |
|
---|
| 268 | </sect2>
|
---|
[f45b1953] | 269 |
|
---|
| 270 | </sect1>
|
---|