[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 " ">
|
---|
[cda55411] | 9 | <!ENTITY nmap-md5sum "b481d293e53b20278d5370458da9a950">
|
---|
[5bc6c45] | 10 | <!ENTITY nmap-size "11 MB">
|
---|
[cda55411] | 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)">
|
---|
[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 |
|
---|
[fc09938] | 34 | &lfs122_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>
|
---|
[cda55411] | 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>
|
---|
[cda55411] | 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>
|
---|
[cda55411] | 114 | First, if it is not already installed, add a needed Python module.
|
---|
| 115 | As the &root; user:
|
---|
[bd80dca7] | 116 | </para>
|
---|
| 117 |
|
---|
[cda55411] | 118 | <screen role="root"><userinput>pip3 install build</userinput></screen>
|
---|
[bd80dca7] | 119 |
|
---|
[7c56ece] | 120 | <para>
|
---|
| 121 | Install <application>Nmap</application> by running the following
|
---|
| 122 | commands:
|
---|
| 123 | </para>
|
---|
[c7ac14c] | 124 |
|
---|
[8dcedec0] | 125 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[b1478b35] | 126 | make</userinput></screen>
|
---|
[bd80dca7] | 127 |
|
---|
[7c56ece] | 128 | <para>
|
---|
| 129 | If you wish to run the test suite, run the following command:
|
---|
| 130 | </para>
|
---|
[274c547] | 131 |
|
---|
[bd80dca7] | 132 | <screen><userinput>sed -e '/import imp/d' \
|
---|
| 133 | -e 's/^ndiff = .*$/import ndiff/' \
|
---|
| 134 | -i ndiff/ndifftest.py</userinput></screen>
|
---|
| 135 |
|
---|
[7c56ece] | 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>
|
---|
[dc913a5a] | 141 |
|
---|
[7c56ece] | 142 | <para>
|
---|
| 143 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 144 | </para>
|
---|
[50b8d8b] | 145 |
|
---|
[c7ac14c] | 146 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[50b8d8b] | 147 |
|
---|
[c7ac14c] | 148 | </sect2>
|
---|
[50b8d8b] | 149 |
|
---|
[c7ac14c] | 150 | <sect2 role="content">
|
---|
| 151 | <title>Contents</title>
|
---|
| 152 |
|
---|
| 153 | <segmentedlist>
|
---|
| 154 | <segtitle>Installed Programs</segtitle>
|
---|
| 155 | <segtitle>Installed Libraries</segtitle>
|
---|
[7b23c863] | 156 | <segtitle>Installed Directories</segtitle>
|
---|
[50b8d8b] | 157 |
|
---|
[c7ac14c] | 158 | <seglistitem>
|
---|
[bdf1c03c] | 159 | <seg>
|
---|
[8dcedec0] | 160 | ncat, ndiff, nmap, nping, uninstall_ndiff, uninstall_zenmap,
|
---|
| 161 | zenmap, and 2 symlinks to zenmap: nmapfe and xnmap
|
---|
[bdf1c03c] | 162 | </seg>
|
---|
| 163 | <seg>
|
---|
| 164 | None
|
---|
| 165 | </seg>
|
---|
| 166 | <seg>
|
---|
[5bc6c45] | 167 | /usr/lib/python&python3-majorver;/site-packages/{radialnet,zenmapCore,zenmapGUI,zenmap-&nmap-version;-py&python3-majorver;.egg-info},
|
---|
[b1478b35] | 168 | and /usr/share/{ncat,nmap,zenmap}
|
---|
[bdf1c03c] | 169 | </seg>
|
---|
[c7ac14c] | 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
[50b8d8b] | 172 |
|
---|
[c7ac14c] | 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
[50b8d8b] | 177 |
|
---|
[17262820] | 178 | <varlistentry id="ncat">
|
---|
| 179 | <term><command>ncat</command></term>
|
---|
| 180 | <listitem>
|
---|
[7c56ece] | 181 | <para>
|
---|
| 182 | is a utility for reading and writing data across networks from
|
---|
[4c24eb0a] | 183 | the command line
|
---|
[7c56ece] | 184 | </para>
|
---|
[17262820] | 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>
|
---|
[7c56ece] | 194 | <para>
|
---|
[4c24eb0a] | 195 | is a tool to aid in the comparison of Nmap scans
|
---|
[7c56ece] | 196 | </para>
|
---|
[17262820] | 197 | <indexterm zone="nmap ndiff">
|
---|
| 198 | <primary sortas="b-ndiff">ndiff</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
[c7ac14c] | 203 | <varlistentry id="nmap-prog">
|
---|
| 204 | <term><command>nmap</command></term>
|
---|
| 205 | <listitem>
|
---|
[7c56ece] | 206 | <para>
|
---|
| 207 | is a utility for network exploration and security auditing. It
|
---|
[4c24eb0a] | 208 | supports ping scanning, port scanning and TCP/IP fingerprinting
|
---|
[7c56ece] | 209 | </para>
|
---|
[c7ac14c] | 210 | <indexterm zone="nmap nmap-prog">
|
---|
| 211 | <primary sortas="b-nmap">nmap</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
[50b8d8b] | 215 |
|
---|
[8dcedec0] | 216 | <!-- removed in 7.90, see CHANGELOG
|
---|
[7b23c863] | 217 | <varlistentry id="nmap-update">
|
---|
| 218 | <term><command>nmap-update</command></term>
|
---|
| 219 | <listitem>
|
---|
[7c56ece] | 220 | <para>
|
---|
| 221 | is an updater for Nmap architecture-independent files.
|
---|
| 222 | </para>
|
---|
[7b23c863] | 223 | <indexterm zone="nmap nmap-update">
|
---|
| 224 | <primary sortas="b-nmap-update">nmap-update</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
[8dcedec0] | 228 | -->
|
---|
[6d772cc] | 229 | <varlistentry id="nping">
|
---|
| 230 | <term><command>nping</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>
|
---|
[7c56ece] | 233 | is an open-source tool for network packet generation, response
|
---|
[4c24eb0a] | 234 | analysis and response time measurement
|
---|
[6d772cc] | 235 | </para>
|
---|
| 236 | <indexterm zone="nmap nping">
|
---|
| 237 | <primary sortas="b-nping">nping</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
[b1478b35] | 242 | <varlistentry id="uninstall_ndiff">
|
---|
| 243 | <term><command>uninstall_ndiff</command></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>
|
---|
[4c24eb0a] | 246 | is a Python script to uninstall <command>ndiff</command>
|
---|
[b1478b35] | 247 | </para>
|
---|
| 248 | <indexterm zone="nmap uninstall_ndiff">
|
---|
| 249 | <primary sortas="b-uninstall_ndiff">uninstall_ndiff</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
[6d772cc] | 254 | <varlistentry id="uninstall_zenmap">
|
---|
| 255 | <term><command>uninstall_zenmap</command></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>
|
---|
[4c24eb0a] | 258 | is a Python script to uninstall <command>zenmap</command>
|
---|
[6d772cc] | 259 | </para>
|
---|
| 260 | <indexterm zone="nmap uninstall_zenmap">
|
---|
| 261 | <primary sortas="b-uninstall_zenmap">uninstall_zenmap</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
[17262820] | 266 | <varlistentry id="zenmap">
|
---|
| 267 | <term><command>zenmap</command></term>
|
---|
| 268 | <listitem>
|
---|
[7c56ece] | 269 | <para>
|
---|
[4c24eb0a] | 270 | is a Python based graphical nmap frontend viewer
|
---|
[7c56ece] | 271 | </para>
|
---|
[17262820] | 272 | <indexterm zone="nmap zenmap">
|
---|
| 273 | <primary sortas="f-zenmap">zenmap</primary>
|
---|
| 274 | </indexterm>
|
---|
| 275 | </listitem>
|
---|
| 276 | </varlistentry>
|
---|
| 277 |
|
---|
[c7ac14c] | 278 | </variablelist>
|
---|
| 279 |
|
---|
| 280 | </sect2>
|
---|
[f45b1953] | 281 |
|
---|
| 282 | </sect1>
|
---|