PortSentry

As a system administrator, one major concern is to protect the system from network intrusions.

This is where PortSentry comes into the picture. It has the ability to detect scans on a host system and react to those scans in the way we choose.

Getting Ready

To demonstrate the implementation and usage of PortSentry, we need two systems on the same network that can ping each other.

Also, we need the Nmap package on one system, which will be used as the client, and on the other system, we will install and configure the PortSentry package.

To install the Nmap package, use the following command:

apt-get install nmap
Getting Ready

How to do it?

  1. On the first system, ...

Get Practical Linux Security Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.