In today's enterprise environments, where security is a major issue, there are lots of tools available for securing network infrastructure and communication over the internet. Snort is one of those tools, available for free as it is open source. It is a lightweight network intrusion detection and prevention system. Snort works in three different modes: sniffer mode, packet logging mode, and network intrusion detection system mode.
Before getting started with the installation of Snort, ensure that our system is up to date and install the required dependencies on it. To install the required dependencies, we run the following command:
Snort can be installed on Ubuntu, either from its source code or through the deb package. In this section, we will install Snort using the deb package:
- To get started, we install on our Ubuntu system, using the
apt-get
command, as shown here: