fwsnort command not found

In this troubleshooting guide we learn how to fix fwsnort command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

fwsnort: command not found

or when using sudo you get the following error message

sudo: fwsnort: command not found

Solutions to fwsnort: command not found

How To Fix fwsnort: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fwsnort is provided by fwsnort package.

fwsnort is:

Fwsnort translates Snort rules into equivalent iptables rules and generates a shell script that implements the resulting iptables commands.

This allows network traffic that matches Snort signatures to be logged and/or dropped by iptables directly without putting any interface into promiscuous mode or queuing packets from kernel to user space.

To fix this problem, we can install more using the command below.

sudo apt-get -y install fwsnort

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install fwsnort.

sudo apt -y install fwsnort

Or if you have aptitude installed you can use the following command.

sudo aptitude install fwsnort

Summary

In this tutorial we learn how to fix fwsnort command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.