[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">
|
---|
[fb2e525] | 8 | <!ENTITY nmap-download-ftp "&gentoo-ftp-repo;/nmap-&nmap-version;.tar.bz2">
|
---|
[7b23c863] | 9 | <!ENTITY nmap-md5sum "fcc80f94ff3adcb11eedf91092ea6f5e">
|
---|
| 10 | <!ENTITY nmap-size "7.4 MB">
|
---|
| 11 | <!ENTITY nmap-buildsize "124 MB">
|
---|
[bfa6e44] | 12 | <!ENTITY nmap-time "0.9 SBU">
|
---|
[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 |
|
---|
[7a5857c] | 36 | &lfs72_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"/>,
|
---|
[c1a0390] | 73 | <xref linkend="lua"/>,
|
---|
| 74 | <xref linkend="pcre"/> and
|
---|
| 75 | <ulink url="http://www.csie.ntu.edu.tw/~cjlin/liblinear/">liblinear</ulink>
|
---|
[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="openssl"/>,
|
---|
| 84 | <xref linkend="pygtk"/> (required for <command>zenmap</command>),
|
---|
| 85 | <xref linkend="python2"/> (required for <command>ndiff</command>) and
|
---|
| 86 | <xref linkend="subversion"/> (required for <command>nmap-update</command>)
|
---|
| 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 |
|
---|
| 100 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 101 | make</userinput></screen>
|
---|
[50b8d8b] | 102 |
|
---|
[25d08990] | 103 | <para>This package does not come with a test suite.</para>
|
---|
[dc913a5a] | 104 |
|
---|
[c7ac14c] | 105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[50b8d8b] | 106 |
|
---|
[c7ac14c] | 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[50b8d8b] | 108 |
|
---|
[c7ac14c] | 109 | </sect2>
|
---|
[50b8d8b] | 110 |
|
---|
[c7ac14c] | 111 | <sect2 role="content">
|
---|
| 112 | <title>Contents</title>
|
---|
| 113 |
|
---|
| 114 | <segmentedlist>
|
---|
| 115 | <segtitle>Installed Programs</segtitle>
|
---|
| 116 | <segtitle>Installed Libraries</segtitle>
|
---|
[7b23c863] | 117 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 118 |
|
---|
[c7ac14c] | 119 | <seglistitem>
|
---|
[7b23c863] | 120 | <seg>ncat, ndiff, nmap, nmapfe, nmap-update, nping, uninstall_zenmap,
|
---|
| 121 | xnmap and zenmap</seg>
|
---|
[17262820] | 122 | <seg>/usr/lib/python&python2-version;/site-packages/</seg>
|
---|
[7b23c863] | 123 | <seg>/usr/share/ncat, /usr/share/nmap and /usr/share/zenmap</seg>
|
---|
[c7ac14c] | 124 | </seglistitem>
|
---|
| 125 | </segmentedlist>
|
---|
[50b8d8b] | 126 |
|
---|
[c7ac14c] | 127 | <variablelist>
|
---|
| 128 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 129 | <?dbfo list-presentation="list"?>
|
---|
| 130 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 131 |
|
---|
[17262820] | 132 | <varlistentry id="ncat">
|
---|
| 133 | <term><command>ncat</command></term>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>is a utility for reading and writing data across networks from
|
---|
| 136 | the command line.</para>
|
---|
| 137 | <indexterm zone="nmap ncat">
|
---|
| 138 | <primary sortas="b-ncat">ncat</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 |
|
---|
| 143 | <varlistentry id="ndiff">
|
---|
| 144 | <term><command>ndiff</command></term>
|
---|
| 145 | <listitem>
|
---|
| 146 | <para>is a tool to aid in the comparison of Nmap scans.</para>
|
---|
| 147 | <indexterm zone="nmap ndiff">
|
---|
| 148 | <primary sortas="b-ndiff">ndiff</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
[c7ac14c] | 153 | <varlistentry id="nmap-prog">
|
---|
| 154 | <term><command>nmap</command></term>
|
---|
| 155 | <listitem>
|
---|
[1065a91] | 156 | <para>is a utility for network exploration and security auditing. It
|
---|
[17262820] | 157 | supports ping scanning, port scanning and TCP/IP
|
---|
| 158 | fingerprinting.</para>
|
---|
[c7ac14c] | 159 | <indexterm zone="nmap nmap-prog">
|
---|
| 160 | <primary sortas="b-nmap">nmap</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
[50b8d8b] | 164 |
|
---|
[c7ac14c] | 165 | <varlistentry id="nmapfe">
|
---|
| 166 | <term><command>nmapfe</command></term>
|
---|
| 167 | <listitem>
|
---|
[7b23c863] | 168 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
[c7ac14c] | 169 | <indexterm zone="nmap nmapfe">
|
---|
| 170 | <primary sortas="b-nmapfe">nmapfe</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
[50b8d8b] | 174 |
|
---|
[7b23c863] | 175 | <varlistentry id="nmap-update">
|
---|
| 176 | <term><command>nmap-update</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>is an updater for Nmap architecture-independent files.</para>
|
---|
| 179 | <indexterm zone="nmap nmap-update">
|
---|
| 180 | <primary sortas="b-nmap-update">nmap-update</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
[25d08990] | 185 | <varlistentry id="xnmap">
|
---|
| 186 | <term><command>xnmap</command></term>
|
---|
| 187 | <listitem>
|
---|
[7b23c863] | 188 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
[25d08990] | 189 | <indexterm zone="nmap xnmap">
|
---|
| 190 | <primary sortas="f-xnmap">xnmap</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
[17262820] | 195 | <varlistentry id="zenmap">
|
---|
| 196 | <term><command>zenmap</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>is a Python based graphical nmap frontend viewer.
|
---|
| 199 | <xref linkend='gtk2'/> is a required run time dependency.</para>
|
---|
| 200 | <indexterm zone="nmap zenmap">
|
---|
| 201 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
[c7ac14c] | 206 | </variablelist>
|
---|
| 207 |
|
---|
| 208 | </sect2>
|
---|
[f45b1953] | 209 |
|
---|
| 210 | </sect1>
|
---|