How To Install obfs4 on Fedora 34
Introduction
In this tutorial we learn how to install obfs4
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install obfs4.
Install obfs4 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 obfs4
using dnf
by running the following command:
sudo dnf -y install obfs4
Install obfs4 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 obfs4
using yum
by running the following command:
sudo yum -y install obfs4
How To Uninstall obfs4 on Fedora 34
To uninstall only the obfs4
package we can use the following command:
sudo dnf remove obfs4
obfs4 Package Contents on Fedora 34
/etc/tor
/etc/tor/obfs4.torrc
/usr/bin/obfs4proxy
/usr/lib/.build-id
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/79c0e8bbe364b49151cb9c5f6931976a2b0f63
/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 34 using yum and dnf.