Nmap-7.70

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 16. Networking Utilities

- Prev

  NetworkManager-1.14.6

- Next

  Traceroute-2.1.0

- Up
- Home

# Nmap-7.70

## Introduction to Nmap

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

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): http://nmap.org/dist/nmap-7.70.tar.bz2

- Download MD5 sum: 84eb6fbe788e0d4918c2b1e39421bf79

- Download size: 10 MB

- Estimated disk space required: 116 MB (add 21 MB for tests)

- Estimated build time: 0.9 SBU (add 0.2 SBU for tests)

### Nmap Dependencies

#### Recommended

### Note

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

libpcap-1.9.0, PCRE-8.42 and liblinear-221

#### Optional

PyGTK-2.24.0 (required for zenmap), Python-2.7.15 (required for ndiff) and Subversion-1.11.1 (required for nmap-update), and libssh2-1.8.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nmap

## Installation of Nmap

Install Nmap by running the following commands:

    ./configure --prefix=/usr --with-liblua=included &&
    make

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

    sed -i 's/lib./lib/' zenmap/test/run_tests.py

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

Now, as the `root` user:

    make install

## Command Explanations

`--with-liblua=included`: This switch is required to fix compilation with lua 5.3.

## Contents

Installed Programs: ncat, ndiff, nmap, nmapfe, nmap-update, nping, uninstall_ndiff, uninstall_zenmap, xnmap and zenmap
Installed Libraries: None
Installed Directories: /usr/lib/python2.7/site-packages/{radialnet,zenmapCore,zenmapGUI}, 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.
nmapfe | is a symbolic link to zenmap.
nmap-update | is an updater for Nmap architecture-independent files.
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.
xnmap | is a symbolic link to zenmap.
zenmap | is a Python based graphical nmap frontend viewer.

Last updated on 2019-02-19 00:16:11 -0600

- Prev

  NetworkManager-1.14.6

- Next

  Traceroute-2.1.0

- Up
- Home