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