2013-08-17 18:50:07 +00:00
|
|
|
SYSTEM REQUIREMENTS
|
|
|
|
|
2013-08-16 15:12:47 +00:00
|
|
|
ZMap is designed to run on GNU/Linux systems and can be built with
|
2013-10-15 14:39:14 +00:00
|
|
|
most recent versions of gcc. Currently, ZMap only supports 64-bit
|
|
|
|
systems. Running it requires at least 600 MB of free memory.
|
2013-08-17 18:50:07 +00:00
|
|
|
|
|
|
|
BUILDING AND INSTALLING ZMAP
|
2013-08-16 15:12:47 +00:00
|
|
|
|
2013-08-17 18:50:07 +00:00
|
|
|
ZMap requires GMP, a free library for arbitrary precision arithmetic,
|
2013-10-15 14:39:14 +00:00
|
|
|
gengetopt, and libpcap. These packages can be installed on
|
2013-08-17 18:50:07 +00:00
|
|
|
Debian-based systems by running:
|
2013-08-16 15:12:47 +00:00
|
|
|
|
2013-10-16 15:43:14 +00:00
|
|
|
sudo apt-get install libgmp3-dev gengetopt libpcap-dev flex byacc
|
2013-08-17 18:50:07 +00:00
|
|
|
|
2013-08-16 15:12:47 +00:00
|
|
|
or on RHEL- and Fedora-based systems by running:
|
|
|
|
|
2013-10-16 15:43:14 +00:00
|
|
|
sudo yum install gmp gmp-devel gengetopt libpcap-devel flex byacc
|
2013-08-16 15:12:47 +00:00
|
|
|
|
2013-08-17 18:50:07 +00:00
|
|
|
Once these prerequisites have been installed, ZMap can be installed
|
|
|
|
by running:
|
2013-08-16 15:12:47 +00:00
|
|
|
|
2013-10-16 15:43:14 +00:00
|
|
|
cmake [-DWITH_REDIS=ON] [-DWITH_JSON=ON] [-DENABLE_DEVELOPMENT=ON] [-DENABLE_HARDENING=ON] ./
|
2013-08-16 15:12:47 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
followed by:
|
|
|
|
|
|
|
|
sudo make install
|
|
|
|
|
2013-10-15 14:39:14 +00:00
|
|
|
Redis support is not enabled by default. If you are want to use ZMap
|
|
|
|
with Redis, you will first need to install Hiredis. Then run cmake with
|
|
|
|
"-DWITH_REDIS=ON".
|
2013-08-17 19:02:23 +00:00
|
|
|
|
2013-10-15 14:39:14 +00:00
|
|
|
JSON support is not enabled by default. If you are want to use ZMap
|
|
|
|
with JSON output, you will first need to install json-c. Then, run cmake with
|
|
|
|
"-DWITH_JSON=ON"
|
|
|
|
|
2013-08-17 19:02:23 +00:00
|
|
|
Installing json-c requires git and autotools to be available. For more
|
|
|
|
information on how to install json-c, please see http://github.com/json-c/json-c
|