How To Install ebtables-legacy on Fedora 36

In this tutorial we learn how to install ebtables-legacy in Fedora 36. ebtables-legacy is Legacy user space tool to configure bridge netfilter rules in kernel

Introduction

In this tutorial we learn how to install ebtables-legacy on Fedora 36.

What is ebtables-legacy

Ethernet bridge tables is a firewalling tool to transparently filter network traffic passing a bridge. The filtering possibilities are limited to link layer filtering and some basic filtering on higher network layers. This tool is the userspace control for the bridge and ebtables kernel components (built by default in Fedora kernels). The ebtables tool can be used together with the other Linux filtering tools, like iptables. There are no known incompatibility issues. Note that it is considered legacy upstream since nftables provides the same functionality in a much newer code-base. To aid in migration, there is ebtables-nft utility, a drop-in replacement for the legacy one which uses nftables internally. It is provided by iptables-nft package.

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

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

sudo dnf -y install ebtables-legacy

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

sudo yum -y install ebtables-legacy

How To Uninstall ebtables-legacy on Fedora 36

To uninstall only the ebtables-legacy package we can use the following command:

sudo dnf remove ebtables-legacy

ebtables-legacy Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/4975c40bf8eeb496b04f5ab2f003ba0f4d6082
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/02f1b1e1c47c878cf961d2f89cb4e5389deb11
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/f36e6cf66f1da74ce771592fdada4021f1b38b
/usr/lib64/libebtc.so
/usr/lib64/libebtc.so.0
/usr/lib64/libebtc.so.0.0.0
/usr/sbin/ebtables
/usr/sbin/ebtables-legacy
/usr/sbin/ebtables-legacy-restore
/usr/sbin/ebtables-legacy-save
/usr/sbin/ebtables-restore
/usr/sbin/ebtables-save
/usr/share/doc/ebtables-legacy
/usr/share/doc/ebtables-legacy/ChangeLog
/usr/share/doc/ebtables-legacy/THANKS
/usr/share/licenses/ebtables-legacy
/usr/share/licenses/ebtables-legacy/COPYING
/usr/share/man/man8/ebtables-legacy.8.gz
/usr/share/man/man8/ebtables.8.gz

References

Summary

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


title: “How To Install ebtables-legacy on Fedora 36” linkTitle: “ebtables-legacy” type: “docs” description: “In this tutorial we learn how to install ebtables-legacy in Fedora 36. ebtables-legacy is Legacy user space tool to configure bridge netfilter rules in kernel” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ebtables-legacy-featured.png

Introduction

In this tutorial we learn how to install ebtables-legacy on Fedora 36.

What is ebtables-legacy

Ethernet bridge tables is a firewalling tool to transparently filter network traffic passing a bridge. The filtering possibilities are limited to link layer filtering and some basic filtering on higher network layers. This tool is the userspace control for the bridge and ebtables kernel components (built by default in Fedora kernels). The ebtables tool can be used together with the other Linux filtering tools, like iptables. There are no known incompatibility issues. Note that it is considered legacy upstream since nftables provides the same functionality in a much newer code-base. To aid in migration, there is ebtables-nft utility, a drop-in replacement for the legacy one which uses nftables internally. It is provided by iptables-nft package.

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

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

sudo dnf -y install ebtables-legacy

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

sudo yum -y install ebtables-legacy

How To Uninstall ebtables-legacy on Fedora 36

To uninstall only the ebtables-legacy package we can use the following command:

sudo dnf remove ebtables-legacy

ebtables-legacy Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/1fe5ad136b40ef9adb1e99d8e65e7759d98496
/usr/lib/.build-id/87
/usr/lib/.build-id/87/85f79ce4ea3d3e378813e96786e53bcf27b18a
/usr/lib/.build-id/89
/usr/lib/.build-id/89/7062ea7acaf4c47157dca83609df017cc69139
/usr/lib/libebtc.so
/usr/lib/libebtc.so.0
/usr/lib/libebtc.so.0.0.0
/usr/sbin/ebtables
/usr/sbin/ebtables-legacy
/usr/sbin/ebtables-legacy-restore
/usr/sbin/ebtables-legacy-save
/usr/sbin/ebtables-restore
/usr/sbin/ebtables-save
/usr/share/doc/ebtables-legacy
/usr/share/doc/ebtables-legacy/ChangeLog
/usr/share/doc/ebtables-legacy/THANKS
/usr/share/licenses/ebtables-legacy
/usr/share/licenses/ebtables-legacy/COPYING
/usr/share/man/man8/ebtables-legacy.8.gz
/usr/share/man/man8/ebtables.8.gz

References

Summary

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