How To Install derrick on CentOS 7
Introduction
In this tutorial we learn how to install derrick on CentOS 7.
What is derrick
Derrick is a simple tool for recording data streams of TCP and UDP traffic. It shares similarities with other network recorders, such as tcpflow and wireshark, where it is more advanced than the first and clearly inferior to the latter. Derrick has been specifically designed to monitor application-layer communication. In contrast to other tools the application data is logged in a line-based ASCII format. Common UNIX tools, such as grep, sed & awk, can be directly applied. Even replay of recorded communication is straight forward using netcat. Derrick supports on-the-fly compression and rotation of log files. The payloads of TCP sessions are re-assembled using Libnids and can be merged or truncated. UDP payloads are logged as-is. Details of lower network layers are omitted.
We can use yum or dnf to install derrick on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install derrick.
Install derrick on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install derrick using yum by running the following command:
sudo yum -y install derrick
Install derrick 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 derrick using dnf by running the following command:
sudo dnf -y install derrick
How To Uninstall derrick on CentOS 7
To uninstall only the derrick package we can use the following command:
sudo dnf remove derrick
References
Summary
In this tutorial we learn how to install derrick on CentOS 7 using yum and dnf.