How To Install netsed on CentOS 7

In this tutorial we learn how to install netsed on CentOS 7. netsed is A tool to modify network packets

Introduction

In this tutorial we learn how to install netsed on CentOS 7.

What is netsed

NetSED is small and handful utility designed to alter the contents of packets forwarded through your network in real time. It is really useful for network hackers in following applications * black-box protocol auditing - whenever there are two or more proprietary boxes communicating over undocumented protocol (by enforcing changes in ongoing transmissions, you will be able to test if tested application is secure), * fuzz-alike experiments, integrity tests - whenever you want to test stability of the application and see how it ensures data integrity, * other common applications - fooling other people, content filtering, etc - choose whatever you want to.

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

Install netsed on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install netsed using yum by running the following command:

sudo yum -y install netsed

Install netsed on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install netsed using dnf by running the following command:

sudo dnf -y install netsed

How To Uninstall netsed on CentOS 7

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

sudo dnf remove netsed

References

Summary

In this tutorial we learn how to install netsed on CentOS 7 using yum and dnf.