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