[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">
|
---|
[2217b13] | 9 | <!ENTITY nmap-md5sum "c0e2f3370e1fb97fb53185b15aa22aff">
|
---|
| 10 | <!ENTITY nmap-size "7.5 MB">
|
---|
| 11 | <!ENTITY nmap-buildsize "107 MB">
|
---|
| 12 | <!ENTITY nmap-time "1.1 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 |
|
---|
[860737ee] | 36 | &lfs74_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"/>,
|
---|
[07c1433] | 73 | <xref linkend="lua"/>, and
|
---|
| 74 | <xref linkend="pcre"/>
|
---|
| 75 | <!--
|
---|
[c1a0390] | 76 | <ulink url="http://www.csie.ntu.edu.tw/~cjlin/liblinear/">liblinear</ulink>
|
---|
[07c1433] | 77 | -->
|
---|
[7b23c863] | 78 | <!-- This is not recommended, see: http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
|
---|
[c1a0390] | 79 | <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
|
---|
[7b23c863] | 80 | -->
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
[c7ac14c] | 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[7b23c863] | 84 | <para role="optional">
|
---|
| 85 | <xref linkend="openssl"/>,
|
---|
| 86 | <xref linkend="pygtk"/> (required for <command>zenmap</command>),
|
---|
| 87 | <xref linkend="python2"/> (required for <command>ndiff</command>) and
|
---|
| 88 | <xref linkend="subversion"/> (required for <command>nmap-update</command>)
|
---|
| 89 | </para>
|
---|
[50b8d8b] | 90 |
|
---|
[061ec9d] | 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/nmap"/></para>
|
---|
| 93 |
|
---|
[c7ac14c] | 94 | </sect2>
|
---|
[50b8d8b] | 95 |
|
---|
[c7ac14c] | 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of Nmap</title>
|
---|
| 98 |
|
---|
[1065a91] | 99 | <para>Install <application>Nmap</application> by running the following
|
---|
[c7ac14c] | 100 | commands:</para>
|
---|
| 101 |
|
---|
| 102 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 103 | make</userinput></screen>
|
---|
[50b8d8b] | 104 |
|
---|
[25d08990] | 105 | <para>This package does not come with a test suite.</para>
|
---|
[dc913a5a] | 106 |
|
---|
[c7ac14c] | 107 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[50b8d8b] | 108 |
|
---|
[c7ac14c] | 109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[50b8d8b] | 110 |
|
---|
[c7ac14c] | 111 | </sect2>
|
---|
[50b8d8b] | 112 |
|
---|
[c7ac14c] | 113 | <sect2 role="content">
|
---|
| 114 | <title>Contents</title>
|
---|
| 115 |
|
---|
| 116 | <segmentedlist>
|
---|
| 117 | <segtitle>Installed Programs</segtitle>
|
---|
| 118 | <segtitle>Installed Libraries</segtitle>
|
---|
[7b23c863] | 119 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 120 |
|
---|
[c7ac14c] | 121 | <seglistitem>
|
---|
[7b23c863] | 122 | <seg>ncat, ndiff, nmap, nmapfe, nmap-update, nping, uninstall_zenmap,
|
---|
| 123 | xnmap and zenmap</seg>
|
---|
[17262820] | 124 | <seg>/usr/lib/python&python2-version;/site-packages/</seg>
|
---|
[7b23c863] | 125 | <seg>/usr/share/ncat, /usr/share/nmap and /usr/share/zenmap</seg>
|
---|
[c7ac14c] | 126 | </seglistitem>
|
---|
| 127 | </segmentedlist>
|
---|
[50b8d8b] | 128 |
|
---|
[c7ac14c] | 129 | <variablelist>
|
---|
| 130 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 131 | <?dbfo list-presentation="list"?>
|
---|
| 132 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 133 |
|
---|
[17262820] | 134 | <varlistentry id="ncat">
|
---|
| 135 | <term><command>ncat</command></term>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>is a utility for reading and writing data across networks from
|
---|
| 138 | the command line.</para>
|
---|
| 139 | <indexterm zone="nmap ncat">
|
---|
| 140 | <primary sortas="b-ncat">ncat</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
| 144 |
|
---|
| 145 | <varlistentry id="ndiff">
|
---|
| 146 | <term><command>ndiff</command></term>
|
---|
| 147 | <listitem>
|
---|
| 148 | <para>is a tool to aid in the comparison of Nmap scans.</para>
|
---|
| 149 | <indexterm zone="nmap ndiff">
|
---|
| 150 | <primary sortas="b-ndiff">ndiff</primary>
|
---|
| 151 | </indexterm>
|
---|
| 152 | </listitem>
|
---|
| 153 | </varlistentry>
|
---|
| 154 |
|
---|
[c7ac14c] | 155 | <varlistentry id="nmap-prog">
|
---|
| 156 | <term><command>nmap</command></term>
|
---|
| 157 | <listitem>
|
---|
[1065a91] | 158 | <para>is a utility for network exploration and security auditing. It
|
---|
[17262820] | 159 | supports ping scanning, port scanning and TCP/IP
|
---|
| 160 | fingerprinting.</para>
|
---|
[c7ac14c] | 161 | <indexterm zone="nmap nmap-prog">
|
---|
| 162 | <primary sortas="b-nmap">nmap</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
[50b8d8b] | 166 |
|
---|
[c7ac14c] | 167 | <varlistentry id="nmapfe">
|
---|
| 168 | <term><command>nmapfe</command></term>
|
---|
| 169 | <listitem>
|
---|
[7b23c863] | 170 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
[c7ac14c] | 171 | <indexterm zone="nmap nmapfe">
|
---|
| 172 | <primary sortas="b-nmapfe">nmapfe</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
[50b8d8b] | 176 |
|
---|
[7b23c863] | 177 | <varlistentry id="nmap-update">
|
---|
| 178 | <term><command>nmap-update</command></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>is an updater for Nmap architecture-independent files.</para>
|
---|
| 181 | <indexterm zone="nmap nmap-update">
|
---|
| 182 | <primary sortas="b-nmap-update">nmap-update</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
[25d08990] | 187 | <varlistentry id="xnmap">
|
---|
| 188 | <term><command>xnmap</command></term>
|
---|
| 189 | <listitem>
|
---|
[7b23c863] | 190 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
[25d08990] | 191 | <indexterm zone="nmap xnmap">
|
---|
| 192 | <primary sortas="f-xnmap">xnmap</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
[17262820] | 197 | <varlistentry id="zenmap">
|
---|
| 198 | <term><command>zenmap</command></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>is a Python based graphical nmap frontend viewer.
|
---|
| 201 | <xref linkend='gtk2'/> is a required run time dependency.</para>
|
---|
| 202 | <indexterm zone="nmap zenmap">
|
---|
| 203 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
[c7ac14c] | 208 | </variablelist>
|
---|
| 209 |
|
---|
| 210 | </sect2>
|
---|
[f45b1953] | 211 |
|
---|
| 212 | </sect1>
|
---|