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