How To Install tcpcrypt on Fedora 34

tcpcrypt is Opportunistically encrypt TCP connections Opportunistically encrypt TCP connections

Introduction

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

What is tcpcrypt

Provides a protocol that attempts to encrypt (almost) all of your network traffic. Unlike other security mechanisms, Tcpcrypt works out of the box and your network connections will continue to work even if the remote end does not support tcpcrypt 0.5 4.fc34 x86_64 69 k tcpcrypt-0.5-4.fc34.src.rpm fedora Opportunistically encrypt TCP connections http BSD Provides a protocol that attempts to encrypt (almost) all of your network traffic. Unlike other security mechanisms, Tcpcrypt works out of the box and your network connections will continue to work even if the remote end does not support

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

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

sudo dnf -y install tcpcrypt

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

sudo yum -y install tcpcrypt

How To Uninstall tcpcrypt on Fedora 34

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

sudo dnf remove tcpcrypt

tcpcrypt Package Contents on Fedora 34

/run/tcpcryptd
/usr/bin/tcnetstat
/usr/bin/tcpcryptd
/usr/bin/tcpcryptd-firewall
/usr/bin/tcs
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/ab19c6f1f8fe563e29d2223bc071254a51d0c5
/usr/lib/.build-id/65
/usr/lib/.build-id/65/3d59678ea621f9b52ea5e478c1770d5c0304a9
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/41c9dbee10c2a0a963d0b6024b5d3d6d808eb5
/usr/lib/firewalld/services/tcpcryptd.xml
/usr/lib/systemd/system/tcpcryptd.service
/usr/lib/tmpfiles.d/tcpcrypt.conf
/usr/share/doc/tcpcrypt
/usr/share/doc/tcpcrypt/README.markdown
/usr/share/licenses/tcpcrypt
/usr/share/licenses/tcpcrypt/LICENSE
/usr/share/man/man8/tcnetstat.8.gz
/usr/share/man/man8/tcpcryptd.8.gz
/run/tcpcryptd
/usr/bin/tcnetstat
/usr/bin/tcpcryptd
/usr/bin/tcpcryptd-firewall
/usr/bin/tcs
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/e2e8ec0fb9ec37e2b1e6a6d3d84783311ad655
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/250f237d6cd4771fcc44a5064f1879543c4e57
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/72339738f1be1d01cf1e01bdd479ef2ed0924d
/usr/lib/firewalld/services/tcpcryptd.xml
/usr/lib/systemd/system/tcpcryptd.service
/usr/lib/tmpfiles.d/tcpcrypt.conf
/usr/share/doc/tcpcrypt
/usr/share/doc/tcpcrypt/README.markdown
/usr/share/licenses/tcpcrypt
/usr/share/licenses/tcpcrypt/LICENSE
/usr/share/man/man8/tcnetstat.8.gz
/usr/share/man/man8/tcpcryptd.8.gz

References

Summary

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