1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY nmap-download-http "http://nmap.org/dist/nmap-&nmap-version;.tar.bz2">
|
---|
8 | <!-- <!ENTITY nmap-download-ftp "&gentoo-ftp-repo;/nmap-&nmap-version;.tar.bz2">-->
|
---|
9 | <!ENTITY nmap-download-ftp " ">
|
---|
10 | <!ENTITY nmap-md5sum "7fa4edc592184c7addc14f5acb3fe6f7">
|
---|
11 | <!ENTITY nmap-size "8.6 MB">
|
---|
12 | <!ENTITY nmap-buildsize "158 MB (with tests)">
|
---|
13 | <!ENTITY nmap-time "0.8 SBU (with tests)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="nmap" xreflabel="Nmap-&nmap-version;">
|
---|
17 | <?dbhtml filename="nmap.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Nmap-&nmap-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="nmap">
|
---|
27 | <primary sortas="a-Nmap">Nmap</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Nmap</title>
|
---|
32 |
|
---|
33 | <para><application>Nmap</application> is a utility for network exploration
|
---|
34 | and security auditing. It supports ping scanning, port scanning and
|
---|
35 | TCP/IP fingerprinting.</para>
|
---|
36 |
|
---|
37 | &lfs78_checked;
|
---|
38 |
|
---|
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>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">Nmap Dependencies</bridgehead>
|
---|
62 |
|
---|
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"/>,
|
---|
74 | <!-- <xref linkend="lua"/>, broken with lua-5.3.0-->
|
---|
75 | <xref linkend="pcre"/> and
|
---|
76 | <xref linkend="liblinear"/>
|
---|
77 | <!-- This is not recommended, see: http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
|
---|
78 | <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
|
---|
79 | -->
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
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>
|
---|
89 |
|
---|
90 | <para condition="html" role="usernotes">User Notes:
|
---|
91 | <ulink url="&blfs-wiki;/nmap"/></para>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of Nmap</title>
|
---|
97 |
|
---|
98 | <para>Install <application>Nmap</application> by running the following
|
---|
99 | commands:</para>
|
---|
100 |
|
---|
101 | <screen><userinput>./configure --prefix=/usr --with-liblua=included &&
|
---|
102 | make</userinput></screen>
|
---|
103 |
|
---|
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 |
|
---|
108 | <para>To test the results, issue: <command>make check</command> as the
|
---|
109 | <systemitem class="username">root</systemitem> user. Tests need a
|
---|
110 | graphical session.</para>
|
---|
111 |
|
---|
112 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="commands">
|
---|
119 | <title>Command Explanations</title>
|
---|
120 |
|
---|
121 | <para><parameter>--with-liblua=included</parameter>: This switch is
|
---|
122 | required to fix compilation with <application>lua</application> 5.3.</para>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="content">
|
---|
127 | <title>Contents</title>
|
---|
128 |
|
---|
129 | <segmentedlist>
|
---|
130 | <segtitle>Installed Programs</segtitle>
|
---|
131 | <segtitle>Installed Libraries</segtitle>
|
---|
132 | <segtitle>Installed Directories</segtitle>
|
---|
133 |
|
---|
134 | <seglistitem>
|
---|
135 | <seg>
|
---|
136 | ncat, ndiff, nmap, nmapfe, nmap-update, nping, uninstall_ndiff,
|
---|
137 | uninstall_zenmap, xnmap and zenmap
|
---|
138 | </seg>
|
---|
139 | <!-- <seg>/usr/lib/python&python2-version;/site-packages/</seg>-->
|
---|
140 | <seg>
|
---|
141 | None
|
---|
142 | </seg>
|
---|
143 | <seg>
|
---|
144 | /usr/lib/python&python2-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI},
|
---|
145 | and /usr/share/{ncat,nmap,zenmap}
|
---|
146 | </seg>
|
---|
147 | </seglistitem>
|
---|
148 | </segmentedlist>
|
---|
149 |
|
---|
150 | <variablelist>
|
---|
151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
152 | <?dbfo list-presentation="list"?>
|
---|
153 | <?dbhtml list-presentation="table"?>
|
---|
154 |
|
---|
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 |
|
---|
176 | <varlistentry id="nmap-prog">
|
---|
177 | <term><command>nmap</command></term>
|
---|
178 | <listitem>
|
---|
179 | <para>is a utility for network exploration and security auditing. It
|
---|
180 | supports ping scanning, port scanning and TCP/IP
|
---|
181 | fingerprinting.</para>
|
---|
182 | <indexterm zone="nmap nmap-prog">
|
---|
183 | <primary sortas="b-nmap">nmap</primary>
|
---|
184 | </indexterm>
|
---|
185 | </listitem>
|
---|
186 | </varlistentry>
|
---|
187 |
|
---|
188 | <varlistentry id="nmapfe">
|
---|
189 | <term><command>nmapfe</command></term>
|
---|
190 | <listitem>
|
---|
191 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
192 | <indexterm zone="nmap nmapfe">
|
---|
193 | <primary sortas="b-nmapfe">nmapfe</primary>
|
---|
194 | </indexterm>
|
---|
195 | </listitem>
|
---|
196 | </varlistentry>
|
---|
197 |
|
---|
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 |
|
---|
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 |
|
---|
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 |
|
---|
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 |
|
---|
245 | <varlistentry id="xnmap">
|
---|
246 | <term><command>xnmap</command></term>
|
---|
247 | <listitem>
|
---|
248 | <para>is a symbolic link to <command>zenmap</command>.</para>
|
---|
249 | <indexterm zone="nmap xnmap">
|
---|
250 | <primary sortas="f-xnmap">xnmap</primary>
|
---|
251 | </indexterm>
|
---|
252 | </listitem>
|
---|
253 | </varlistentry>
|
---|
254 |
|
---|
255 | <varlistentry id="zenmap">
|
---|
256 | <term><command>zenmap</command></term>
|
---|
257 | <listitem>
|
---|
258 | <para>is a Python based graphical nmap frontend viewer.</para>
|
---|
259 | <indexterm zone="nmap zenmap">
|
---|
260 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
261 | </indexterm>
|
---|
262 | </listitem>
|
---|
263 | </varlistentry>
|
---|
264 |
|
---|
265 | </variablelist>
|
---|
266 |
|
---|
267 | </sect2>
|
---|
268 |
|
---|
269 | </sect1>
|
---|