- Initial public release.
- Issue #4 "Missing module_ssldb? Redis module won't compile." - removed dependencies on ssldb.
- Issue #3 "Error after running make" - added documentation that ZMap requires 64-bit system.
- Issue #1 "Failure at calloc for 'ip_seen' on KVM VPSs?" - added documentation on memory requirements for ZMap.
- Issue #14 "gcc 4.7.2 -Wunprototyped-calls error with recv_run." - changed recv_run header to match def in recv.c.
- Issues #21, #28 "fixed get_gateway malloc/memset errors".
- Issue #24 "Makefile does not respect LDFLAGS" - changed = to += for CFLAGS, LDFAGS, and LDLIBS.
- Source port in UDP module corrected to use network order instead of host order.
- Updated probe and output module interface that allows arbitrary data to be passed from the probe module (e.g. additional TCP fields) that can then be output as requested.
- Replaced simple_file, and redis_file output modules with csv module that allows user controlled output of what fields should be output to a csv file. As well, implemented
--list-output-fields
that allows users to find what fields are available. - Added output-filters that allow users to control what types of packets that want output (e.g. classification = "SYNACK" && is_repeat = 0).
- Drop root privileges after opening necessary sockets if run as privileged user.
- Added paged bitmap for removing duplicate responses so that if small subnets are scanned, large amount of memory is no longer required.
- Fast scanning of small subnets. Scanning small subnets no longer requires iterating over the entire IPv4 address space, which allows ZMap-like speed for all network sizes.
- Scan CIDR blocks from the command-line instead of only through whitelist file (e.g. ZMap -p 443 192.168.0.0/16 10.0.0.0/8).
- Redis output module now allows connecting to arbitrary redis servers and lists from the command-line via output module parameter.
- JSON output module added.
- 32-bit support.
- UDP Packet Support.
- Fixed bit-map, which was incorrectly deduplicating responses.
- CMake correctly installs files into /etc/zmap.
- Off-by-one error in paged bitmap.
- ICMP values added incorrectly, timestamp unavailable.
- Setting fixed number of probes may inadverantly target specific networks.
- Scans occasionally skip cooldown period due to lock issue.
- Added MongoDB as a supported output module.
- Added context to allow easier packaging in Debian and Ubuntu and Fedora and Brew and Macports.
- Remove dnet dependency for Linux.
- Remove random extra printed saddr.
- Build with optimizations by default.
- Added JSON metadata output.
- Added syslog support.
- Added BSD/mac support.
- Removed bizarre executible bits on random example code in git repo.
- Added support for scanning by FQDN.
- Adding sharding support.
- UDP scans sometimes double-counted IP header length.
- Properly check UDP packet length.
- Integer overflow in JSON metadata when printing generator.
- All calls to malloc checked for failure.
- Autodetect number of sender threads.
- Add ignore-invalid-hosts option for blocklist.
- ZMap now filters out packets that are from the local MAC instead of only capturing packets from the local gateway. The prior approach caused valid responses to be dropped for a fair number of users.
- ZMap would sometimes segfault if the number of threads was greater than the number of destination hosts.
- ZMap did not crash when it was unable to write to the output file. This would cause ZMap to continue running when it was piped into another application and that application died. We not log_fatal if the output is no longer accessible per ferror.
- Pcap filter captures outgoing packets.
- Install overwrites blocklist file.
- Output is sometimes colored.
- Use correct email for Zakir in AUTHORS.
- Random-number generator is now thread safe.
- Finding a generator would crash with low probability.
- JSON output uses underscores instead of hyphens.
- Removes support for deprecated simple_file and extended_file options.
- Rename redis module to redis-packed.
- Probe module API takes user data argument.
- Output to
stdout
by default. - Remove space in csv output header.
- Build with JSON support by default.
- Don't print blocklisted CIDR blocks to log. These are available in
--metadata-file
and end up flooding the log with a ton of metadata. - Remove type field from JSON output module and get rid of header.
- Remove
--summary
. This has been replaced by--metadata-file
. - JSON metadata now uses ISO-8601 compatible timestamps instead of proprietary log format.
- Remove buggy and never officially-released DNS probe module.
- Add icmp-echo-time probe module for measuring RTT MongoDB output module.
- zblocklist (a standalone utility that allows you to efficiently check IP addresses against a ZMap compatible whitelist and blocklist. This is helpful if you are doing something like
cat list-of-ips | zgrab
and to make sure that you're still following your blocklist. - ztee (a standalone utility that buffers between ZMap and ZGrab) and allows extracting just IP address from a larger ZMap output in order to complete follow up handshakes without losing any data.
- NTP probe module.
- Status-updates-file (monitor output as a csv).
- Add redis-csv output module.
- Colored log output.
- Add pf_ring and 10GigE support.
- Optional app-success field output in monitor.
- make install works on more systems
- CMakeLists.txt is now much more sane and packager-friendly
- Switch CHANGELOG and INSTALL to Markdown
- Generate
*.ggo
files from*.ggo.in
files that define ZMap version as a macro
We're happy to provide ZMap 3.0.0, only slightly under six years late. We recommend using this release over any previous 2.x release.
ZMap 3.0.0 represents several years of development and contains more than a hundred small bug fixes from ZMap 2.1.1., including many fixes for UDP modules, sharding, and progress calculation. Below, are some of the most important changes:
- Fix send rate calculations
- Accept RST packets for SEQ+0 (per RFC)
- Packets per second is packets per second now instead of IPs per second
- MaxResults is now the number of packets that pass the output filter (#502)
- Try all routing tables in Linux
- Fix crash on invalid UDP packets
- Fix failed initialize on single-question DNS probes
- Fix inaccurate blocklist warning
- Use monotonic OS clocks for monitoring and rate estimation
- Fix bugs in UDP template arguments
- Increase UDP PCAP snaplen to prevent packet truncation
- Exit on failed sends
- Fix incorrect time remaining calculations on sharded scans
- Added --list-of-ips feature which allows scanning a large number (e.g., hundreds of millions or billons) of individual IPS
- Improved user messages when network settings can't be automatically discovered
- Consistent ICMP support and handling across all probe modules (#470)
- Set TCP MSS flags to avoid filtering by destination hosts (#673)
- Sane default behavior that can be explained with other CLI flags
- Non-Flat Result output and JSON result encoding
- IP Fragment Checking
- DNS, TCP SYN-ACK, and Bacnet Probe Module
- Change Whitelist/Blacklist terms to Allowlist/Blocklist
- Add extended validation bytes for probe modules that can use greater entropy
- Support non-continuous source IP's (#516)
- Add NetBSD and DragonFly BSD compatibility code (#411)
- Improved ICMP validation based on returned packet (#419)
- Drop Redis and MongoDB support (#661)
ZMap 4.0.0 introduces the notion of multi-port scanning, which has been a long requested feature. This is a breaking change since ZMap now operates on a metric of (ip,port) target instead of simply IP (e.g., for scan rate). It also introduces new dependencies (e.g., libjudy) to support multi-port scanning and changes ZMap's command-line interface. Below are some of the most important changes:
- Fix segmentation fault when passing no port to the ICMP module (or any module without a port requirement)
- Multi-port scanning support
- Store link-layer timestamp in icmp_echo_time module (#726)
- Build support for ARM-based Macs
- Use the network interface containing the default route for usability
- Improve the dst port validation
ZMap 4.1.0 contains a number of bug fixes and performance enhancements, especially around the sending of probe packets. Additionally, the IP_ID
is now randomized to prevent the fingerprinting of ZMap scan traffic. Below are some of the most important changes:
- Fixes a bug where an assertion error would always occur when the
-I
flag was used - Fixes
--probe-args
parsing with the DNS module - Prevents crash when
--batch
size overflowed the uint8 holding the batch_size - Fixes size calculation with
--iplayer
option that caused an overflow infake_eth_hdr
- Fixes shard initialization with multi-port that could cause the scan to scan port 0
- Fixes inaccurate estimated time remaining and percentage complete calculations during a multi-port scan
- Fixes building from source on MidnightBSD
- Fixes hit-rate calculation with multiple
--probes
packets per target
- Randomizes the IP packet ID to prevent fingerprinting of scan traffic
- Adds support for Netmap to increase performance on supported NIC's w/ the requisite drivers
- Adds send packet batching (using
sendmmsg
) to improve performance on Linux/BSD - Adds hardware acceleration for AES to improve performance when the CPU begins to become the bottleneck
- Adds integration tests and compilation checks for supported OS's as Github Actions
- Adds --probe-args options to the TCP SYN scan module to send TCP header options identical to Ubuntu (default), MacOS, Windows, or No Options.
- Sets default number of sending threads to min(4, number of host cores)
- Handles IPv6 addresses in
blocklist.conf
- Supports
--iplayer
on MacOS
- updated CHANGELOG.md and README.md to contain the changes from v4.1.0 and point to the latest version.
- Use same IP TTL as ubuntu (#850)
- Add TCP options parsing in receive thread (#858)
- Fixed a bug which caused inaccurate ETA every 44 secs.
- Fixed a bug where a malformed TCP options returned to the scanner would cause the receive thread to hang.
- Fixed a bug where ZMap's behavior with a --max-targets of a percentage with multiple ports was inconsistent with our documentation/expectations. (#886)
- Bump the base Docker image from Ubuntu 20.04 to 24.04 (#888)