1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 "b481d293e53b20278d5370458da9a950">
|
---|
10 | <!ENTITY nmap-size "11 MB">
|
---|
11 | <!ENTITY nmap-buildsize "116 MB (add 38 MB for tests)">
|
---|
12 | <!ENTITY nmap-time "0.4 SBU (Using parallelism=4; add 0.1 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 | &lfs122_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">Additional Downloads</bridgehead>
|
---|
71 | <itemizedlist spacing='compact'>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Recommended patch: <ulink url=
|
---|
75 | "&patch-root;/nmap-&nmap-version;-pcre_2-1.patch"/>
|
---|
76 | </para>
|
---|
77 | </listitem>
|
---|
78 | </itemizedlist>
|
---|
79 | -->
|
---|
80 | <bridgehead renderas="sect3">Nmap Dependencies</bridgehead>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
83 | <note>
|
---|
84 | <para>
|
---|
85 | These packages are recommended because if they're not installed, the
|
---|
86 | build process will compile and link against its own (often older)
|
---|
87 | version.
|
---|
88 | </para>
|
---|
89 | </note>
|
---|
90 |
|
---|
91 | <para role="recommended">
|
---|
92 | <xref linkend="liblinear"/>,
|
---|
93 | <xref linkend="libpcap"/>,
|
---|
94 | <xref linkend="libssh2"/>,
|
---|
95 | <xref linkend="lua"/>,
|
---|
96 | <xref linkend="pcre2"/>, and
|
---|
97 | <xref linkend="pygobject3"/>
|
---|
98 | <!-- libdnet is not recommended, see:
|
---|
99 | http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
|
---|
100 | -->
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
104 | <para role="optional">
|
---|
105 | <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="installation">
|
---|
111 | <title>Installation of Nmap</title>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | First, if it is not already installed, add a needed Python module.
|
---|
115 | As the &root; user:
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <screen role="root"><userinput>pip3 install build</userinput></screen>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | Install <application>Nmap</application> by running the following
|
---|
122 | commands:
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <screen><userinput>./configure --prefix=/usr &&
|
---|
126 | make</userinput></screen>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | If you wish to run the test suite, run the following command:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <screen><userinput>sed -e '/import imp/d' \
|
---|
133 | -e 's/^ndiff = .*$/import ndiff/' \
|
---|
134 | -i ndiff/ndifftest.py</userinput></screen>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | To test the results, issue: <command>make check</command> as the
|
---|
138 | <systemitem class="username">root</systemitem> user. Tests need a
|
---|
139 | graphical session.
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | <para>
|
---|
143 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
147 |
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | <sect2 role="content">
|
---|
151 | <title>Contents</title>
|
---|
152 |
|
---|
153 | <segmentedlist>
|
---|
154 | <segtitle>Installed Programs</segtitle>
|
---|
155 | <segtitle>Installed Libraries</segtitle>
|
---|
156 | <segtitle>Installed Directories</segtitle>
|
---|
157 |
|
---|
158 | <seglistitem>
|
---|
159 | <seg>
|
---|
160 | ncat, ndiff, nmap, nping, uninstall_ndiff, uninstall_zenmap,
|
---|
161 | zenmap, and 2 symlinks to zenmap: nmapfe and xnmap
|
---|
162 | </seg>
|
---|
163 | <seg>
|
---|
164 | None
|
---|
165 | </seg>
|
---|
166 | <seg>
|
---|
167 | /usr/lib/python&python3-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI,zenmap-&nmap-version;-py&python3-majorver;.egg-info},
|
---|
168 | and /usr/share/{ncat,nmap,zenmap}
|
---|
169 | </seg>
|
---|
170 | </seglistitem>
|
---|
171 | </segmentedlist>
|
---|
172 |
|
---|
173 | <variablelist>
|
---|
174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
175 | <?dbfo list-presentation="list"?>
|
---|
176 | <?dbhtml list-presentation="table"?>
|
---|
177 |
|
---|
178 | <varlistentry id="ncat">
|
---|
179 | <term><command>ncat</command></term>
|
---|
180 | <listitem>
|
---|
181 | <para>
|
---|
182 | is a utility for reading and writing data across networks from
|
---|
183 | the command line
|
---|
184 | </para>
|
---|
185 | <indexterm zone="nmap ncat">
|
---|
186 | <primary sortas="b-ncat">ncat</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="ndiff">
|
---|
192 | <term><command>ndiff</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>
|
---|
195 | is a tool to aid in the comparison of Nmap scans
|
---|
196 | </para>
|
---|
197 | <indexterm zone="nmap ndiff">
|
---|
198 | <primary sortas="b-ndiff">ndiff</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | <varlistentry id="nmap-prog">
|
---|
204 | <term><command>nmap</command></term>
|
---|
205 | <listitem>
|
---|
206 | <para>
|
---|
207 | is a utility for network exploration and security auditing. It
|
---|
208 | supports ping scanning, port scanning and TCP/IP fingerprinting
|
---|
209 | </para>
|
---|
210 | <indexterm zone="nmap nmap-prog">
|
---|
211 | <primary sortas="b-nmap">nmap</primary>
|
---|
212 | </indexterm>
|
---|
213 | </listitem>
|
---|
214 | </varlistentry>
|
---|
215 |
|
---|
216 | <!-- removed in 7.90, see CHANGELOG
|
---|
217 | <varlistentry id="nmap-update">
|
---|
218 | <term><command>nmap-update</command></term>
|
---|
219 | <listitem>
|
---|
220 | <para>
|
---|
221 | is an updater for Nmap architecture-independent files.
|
---|
222 | </para>
|
---|
223 | <indexterm zone="nmap nmap-update">
|
---|
224 | <primary sortas="b-nmap-update">nmap-update</primary>
|
---|
225 | </indexterm>
|
---|
226 | </listitem>
|
---|
227 | </varlistentry>
|
---|
228 | -->
|
---|
229 | <varlistentry id="nping">
|
---|
230 | <term><command>nping</command></term>
|
---|
231 | <listitem>
|
---|
232 | <para>
|
---|
233 | is an open-source tool for network packet generation, response
|
---|
234 | analysis and response time measurement
|
---|
235 | </para>
|
---|
236 | <indexterm zone="nmap nping">
|
---|
237 | <primary sortas="b-nping">nping</primary>
|
---|
238 | </indexterm>
|
---|
239 | </listitem>
|
---|
240 | </varlistentry>
|
---|
241 |
|
---|
242 | <varlistentry id="uninstall_ndiff">
|
---|
243 | <term><command>uninstall_ndiff</command></term>
|
---|
244 | <listitem>
|
---|
245 | <para>
|
---|
246 | is a Python script to uninstall <command>ndiff</command>
|
---|
247 | </para>
|
---|
248 | <indexterm zone="nmap uninstall_ndiff">
|
---|
249 | <primary sortas="b-uninstall_ndiff">uninstall_ndiff</primary>
|
---|
250 | </indexterm>
|
---|
251 | </listitem>
|
---|
252 | </varlistentry>
|
---|
253 |
|
---|
254 | <varlistentry id="uninstall_zenmap">
|
---|
255 | <term><command>uninstall_zenmap</command></term>
|
---|
256 | <listitem>
|
---|
257 | <para>
|
---|
258 | is a Python script to uninstall <command>zenmap</command>
|
---|
259 | </para>
|
---|
260 | <indexterm zone="nmap uninstall_zenmap">
|
---|
261 | <primary sortas="b-uninstall_zenmap">uninstall_zenmap</primary>
|
---|
262 | </indexterm>
|
---|
263 | </listitem>
|
---|
264 | </varlistentry>
|
---|
265 |
|
---|
266 | <varlistentry id="zenmap">
|
---|
267 | <term><command>zenmap</command></term>
|
---|
268 | <listitem>
|
---|
269 | <para>
|
---|
270 | is a Python based graphical nmap frontend viewer
|
---|
271 | </para>
|
---|
272 | <indexterm zone="nmap zenmap">
|
---|
273 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
274 | </indexterm>
|
---|
275 | </listitem>
|
---|
276 | </varlistentry>
|
---|
277 |
|
---|
278 | </variablelist>
|
---|
279 |
|
---|
280 | </sect2>
|
---|
281 |
|
---|
282 | </sect1>
|
---|