Nmap-7.94

Introduction to Nmap

Nmap is a utility for network exploration and security auditing. It supports ping scanning, port scanning and TCP/IP fingerprinting.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

  • Download (HTTP): https://nmap.org/dist/nmap-7.94.tar.bz2

  • Download MD5 sum: 4f65e08148d1eaac6b1a1482e7185e1d

  • Download size: 11 MB

  • Estimated disk space required: 138 MB (add 17 MB for tests)

  • Estimated build time: 0.3 SBU (Using parallelism=4; add 0.1 SBU for tests)

Additional Downloads

Nmap Dependencies

Recommended

[Note]

Note

These packages are recommended because if they're not installed, the build process will compile and link against its own (often older) version.

Optional

libdnet

Installation of Nmap

If and only if the recommended dependency pcre2-10.43 is installed, apply a patch to allow building this package with system pcre2-10.43 instead of an internal copy of the outdated PCRE1:

patch -Np1 -i ../nmap-7.94-pcre_2-1.patch

Install Nmap by running the following commands:

./configure --prefix=/usr &&
make

If you wish to run the test suite, run the following command:

sed -e '/import imp/d'                \
    -e 's/^ndiff = .*$/import ndiff/' \
    -i ndiff/ndifftest.py

To test the results, issue: make check as the root user. Tests need a graphical session.

Now, as the root user:

make install

Contents

Installed Programs: ncat, ndiff, nmap, nping, uninstall_ndiff, uninstall_zenmap, zenmap, and 2 symlinks to zenmap: nmapfe and xnmap
Installed Libraries: None
Installed Directories: /usr/lib/python3.12/site-packages/{radialnet,zenmapCore,zenmapGUI,zenmap-7.94-py3.12.egg-info}, and /usr/share/{ncat,nmap,zenmap}

Short Descriptions

ncat

is a utility for reading and writing data across networks from the command line

ndiff

is a tool to aid in the comparison of Nmap scans

nmap

is a utility for network exploration and security auditing. It supports ping scanning, port scanning and TCP/IP fingerprinting

nping

is an open-source tool for network packet generation, response analysis and response time measurement

uninstall_ndiff

is a Python script to uninstall ndiff

uninstall_zenmap

is a Python script to uninstall zenmap

zenmap

is a Python based graphical nmap frontend viewer