[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 " ">
|
---|
[7a8976d] | 9 | <!ENTITY nmap-md5sum "239cef725863ab454590a1bb8793b72b">
|
---|
[136fbca] | 10 | <!ENTITY nmap-size "10 MB">
|
---|
[7a8976d] | 11 | <!ENTITY nmap-buildsize "148 MB (add 24 MB for tests)">
|
---|
| 12 | <!ENTITY nmap-time "0.3 SBU (Using parallelism=4; add 0.2 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>),
|
---|
[8dcedec0] | 99 | <xref linkend="python2"/> (required for <command>ndiff</command>), and
|
---|
[8d6b074] | 100 | <xref linkend="libssh2"/>
|
---|
[7b23c863] | 101 | </para>
|
---|
[50b8d8b] | 102 |
|
---|
[061ec9d] | 103 | <para condition="html" role="usernotes">User Notes:
|
---|
| 104 | <ulink url="&blfs-wiki;/nmap"/></para>
|
---|
| 105 |
|
---|
[c7ac14c] | 106 | </sect2>
|
---|
[50b8d8b] | 107 |
|
---|
[c7ac14c] | 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of Nmap</title>
|
---|
| 110 |
|
---|
[7c56ece] | 111 | <para>
|
---|
| 112 | Install <application>Nmap</application> by running the following
|
---|
| 113 | commands:
|
---|
| 114 | </para>
|
---|
[c7ac14c] | 115 |
|
---|
[8dcedec0] | 116 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[b1478b35] | 117 | make</userinput></screen>
|
---|
[50b8d8b] | 118 |
|
---|
[7c56ece] | 119 | <para>
|
---|
| 120 | If you wish to run the test suite, run the following command:
|
---|
| 121 | </para>
|
---|
[274c547] | 122 |
|
---|
| 123 | <screen><userinput>sed -i 's/lib./lib/' zenmap/test/run_tests.py</userinput></screen>
|
---|
| 124 |
|
---|
[7c56ece] | 125 | <para>
|
---|
| 126 | To test the results, issue: <command>make check</command> as the
|
---|
| 127 | <systemitem class="username">root</systemitem> user. Tests need a
|
---|
| 128 | graphical session.
|
---|
| 129 | </para>
|
---|
[dc913a5a] | 130 |
|
---|
[7c56ece] | 131 | <para>
|
---|
| 132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 133 | </para>
|
---|
[50b8d8b] | 134 |
|
---|
[c7ac14c] | 135 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[50b8d8b] | 136 |
|
---|
[c7ac14c] | 137 | </sect2>
|
---|
[50b8d8b] | 138 |
|
---|
[8dcedec0] | 139 | <!-- nmap-7.90: everything seems ok without this switch
|
---|
[646a42e] | 140 | <sect2 role="commands">
|
---|
| 141 | <title>Command Explanations</title>
|
---|
[7c56ece] | 142 | <para>
|
---|
[8dcedec0] | 143 | <parameter>- -with-liblua=included</parameter>: This switch is
|
---|
| 144 | required to fix compilation with <application>lua</application> 5.4.
|
---|
[7c56ece] | 145 | </para>
|
---|
[646a42e] | 146 |
|
---|
| 147 | </sect2>
|
---|
[8dcedec0] | 148 | -->
|
---|
[646a42e] | 149 |
|
---|
[c7ac14c] | 150 | <sect2 role="content">
|
---|
| 151 | <title>Contents</title>
|
---|
| 152 |
|
---|
| 153 | <segmentedlist>
|
---|
| 154 | <segtitle>Installed Programs</segtitle>
|
---|
| 155 | <segtitle>Installed Libraries</segtitle>
|
---|
[7b23c863] | 156 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 157 |
|
---|
[c7ac14c] | 158 | <seglistitem>
|
---|
[bdf1c03c] | 159 | <seg>
|
---|
[8dcedec0] | 160 | ncat, ndiff, nmap, nping, uninstall_ndiff, uninstall_zenmap,
|
---|
| 161 | zenmap, and 2 symlinks to zenmap: nmapfe and xnmap
|
---|
[bdf1c03c] | 162 | </seg>
|
---|
| 163 | <seg>
|
---|
| 164 | None
|
---|
| 165 | </seg>
|
---|
| 166 | <seg>
|
---|
| 167 | /usr/lib/python&python2-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI},
|
---|
[b1478b35] | 168 | and /usr/share/{ncat,nmap,zenmap}
|
---|
[bdf1c03c] | 169 | </seg>
|
---|
[c7ac14c] | 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
[50b8d8b] | 172 |
|
---|
[c7ac14c] | 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 177 |
|
---|
[17262820] | 178 | <varlistentry id="ncat">
|
---|
| 179 | <term><command>ncat</command></term>
|
---|
| 180 | <listitem>
|
---|
[7c56ece] | 181 | <para>
|
---|
| 182 | is a utility for reading and writing data across networks from
|
---|
| 183 | the command line.
|
---|
| 184 | </para>
|
---|
[17262820] | 185 | <indexterm zone="nmap ncat">
|
---|
| 186 | <primary sortas="b-ncat">ncat</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="ndiff">
|
---|
| 192 | <term><command>ndiff</command></term>
|
---|
| 193 | <listitem>
|
---|
[7c56ece] | 194 | <para>
|
---|
| 195 | is a tool to aid in the comparison of Nmap scans.
|
---|
| 196 | </para>
|
---|
[17262820] | 197 | <indexterm zone="nmap ndiff">
|
---|
| 198 | <primary sortas="b-ndiff">ndiff</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
[c7ac14c] | 203 | <varlistentry id="nmap-prog">
|
---|
| 204 | <term><command>nmap</command></term>
|
---|
| 205 | <listitem>
|
---|
[7c56ece] | 206 | <para>
|
---|
| 207 | is a utility for network exploration and security auditing. It
|
---|
| 208 | supports ping scanning, port scanning and TCP/IP fingerprinting.
|
---|
| 209 | </para>
|
---|
[c7ac14c] | 210 | <indexterm zone="nmap nmap-prog">
|
---|
| 211 | <primary sortas="b-nmap">nmap</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
[50b8d8b] | 215 |
|
---|
[8dcedec0] | 216 | <!-- removed in 7.90, see CHANGELOG
|
---|
[7b23c863] | 217 | <varlistentry id="nmap-update">
|
---|
| 218 | <term><command>nmap-update</command></term>
|
---|
| 219 | <listitem>
|
---|
[7c56ece] | 220 | <para>
|
---|
| 221 | is an updater for Nmap architecture-independent files.
|
---|
| 222 | </para>
|
---|
[7b23c863] | 223 | <indexterm zone="nmap nmap-update">
|
---|
| 224 | <primary sortas="b-nmap-update">nmap-update</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
[8dcedec0] | 228 | -->
|
---|
[6d772cc] | 229 | <varlistentry id="nping">
|
---|
| 230 | <term><command>nping</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>
|
---|
[7c56ece] | 233 | is an open-source tool for network packet generation, response
|
---|
| 234 | analysis and response time measurement.
|
---|
[6d772cc] | 235 | </para>
|
---|
| 236 | <indexterm zone="nmap nping">
|
---|
| 237 | <primary sortas="b-nping">nping</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
[b1478b35] | 242 | <varlistentry id="uninstall_ndiff">
|
---|
| 243 | <term><command>uninstall_ndiff</command></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>
|
---|
[7c56ece] | 246 | is a Python script to uninstall <command>ndiff</command>.
|
---|
[b1478b35] | 247 | </para>
|
---|
| 248 | <indexterm zone="nmap uninstall_ndiff">
|
---|
| 249 | <primary sortas="b-uninstall_ndiff">uninstall_ndiff</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
[6d772cc] | 254 | <varlistentry id="uninstall_zenmap">
|
---|
| 255 | <term><command>uninstall_zenmap</command></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>
|
---|
[7c56ece] | 258 | is a Python script to uninstall <command>zenmap</command>.
|
---|
[6d772cc] | 259 | </para>
|
---|
| 260 | <indexterm zone="nmap uninstall_zenmap">
|
---|
| 261 | <primary sortas="b-uninstall_zenmap">uninstall_zenmap</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
[17262820] | 266 | <varlistentry id="zenmap">
|
---|
| 267 | <term><command>zenmap</command></term>
|
---|
| 268 | <listitem>
|
---|
[7c56ece] | 269 | <para>
|
---|
| 270 | is a Python based graphical nmap frontend viewer.
|
---|
| 271 | </para>
|
---|
[17262820] | 272 | <indexterm zone="nmap zenmap">
|
---|
| 273 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
| 274 | </indexterm>
|
---|
| 275 | </listitem>
|
---|
| 276 | </varlistentry>
|
---|
| 277 |
|
---|
[c7ac14c] | 278 | </variablelist>
|
---|
| 279 |
|
---|
| 280 | </sect2>
|
---|
[f45b1953] | 281 |
|
---|
| 282 | </sect1>
|
---|