How To Install p0f on CentOS 7
Introduction
In this tutorial we learn how to install p0f on CentOS 7.
What is p0f
P0f is a versatile passive OS fingerprinting tool. P0f can identify the system on machines that talk thru or near your box. p0f will also check masquerading and firewall presence, the distance to the remote system and its uptime, other guy’s network hookup (DSL, OC3, avian carriers) and his ISP.
We can use yum or dnf to install p0f on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install p0f.
Install p0f on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install p0f using yum by running the following command:
sudo yum -y install p0f
Install p0f on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install p0f using dnf by running the following command:
sudo dnf -y install p0f
How To Uninstall p0f on CentOS 7
To uninstall only the p0f package we can use the following command:
sudo dnf remove p0f
References
Summary
In this tutorial we learn how to install p0f on CentOS 7 using yum and dnf.