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