How To Install p0f on Fedora 36

In this tutorial we learn how to install p0f in Fedora 36. p0f is Versatile passive OS fingerprinting tool

Introduction

In this tutorial we learn how to install p0f on Fedora 36.

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 36. In this tutorial we discuss both methods but you only need to choose one of method to install p0f.

Install p0f on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install p0f using dnf by running the following command:

sudo dnf -y install p0f

Install p0f on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

To uninstall only the p0f package we can use the following command:

sudo dnf remove p0f

p0f Package Contents on Fedora 36

/etc/p0f
/etc/p0f/p0f.fp
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/cee7b9e3aa3b000a8479ec5529effa247ca286
/usr/lib/.build-id/75
/usr/lib/.build-id/75/29e5cd5ffcb3bcc71f8ba59a4f97d19c3583bd
/usr/lib/.build-id/78
/usr/lib/.build-id/78/fbd9e825abd05a196aba8be3c3ffa4d5018eee
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/93d093147e4ee1c969a61598f1c127cc7ff129
/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 36 using yum and [dnf]((/fedora/36/dnf/).