How To Install addrwatch on Fedora 36

In this tutorial we learn how to install addrwatch in Fedora 36. addrwatch is Monitoring IPv4/IPv6 and Ethernet address pairings

Introduction

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

What is addrwatch

It main purpose is to monitor network and log discovered Ethernet/IP pairings. Main features of addrwatch * IPv4 and IPv6 address monitoring * Monitoring multiple network interfaces with one daemon * Monitoring of VLAN tagged (802.1Q) packets. * Output to std-out, plain text file, syslog, sqlite3 db, MySQL db * IP address usage history preserving output/logging Addrwatch is extremely useful in networks with IPv6 auto configuration (RFC4862) enabled. It allows to track IPv6 addresses of hosts using IPv6 privacy extensions (RFC4941).

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

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

sudo dnf -y install addrwatch

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

sudo yum -y install addrwatch

How To Uninstall addrwatch on Fedora 36

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

sudo dnf remove addrwatch

addrwatch Package Contents on Fedora 36

/etc/sysconfig/addrwatch
/usr/bin/addrwatch
/usr/bin/addrwatch_mysql
/usr/bin/addrwatch_stdout
/usr/bin/addrwatch_syslog
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/d5d13b751604270d5bf69a6601d9eb2f240df0
/usr/lib/.build-id/62
/usr/lib/.build-id/62/4acda4d208d52916203a6faf0a025cd224b6f6
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/abc69caabe598308a91ef98251110237ecea83
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/58ac8b47b369157dcc23ac3997a4c5dfcc0902
/usr/lib/systemd/system/addrwatch.service
/usr/share/licenses/addrwatch
/usr/share/licenses/addrwatch/COPYING
/usr/share/man/man8/addrwatch.8.gz
/var/lib/addrwatch

References

Summary

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