How To Install netsniff-ng on Fedora 36

In this tutorial we learn how to install netsniff-ng in Fedora 36. netsniff-ng is Packet sniffing beast

Introduction

In this tutorial we learn how to install netsniff-ng on Fedora 36.

What is netsniff-ng

netsniff-ng is a high performance Linux network sniffer for packet inspection. It can be used for protocol analysis, reverse engineering or network debugging. The gain of performance is reached by ‘zero-copy’ mechanisms, so that the kernel does not need to copy packets from kernelspace to userspace. netsniff-ng toolkit currently consists of the following utilities * netsniff-ng * trafgen * ifpps * curvetun * ashunt * flowtop * bpfc

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

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

sudo dnf -y install netsniff-ng

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

sudo yum -y install netsniff-ng

How To Uninstall netsniff-ng on Fedora 36

To uninstall only the netsniff-ng package we can use the following command:

sudo dnf remove netsniff-ng

netsniff-ng Package Contents on Fedora 36

/etc/netsniff-ng
/etc/netsniff-ng/ether.conf
/etc/netsniff-ng/geoip.conf
/etc/netsniff-ng/oui.conf
/etc/netsniff-ng/stddef.h
/etc/netsniff-ng/tcp.conf
/etc/netsniff-ng/udp.conf
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/5e7968ff34c0769fbca057fdf38e39cb9fe6a6
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/8bca065cf3567ddef1ddd38147479c5c0c0241
/usr/lib/.build-id/34
/usr/lib/.build-id/34/34944055369a0044c8f34ad4ff908bdec1fb1a
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/5bfbd62e854a8e50743ac29918600ef2a8ba1e
/usr/lib/.build-id/67
/usr/lib/.build-id/67/12eb9b4e995a7e93150b31923e789e8ef319a5
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/6ac8c41cf2ab8912e82aeea54a861f3aed996b
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/0dd3fef2a4852c456ddeaab4d9f5d504bc608b
/usr/lib/.build-id/af
/usr/lib/.build-id/af/37308d17c49f53dbb91a9e3248afd2567ca203
/usr/sbin/astraceroute
/usr/sbin/bpfc
/usr/sbin/curvetun
/usr/sbin/flowtop
/usr/sbin/ifpps
/usr/sbin/mausezahn
/usr/sbin/netsniff-ng
/usr/sbin/trafgen
/usr/share/doc/netsniff-ng
/usr/share/doc/netsniff-ng/AUTHORS
/usr/share/doc/netsniff-ng/COPYING
/usr/share/doc/netsniff-ng/README
/usr/share/man/man8/astraceroute.8.gz
/usr/share/man/man8/bpfc.8.gz
/usr/share/man/man8/curvetun.8.gz
/usr/share/man/man8/flowtop.8.gz
/usr/share/man/man8/ifpps.8.gz
/usr/share/man/man8/mausezahn.8.gz
/usr/share/man/man8/netsniff-ng.8.gz
/usr/share/man/man8/trafgen.8.gz

References

Summary

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