How To Install libnids on Fedora 34

libnids is Implementation of an E-component of Network Intrusion Detection System Implementation of an E-component of Network Intrusion Detection System

Introduction

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

What is libnids

Libnids is an implementation of an E-component of Network Intrusion Detection System. It emulates the IP stack of Linux 2.x and offers IP defragmentation, TCP stream assembly and TCP port scan detection. Using libnids, one has got a convenient access to data carried by a TCP stream, no matter how artfully obscured by an attacker. libnids 1.24 22.fc34 x86_64 44 k libnids-1.24-22.fc34.src.rpm fedora Implementation of an E-component of Network Intrusion Detection System http GPLv2+ Libnids is an implementation of an E-component of Network Intrusion Detection System. It emulates the IP stack of Linux 2.x and offers IP defragmentation, TCP stream assembly and TCP port scan detection. Using libnids, one has got a convenient access to data carried by a TCP stream, no matter how artfully obscured by an attacker.

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

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

sudo dnf -y install libnids

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

sudo yum -y install libnids

How To Uninstall libnids on Fedora 34

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

sudo dnf remove libnids

libnids Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/bbc08007649570bfefe9e21bd1b7d1d6940cb7
/usr/lib64/libnids.so.1.24
/usr/share/doc/libnids
/usr/share/doc/libnids/CHANGES
/usr/share/doc/libnids/CREDITS
/usr/share/doc/libnids/MISC
/usr/share/doc/libnids/README
/usr/share/licenses/libnids
/usr/share/licenses/libnids/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/200134cf6942266d3cd30bdab6f0e1f8086ccc
/usr/lib/libnids.so.1.24
/usr/share/doc/libnids
/usr/share/doc/libnids/CHANGES
/usr/share/doc/libnids/CREDITS
/usr/share/doc/libnids/MISC
/usr/share/doc/libnids/README
/usr/share/licenses/libnids
/usr/share/licenses/libnids/COPYING

References

Summary

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