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