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