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