How To Install p0f on Fedora 34
Introduction
In this tutorial we learn how to install p0f
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install p0f.
Install p0f 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 p0f
using dnf
by running the following command:
sudo dnf -y install p0f
Install p0f 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 p0f
using yum
by running the following command:
sudo yum -y install p0f
How To Uninstall p0f on Fedora 34
To uninstall only the p0f
package we can use the following command:
sudo dnf remove p0f
p0f Package Contents on Fedora 34
/etc/p0f
/etc/p0f/p0f.fp
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/542a703d28e46ecbae0cd975573f773c7343ed
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/b1d9f853954b12683116551625efea6a10722d
/usr/lib/.build-id/15
/usr/lib/.build-id/15/cfbe17a83eca5cfa6c73a3e15193976623cc70
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/dcc74bb04a89efc55193bc319d9832f4d8f48f
/usr/sbin/p0f
/usr/sbin/p0f-client
/usr/sbin/p0f-sendsyn
/usr/sbin/p0f-sendsyn6
/usr/share/doc/p0f
/usr/share/doc/p0f/COPYING
/usr/share/doc/p0f/ChangeLog
/usr/share/doc/p0f/README
/usr/share/doc/p0f/README-TOOLS
/usr/share/doc/p0f/TODO
/usr/share/doc/p0f/existential-notes.txt
/usr/share/doc/p0f/extra-sigs.txt
References
Summary
In this tutorial we learn how to install p0f
on Fedora 34 using yum and dnf.