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