source: networking/netutils/nmap.xml@ 17f6553e

lazarus trunk
Last change on this file since 17f6553e was bd80dca7, checked in by Xi Ruoyao <xry111@…>, 4 months ago

nmap: Use a patch to allow building with pcre2

BTW fix another "imp removal" error in the test suite.

  • Property mode set to 100644
File size: 8.6 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3bba7e2]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c6b192c]7 <!ENTITY nmap-download-http "https://nmap.org/dist/nmap-&nmap-version;.tar.bz2">
[142f958b]8 <!ENTITY nmap-download-ftp " ">
[5bc6c45]9 <!ENTITY nmap-md5sum "4f65e08148d1eaac6b1a1482e7185e1d">
10 <!ENTITY nmap-size "11 MB">
11 <!ENTITY nmap-buildsize "138 MB (add 17 MB for tests)">
12 <!ENTITY nmap-time "0.3 SBU (Using parallelism=4; add 0.1 SBU for tests)">
[3bba7e2]13]>
14
[58bd309a]15<sect1 id="nmap" xreflabel="Nmap-&nmap-version;">
[c7ac14c]16 <?dbhtml filename="nmap.html"?>
[50b8d8b]17
18
[c7ac14c]19 <title>Nmap-&nmap-version;</title>
[50b8d8b]20
[c7ac14c]21 <indexterm zone="nmap">
22 <primary sortas="a-Nmap">Nmap</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Nmap</title>
[50b8d8b]27
[7c56ece]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>
[50b8d8b]33
[868811b]34 &lfs121_checked;
[17262820]35
[c7ac14c]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
[7c56ece]39 <para>
40 Download (HTTP): <ulink url="&nmap-download-http;"/>
41 </para>
[c7ac14c]42 </listitem>
43 <listitem>
[7c56ece]44 <para>
45 Download (FTP): <ulink url="&nmap-download-ftp;"/>
46 </para>
[c7ac14c]47 </listitem>
48 <listitem>
[7c56ece]49 <para>
50 Download MD5 sum: &nmap-md5sum;
51 </para>
[c7ac14c]52 </listitem>
53 <listitem>
[7c56ece]54 <para>
55 Download size: &nmap-size;
56 </para>
[c7ac14c]57 </listitem>
58 <listitem>
[7c56ece]59 <para>
60 Estimated disk space required: &nmap-buildsize;
61 </para>
[c7ac14c]62 </listitem>
63 <listitem>
[7c56ece]64 <para>
65 Estimated build time: &nmap-time;
66 </para>
[c7ac14c]67 </listitem>
68 </itemizedlist>
[50b8d8b]69
[bd80dca7]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
[c7ac14c]80 <bridgehead renderas="sect3">Nmap Dependencies</bridgehead>
[50b8d8b]81
[7b23c863]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">
[5bc6c45]92 <xref linkend="liblinear"/>,
[7b23c863]93 <xref linkend="libpcap"/>,
[5bc6c45]94 <xref linkend="libssh2"/>,
[84a5b4a]95 <xref linkend="lua"/>,
[bd80dca7]96 <xref linkend="pcre2"/>, and
[84a5b4a]97 <xref linkend="pygobject3"/>
[7c56ece]98<!-- libdnet is not recommended, see:
99 http://nmap.org/svn/libdnet-stripped/NMAP_MODIFICATIONS
[7b23c863]100-->
101 </para>
102
[c7ac14c]103 <bridgehead renderas="sect4">Optional</bridgehead>
[7b23c863]104 <para role="optional">
[5bc6c45]105 <ulink url="http://code.google.com/p/libdnet/">libdnet</ulink>
[7b23c863]106 </para>
[50b8d8b]107
[c7ac14c]108 </sect2>
[50b8d8b]109
[c7ac14c]110 <sect2 role="installation">
111 <title>Installation of Nmap</title>
112
[bd80dca7]113 <para>
114 If and only if the recommended dependency
115 <xref linkend='pcre2'/> is installed, apply a patch to allow building
116 this package with system <xref linkend='pcre2'/> instead of an
117 internal copy of the outdated PCRE1:
118 </para>
119
120 <screen><userinput>patch -Np1 -i ../nmap-&nmap-version;-pcre_2-1.patch</userinput></screen>
121
[7c56ece]122 <para>
123 Install <application>Nmap</application> by running the following
124 commands:
125 </para>
[c7ac14c]126
[8dcedec0]127<screen><userinput>./configure --prefix=/usr &amp;&amp;
[b1478b35]128make</userinput></screen>
[bd80dca7]129
[7c56ece]130 <para>
131 If you wish to run the test suite, run the following command:
132 </para>
[274c547]133
[bd80dca7]134 <screen><userinput>sed -e '/import imp/d' \
135 -e 's/^ndiff = .*$/import ndiff/' \
136 -i ndiff/ndifftest.py</userinput></screen>
137
[7c56ece]138 <para>
139 To test the results, issue: <command>make check</command> as the
140 <systemitem class="username">root</systemitem> user. Tests need a
141 graphical session.
142 </para>
[dc913a5a]143
[7c56ece]144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
[50b8d8b]147
[c7ac14c]148<screen role="root"><userinput>make install</userinput></screen>
[50b8d8b]149
[c7ac14c]150 </sect2>
[50b8d8b]151
[8dcedec0]152<!-- nmap-7.90: everything seems ok without this switch
[646a42e]153 <sect2 role="commands">
154 <title>Command Explanations</title>
[7c56ece]155 <para>
[8dcedec0]156 <parameter>- -with-liblua=included</parameter>: This switch is
157 required to fix compilation with <application>lua</application> 5.4.
[7c56ece]158 </para>
[646a42e]159
160 </sect2>
[8dcedec0]161-->
[646a42e]162
[c7ac14c]163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Programs</segtitle>
168 <segtitle>Installed Libraries</segtitle>
[7b23c863]169 <segtitle>Installed Directories</segtitle>
[50b8d8b]170
[c7ac14c]171 <seglistitem>
[bdf1c03c]172 <seg>
[8dcedec0]173 ncat, ndiff, nmap, nping, uninstall_ndiff, uninstall_zenmap,
174 zenmap, and 2 symlinks to zenmap: nmapfe and xnmap
[bdf1c03c]175 </seg>
176 <seg>
177 None
178 </seg>
179 <seg>
[5bc6c45]180 /usr/lib/python&python3-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI,zenmap-&nmap-version;-py&python3-majorver;.egg-info},
[b1478b35]181 and /usr/share/{ncat,nmap,zenmap}
[bdf1c03c]182 </seg>
[c7ac14c]183 </seglistitem>
184 </segmentedlist>
[50b8d8b]185
[c7ac14c]186 <variablelist>
187 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
188 <?dbfo list-presentation="list"?>
189 <?dbhtml list-presentation="table"?>
[50b8d8b]190
[17262820]191 <varlistentry id="ncat">
192 <term><command>ncat</command></term>
193 <listitem>
[7c56ece]194 <para>
195 is a utility for reading and writing data across networks from
[4c24eb0a]196 the command line
[7c56ece]197 </para>
[17262820]198 <indexterm zone="nmap ncat">
199 <primary sortas="b-ncat">ncat</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="ndiff">
205 <term><command>ndiff</command></term>
206 <listitem>
[7c56ece]207 <para>
[4c24eb0a]208 is a tool to aid in the comparison of Nmap scans
[7c56ece]209 </para>
[17262820]210 <indexterm zone="nmap ndiff">
211 <primary sortas="b-ndiff">ndiff</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
[c7ac14c]216 <varlistentry id="nmap-prog">
217 <term><command>nmap</command></term>
218 <listitem>
[7c56ece]219 <para>
220 is a utility for network exploration and security auditing. It
[4c24eb0a]221 supports ping scanning, port scanning and TCP/IP fingerprinting
[7c56ece]222 </para>
[c7ac14c]223 <indexterm zone="nmap nmap-prog">
224 <primary sortas="b-nmap">nmap</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
[50b8d8b]228
[8dcedec0]229<!-- removed in 7.90, see CHANGELOG
[7b23c863]230 <varlistentry id="nmap-update">
231 <term><command>nmap-update</command></term>
232 <listitem>
[7c56ece]233 <para>
234 is an updater for Nmap architecture-independent files.
235 </para>
[7b23c863]236 <indexterm zone="nmap nmap-update">
237 <primary sortas="b-nmap-update">nmap-update</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
[8dcedec0]241-->
[6d772cc]242 <varlistentry id="nping">
243 <term><command>nping</command></term>
244 <listitem>
245 <para>
[7c56ece]246 is an open-source tool for network packet generation, response
[4c24eb0a]247 analysis and response time measurement
[6d772cc]248 </para>
249 <indexterm zone="nmap nping">
250 <primary sortas="b-nping">nping</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
[b1478b35]255 <varlistentry id="uninstall_ndiff">
256 <term><command>uninstall_ndiff</command></term>
257 <listitem>
258 <para>
[4c24eb0a]259 is a Python script to uninstall <command>ndiff</command>
[b1478b35]260 </para>
261 <indexterm zone="nmap uninstall_ndiff">
262 <primary sortas="b-uninstall_ndiff">uninstall_ndiff</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
[6d772cc]267 <varlistentry id="uninstall_zenmap">
268 <term><command>uninstall_zenmap</command></term>
269 <listitem>
270 <para>
[4c24eb0a]271 is a Python script to uninstall <command>zenmap</command>
[6d772cc]272 </para>
273 <indexterm zone="nmap uninstall_zenmap">
274 <primary sortas="b-uninstall_zenmap">uninstall_zenmap</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
[17262820]279 <varlistentry id="zenmap">
280 <term><command>zenmap</command></term>
281 <listitem>
[7c56ece]282 <para>
[4c24eb0a]283 is a Python based graphical nmap frontend viewer
[7c56ece]284 </para>
[17262820]285 <indexterm zone="nmap zenmap">
286 <primary sortas="f-zenmap">zenmap</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
[c7ac14c]291 </variablelist>
292
293 </sect2>
[f45b1953]294
295</sect1>
Note: See TracBrowser for help on using the repository browser.