How To Install obfs4 on Fedora 36

In this tutorial we learn how to install obfs4 in Fedora 36. obfs4 is The obfourscator, a pluggable transport for Tor

Introduction

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

What is obfs4

This is a look-like nothing obfuscation protocol that incorporates ideas and concepts from Philipp Winter’s ScrambleSuit protocol. The obfs naming was chosen primarily because it was shorter, in terms of protocol ancestry obfs4 is much closer to ScrambleSuit than obfs2/obfs3. The notable differences between ScrambleSuit and obfs4 * The handshake always does a full key exchange (no such thing as a Session Ticket Handshake). * The handshake uses the Tor Project’s ntor handshake with public keys obfuscated via the Elligator 2 mapping. * The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20). As an added bonus, obfs4proxy also supports acting as an obfs2/3 client and bridge to ease the transition to the new protocol.

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

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

sudo dnf -y install obfs4

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

sudo yum -y install obfs4

How To Uninstall obfs4 on Fedora 36

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

sudo dnf remove obfs4

obfs4 Package Contents on Fedora 36

/etc/tor
/etc/tor/obfs4.torrc
/usr/bin/obfs4proxy
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/b47078ad3c49ddb8214cc67a0fea2a0bb23b46
/usr/share/doc/obfs4
/usr/share/doc/obfs4/ChangeLog
/usr/share/doc/obfs4/README.md
/usr/share/doc/obfs4/doc
/usr/share/doc/obfs4/doc/obfs4-spec.txt
/usr/share/doc/obfs4/doc/obfs4proxy.1
/usr/share/licenses/obfs4
/usr/share/licenses/obfs4/LICENSE
/usr/share/licenses/obfs4/LICENSE-GPL3.txt
/usr/share/man/man1/obfs4proxy.1.gz

References

Summary

In this tutorial we learn how to install obfs4 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).