Little Snitch is a traditional software firewall for macOS. You can use it to monitor applications, preventing or permitting them to connect to attached networks through advanced rules. OpenSnitch is a GNU/Linux port of the Little Snitch application firewall written in Python.

The software is still in early stage of development, and alpha quality software, don’t rely on it (yet) for your computer security. However, this software can be very useful for Linux desktop users. Make sure you have a correctly configured Go programming layg version 1.8 or above environment. Also set up correct $GOPATH environment variable.

OpenSnitch installation

Install required software using apt-get command or apt command:
$ sudo apt install git libnetfilter-queue-dev libpcap-dev protobuf-compiler python3-pip
Sample outputs:

Fig.01: Installed required build tools

Make sure we installed needed tools using golang:
$ go get github.com/golang/protobuf/protoc-gen-go
$ go get -u github.com/golang/dep/cmd/dep
$ cd $GOPATH/src/github.com/golang/dep
$ ./install.sh
$ export PATH=$PATH:$GOPATH/bin

Also install required Python stuff:
python3 -m pip install --user grpcio-tools
Next, clone the repository
$ go get github.com/evilsocket/opensnitch
$ cd $GOPATH/src/github.com/evilsocket/opensnitch

Compile and install it:
$ make
$ sudo make install

nable opensnitchd as a systemd service and start the UI

Run the following two commands:
$ sudo systemctl enable opensnitchd
$ sudo service opensnitchd start

Fig.02: Running opensnitch

The Little Snitch application firewall will start working immediately and will show dialog as follows:

Fig.03: Opensnitch in action

Click to enlarge

You can allow, deny or whitelist apps. I hope the author will continue work on this app and releases a beta and stable version for the good of GNU/Linux users. For more info visit project home page here.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 2 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
2 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum