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