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