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