How To Install dfuzzer on Fedora 34

dfuzzer is D-Bus fuzz testing tool

Introduction

In this tutorial we learn how to install dfuzzer on Fedora 34.

What is dfuzzer

Tool for fuzz testing processes communicating through D-Bus. It can be used to test processes connected to both, the session bus and the system bus daemon. Dfuzzer works as a client, it first connects to the bus daemon and then it traverses and fuzz tests all the methods provided by a D-Bus service.

We can use yum or dnf to install dfuzzer on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install dfuzzer.

Install dfuzzer 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 dfuzzer using dnf by running the following command:

sudo dnf -y install dfuzzer

Install dfuzzer 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 dfuzzer using yum by running the following command:

sudo yum -y install dfuzzer

How To Uninstall dfuzzer on Fedora 34

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

sudo dnf remove dfuzzer

dfuzzer Package Contents on Fedora 34

/etc/dfuzzer.conf
/usr/bin/dfuzzer
/usr/lib/.build-id
/usr/lib/.build-id/81
/usr/lib/.build-id/81/06f6f88cd54d40a21d88119f35d587f9334d7b
/usr/share/doc/dfuzzer
/usr/share/doc/dfuzzer/COPYING
/usr/share/doc/dfuzzer/ChangeLog
/usr/share/doc/dfuzzer/README.md
/usr/share/doc/dfuzzer/html
/usr/share/doc/dfuzzer/html/annotated.html
/usr/share/doc/dfuzzer/html/bc_s.png
/usr/share/doc/dfuzzer/html/bdwn.png
/usr/share/doc/dfuzzer/html/classes.html
/usr/share/doc/dfuzzer/html/closed.png
/usr/share/doc/dfuzzer/html/dfuzzer_8c.html
/usr/share/doc/dfuzzer/html/dfuzzer_8h.html
/usr/share/doc/dfuzzer/html/dfuzzer_8h_source.html
/usr/share/doc/dfuzzer/html/doc.png
/usr/share/doc/dfuzzer/html/doxygen.css
/usr/share/doc/dfuzzer/html/doxygen.svg
/usr/share/doc/dfuzzer/html/dynsections.js
/usr/share/doc/dfuzzer/html/files.html
/usr/share/doc/dfuzzer/html/folderclosed.png
/usr/share/doc/dfuzzer/html/folderopen.png
/usr/share/doc/dfuzzer/html/functions.html
/usr/share/doc/dfuzzer/html/functions_vars.html
/usr/share/doc/dfuzzer/html/fuzz_8c.html
/usr/share/doc/dfuzzer/html/fuzz_8h.html
/usr/share/doc/dfuzzer/html/fuzz_8h_source.html
/usr/share/doc/dfuzzer/html/globals.html
/usr/share/doc/dfuzzer/html/globals_defs.html
/usr/share/doc/dfuzzer/html/globals_func.html
/usr/share/doc/dfuzzer/html/globals_vars.html
/usr/share/doc/dfuzzer/html/index.html
/usr/share/doc/dfuzzer/html/introspection_8c.html
/usr/share/doc/dfuzzer/html/introspection_8h.html
/usr/share/doc/dfuzzer/html/introspection_8h_source.html
/usr/share/doc/dfuzzer/html/jquery.js
/usr/share/doc/dfuzzer/html/menu.js
/usr/share/doc/dfuzzer/html/menudata.js
/usr/share/doc/dfuzzer/html/nav_f.png
/usr/share/doc/dfuzzer/html/nav_g.png
/usr/share/doc/dfuzzer/html/nav_h.png
/usr/share/doc/dfuzzer/html/open.png
/usr/share/doc/dfuzzer/html/rand_8c.html
/usr/share/doc/dfuzzer/html/rand_8h.html
/usr/share/doc/dfuzzer/html/rand_8h_source.html
/usr/share/doc/dfuzzer/html/search
/usr/share/doc/dfuzzer/html/search/all_0.html
/usr/share/doc/dfuzzer/html/search/all_0.js
/usr/share/doc/dfuzzer/html/search/all_1.html
/usr/share/doc/dfuzzer/html/search/all_1.js
/usr/share/doc/dfuzzer/html/search/all_2.html
/usr/share/doc/dfuzzer/html/search/all_2.js
/usr/share/doc/dfuzzer/html/search/all_3.html
/usr/share/doc/dfuzzer/html/search/all_3.js
/usr/share/doc/dfuzzer/html/search/all_4.html
/usr/share/doc/dfuzzer/html/search/all_4.js
/usr/share/doc/dfuzzer/html/search/all_5.html
/usr/share/doc/dfuzzer/html/search/all_5.js
/usr/share/doc/dfuzzer/html/search/all_6.html
/usr/share/doc/dfuzzer/html/search/all_6.js
/usr/share/doc/dfuzzer/html/search/all_7.html
/usr/share/doc/dfuzzer/html/search/all_7.js
/usr/share/doc/dfuzzer/html/search/all_8.html
/usr/share/doc/dfuzzer/html/search/all_8.js
/usr/share/doc/dfuzzer/html/search/all_9.html
/usr/share/doc/dfuzzer/html/search/all_9.js
/usr/share/doc/dfuzzer/html/search/all_a.html
/usr/share/doc/dfuzzer/html/search/all_a.js
/usr/share/doc/dfuzzer/html/search/all_b.html
/usr/share/doc/dfuzzer/html/search/all_b.js
/usr/share/doc/dfuzzer/html/search/classes_0.html
/usr/share/doc/dfuzzer/html/search/classes_0.js
/usr/share/doc/dfuzzer/html/search/classes_1.html
/usr/share/doc/dfuzzer/html/search/classes_1.js
/usr/share/doc/dfuzzer/html/search/close.svg
/usr/share/doc/dfuzzer/html/search/defines_0.html
/usr/share/doc/dfuzzer/html/search/defines_0.js
/usr/share/doc/dfuzzer/html/search/defines_1.html
/usr/share/doc/dfuzzer/html/search/defines_1.js
/usr/share/doc/dfuzzer/html/search/defines_2.html
/usr/share/doc/dfuzzer/html/search/defines_2.js
/usr/share/doc/dfuzzer/html/search/files_0.html
/usr/share/doc/dfuzzer/html/search/files_0.js
/usr/share/doc/dfuzzer/html/search/files_1.html
/usr/share/doc/dfuzzer/html/search/files_1.js
/usr/share/doc/dfuzzer/html/search/files_2.html
/usr/share/doc/dfuzzer/html/search/files_2.js
/usr/share/doc/dfuzzer/html/search/files_3.html
/usr/share/doc/dfuzzer/html/search/files_3.js
/usr/share/doc/dfuzzer/html/search/functions_0.html
/usr/share/doc/dfuzzer/html/search/functions_0.js
/usr/share/doc/dfuzzer/html/search/functions_1.html
/usr/share/doc/dfuzzer/html/search/functions_1.js
/usr/share/doc/dfuzzer/html/search/mag_sel.svg
/usr/share/doc/dfuzzer/html/search/nomatches.html
/usr/share/doc/dfuzzer/html/search/search.css
/usr/share/doc/dfuzzer/html/search/search.js
/usr/share/doc/dfuzzer/html/search/search_l.png
/usr/share/doc/dfuzzer/html/search/search_m.png
/usr/share/doc/dfuzzer/html/search/search_r.png
/usr/share/doc/dfuzzer/html/search/searchdata.js
/usr/share/doc/dfuzzer/html/search/variables_0.html
/usr/share/doc/dfuzzer/html/search/variables_0.js
/usr/share/doc/dfuzzer/html/search/variables_1.html
/usr/share/doc/dfuzzer/html/search/variables_1.js
/usr/share/doc/dfuzzer/html/search/variables_2.html
/usr/share/doc/dfuzzer/html/search/variables_2.js
/usr/share/doc/dfuzzer/html/search/variables_3.html
/usr/share/doc/dfuzzer/html/search/variables_3.js
/usr/share/doc/dfuzzer/html/search/variables_4.html
/usr/share/doc/dfuzzer/html/search/variables_4.js
/usr/share/doc/dfuzzer/html/search/variables_5.html
/usr/share/doc/dfuzzer/html/search/variables_5.js
/usr/share/doc/dfuzzer/html/search/variables_6.html
/usr/share/doc/dfuzzer/html/search/variables_6.js
/usr/share/doc/dfuzzer/html/search/variables_7.html
/usr/share/doc/dfuzzer/html/search/variables_7.js
/usr/share/doc/dfuzzer/html/search/variables_8.html
/usr/share/doc/dfuzzer/html/search/variables_8.js
/usr/share/doc/dfuzzer/html/search/variables_9.html
/usr/share/doc/dfuzzer/html/search/variables_9.js
/usr/share/doc/dfuzzer/html/splitbar.png
/usr/share/doc/dfuzzer/html/structdf__sig__list.html
/usr/share/doc/dfuzzer/html/structdf__signature.html
/usr/share/doc/dfuzzer/html/structfuzzing__target.html
/usr/share/doc/dfuzzer/html/sync_off.png
/usr/share/doc/dfuzzer/html/sync_on.png
/usr/share/doc/dfuzzer/html/tab_a.png
/usr/share/doc/dfuzzer/html/tab_b.png
/usr/share/doc/dfuzzer/html/tab_h.png
/usr/share/doc/dfuzzer/html/tab_s.png
/usr/share/doc/dfuzzer/html/tabs.css
/usr/share/doc/dfuzzer/latex
/usr/share/doc/dfuzzer/latex/Makefile
/usr/share/doc/dfuzzer/latex/annotated.tex
/usr/share/doc/dfuzzer/latex/dfuzzer_8c.tex
/usr/share/doc/dfuzzer/latex/dfuzzer_8h.tex
/usr/share/doc/dfuzzer/latex/doxygen.sty
/usr/share/doc/dfuzzer/latex/files.tex
/usr/share/doc/dfuzzer/latex/fuzz_8c.tex
/usr/share/doc/dfuzzer/latex/fuzz_8h.tex
/usr/share/doc/dfuzzer/latex/introspection_8c.tex
/usr/share/doc/dfuzzer/latex/introspection_8h.tex
/usr/share/doc/dfuzzer/latex/longtable_doxygen.sty
/usr/share/doc/dfuzzer/latex/rand_8c.tex
/usr/share/doc/dfuzzer/latex/rand_8h.tex
/usr/share/doc/dfuzzer/latex/refman.tex
/usr/share/doc/dfuzzer/latex/structdf__sig__list.tex
/usr/share/doc/dfuzzer/latex/structdf__signature.tex
/usr/share/doc/dfuzzer/latex/structfuzzing__target.tex
/usr/share/doc/dfuzzer/latex/tabu_doxygen.sty
/usr/share/man/man1/dfuzzer.1.gz

References

Summary

In this tutorial we learn how to install dfuzzer on Fedora 34 using yum and dnf.