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