How To Install iptstate.x86_64 on Amazon Linux 2

In this tutorial we learn how to install iptstate.x86_64 in Amazon Linux 2. iptstate.x86_64 is A top-like display of IP Tables state table entries

Introduction

In this tutorial we learn how to install iptstate.x86_64 on Amazon Linux 2.

What is iptstate.x86_64

IP Tables State (iptstate) was originally written to implement the “state top” feature of IP Filter in IP Tables. “State top” displays the states held by your stateful firewall in a top-like manner. Since IP Tables doesn’t have a built in way to easily display this information even once, an option was added to just have it display the state table once. Features include - Top-like realtime state table information - Sorting by any field - Reversible sorting - Single display of state table - Customizable refresh rate - Display filtering - Color-coding - Open Source - much more…

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

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

sudo yum -y install iptstate.x86_64

How To Uninstall iptstate.x86_64 on Amazon Linux 2

To uninstall only the iptstate.x86_64 package we can use the following command:

sudo yum remove iptstate.x86_64

iptstate.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/iptstate
/usr/share/doc/iptstate-2.2.5
/usr/share/doc/iptstate-2.2.5/LICENSE
/usr/share/doc/iptstate-2.2.5/README
/usr/share/man/man8/iptstate.8.gz

References

Summary

In this tutorial we learn how to install iptstate.x86_64 on Amazon Linux 2 using yum.