How To Install zmap on Fedora 34
Introduction
In this tutorial we learn how to install zmap
on Fedora 34.
What is zmap
ZMap is an open-source network scanner that enables researchers to easily perform Internet-wide network studies. With a single machine and a well provisioned network uplink, ZMap is capable of performing a complete scan of the IPv4 address space in under 45 minutes, approaching the theoretical limit of gigabit Ethernet. ZMap can be used to study protocol adoption over time, monitor service availability, and help us better understand large systems distributed across the Internet. ========== WARNING ========== While ZMap is a powerful tool for researchers, please keep in mind that by running ZMap, you are potentially scanning the ENTIRE IPv4 address space and some users may not appreciate your scanning. We encourage ZMap users to respect requests to stop scanning and to exclude these networks from ongoing scanning.
We can use yum
or dnf
to install zmap
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install zmap.
Install zmap on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install zmap
using dnf
by running the following command:
sudo dnf -y install zmap
Install zmap on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install zmap
using yum
by running the following command:
sudo yum -y install zmap
How To Uninstall zmap on Fedora 34
To uninstall only the zmap
package we can use the following command:
sudo dnf remove zmap
zmap Package Contents on Fedora 34
/etc/zmap
/etc/zmap/blacklist.conf
/etc/zmap/zmap.conf
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/bcb0a4ebf790936d8971af8dc9b5bec3e36f72
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/51c489155f5158e50d4e27c943e704f9e0d9f7
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/dabc7f7a00b9c92ceaeb4996bcccd8d7ba27d4
/usr/sbin/zblacklist
/usr/sbin/zmap
/usr/sbin/ztee
/usr/share/doc/zmap
/usr/share/doc/zmap/AUTHORS
/usr/share/doc/zmap/CHANGELOG.md
/usr/share/doc/zmap/README.md
/usr/share/doc/zmap/examples
/usr/share/doc/zmap/examples/forge-socket
/usr/share/doc/zmap/examples/forge-socket/Makefile
/usr/share/doc/zmap/examples/forge-socket/README
/usr/share/doc/zmap/examples/forge-socket/forge-socket.c
/usr/share/doc/zmap/examples/udp-probes
/usr/share/doc/zmap/examples/udp-probes/README
/usr/share/doc/zmap/examples/udp-probes/citrix_1604.pkt
/usr/share/doc/zmap/examples/udp-probes/db2disco_523.pkt
/usr/share/doc/zmap/examples/udp-probes/digi1_2362.pkt
/usr/share/doc/zmap/examples/udp-probes/digi2_2362.pkt
/usr/share/doc/zmap/examples/udp-probes/digi3_2362.pkt
/usr/share/doc/zmap/examples/udp-probes/dns_53.pkt
/usr/share/doc/zmap/examples/udp-probes/dns_53_queryAwww.google.com.pkt
/usr/share/doc/zmap/examples/udp-probes/dns_53_queryAwww.google.it.pkt
/usr/share/doc/zmap/examples/udp-probes/ipmi_623.pkt
/usr/share/doc/zmap/examples/udp-probes/mdns_5353.pkt
/usr/share/doc/zmap/examples/udp-probes/mssql_1434.pkt
/usr/share/doc/zmap/examples/udp-probes/natpmp_5351.pkt
/usr/share/doc/zmap/examples/udp-probes/netbios_137.pkt
/usr/share/doc/zmap/examples/udp-probes/ntp_123.pkt
/usr/share/doc/zmap/examples/udp-probes/ntp_123_monlist.pkt
/usr/share/doc/zmap/examples/udp-probes/pca_nq_5632.pkt
/usr/share/doc/zmap/examples/udp-probes/pca_st_5632.pkt
/usr/share/doc/zmap/examples/udp-probes/portmap_111.pkt
/usr/share/doc/zmap/examples/udp-probes/ripv1_520.pkt
/usr/share/doc/zmap/examples/udp-probes/sentinel_5093.pkt
/usr/share/doc/zmap/examples/udp-probes/sip_options.tpl
/usr/share/doc/zmap/examples/udp-probes/snmp1_161.pkt
/usr/share/doc/zmap/examples/udp-probes/snmp2_161.pkt
/usr/share/doc/zmap/examples/udp-probes/upnp_1900.pkt
/usr/share/doc/zmap/examples/udp-probes/wdbrpc_17185.pkt
/usr/share/doc/zmap/examples/udp-probes/wsd_3702.pkt
/usr/share/licenses/zmap
/usr/share/licenses/zmap/LICENSE
/usr/share/man/man1/zblacklist.1.gz
/usr/share/man/man1/zmap.1.gz
/usr/share/man/man1/ztee.1.gz
References
Summary
In this tutorial we learn how to install zmap
on Fedora 34 using yum and dnf.