How To Install netsniff-ng.x86_64 on Amazon Linux 2

In this tutorial we learn how to install netsniff-ng.x86_64 in Amazon Linux 2. netsniff-ng.x86_64 is Packet sniffing beast

Introduction

In this tutorial we learn how to install netsniff-ng.x86_64 on Amazon Linux 2.

What is netsniff-ng.x86_64

The netsniff-ng toolkit currently consists of the following utilities * netsniff-ng itself. * trafgen * astraceroute utility. * ifpps * bpfc extensions.

We can use yum to install netsniff-ng.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install netsniff-ng.x86_64.

Install netsniff-ng.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install netsniff-ng.x86_64 using yum by running the following command:

sudo yum -y install netsniff-ng.x86_64

How To Uninstall netsniff-ng.x86_64 on Amazon Linux 2

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

sudo yum remove netsniff-ng.x86_64

netsniff-ng.x86_64 Package Contents on Amazon Linux 2

/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/sbin/astraceroute
/usr/sbin/bpfc
/usr/sbin/ifpps
/usr/sbin/netsniff-ng
/usr/sbin/trafgen
/usr/share/doc/netsniff-ng-0.5.8
/usr/share/doc/netsniff-ng-0.5.8/AUTHORS
/usr/share/doc/netsniff-ng-0.5.8/COPYING
/usr/share/doc/netsniff-ng-0.5.8/README
/usr/share/man/man8/astraceroute.8.gz
/usr/share/man/man8/bpfc.8.gz
/usr/share/man/man8/ifpps.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.x86_64 on Amazon Linux 2 using yum.