This handy Linux tool snitches on sneaky apps – here’s why and how it’s helpful

OpenSnitch is a Linux app that alerts you when an app attempts to connect to the internet

Jack Wallen / Elyse Betters Picaro / ZDNET

OpenSnitch is a Linux port of the popular MacOS app Little Snitch. This app is essentially an application firewall that tracks network requests from apps, so you can create rules to block or allow those requests.

Why is that important?

Also: 7 things every Linux beginner should know before downloading their first distro

Say, for example, that you’ve installed a Linux app that shouldn’t require internet access (those do still exist). You’re using that app with OpenSnitch running, and it reports that the app has made an outgoing internet connection. What gives? That shouldn’t be the case. It’s possible the app is sending telemetry (which could include information about your activity) to some third party.

You don’t want that.

Also: You can try Linux without ditching Windows first – here’s how

With OpenSnitch, you’ll know when these things occur, and when they do, you can take action to block those outgoing requests. This is a great tool to help you keep your privacy and security intact. Let me show you how to install the app and how it’s used.

How to install OpenSnitch

What you’ll need: I’m going to demonstrate this on Ubuntu Linux 24.04. OpenSnitch can also be installed on Fedora-based distributions, and you’ll only need to modify the installation commands. So, you’ll need a running instance of an Ubuntu-based distribution and a user with sudo privileges. That’s it. Let’s make it happen.

The first thing you’ll do is download the necessary files for OpenSnitch. Open your web browser and point it to the OpenSnitch download page. There are two files you need to download: the client and the daemon. Save those two files in your ~/Downloads directory.


Show more

The first piece you’ll install is the daemon, which is done with the command:


Show more

sudo dpkg -i opensnitch*.deb

If that installation errors out, you might need to run the apt command to fix the issue with:

sudo apt-get install -f

Next, we’ll install the GUI frontend with the command:


Show more

sudo dpkg -i python3-opensnitch*.deb

Once those two pieces are in place, you then need to start and enable the daemon with the command:


Show more

sudo systemctl enable –now opensnitch

Everything should be ready to go.

How to use OpenSnitch

1. Open the app

You should find an entry for OpenSnitch in your desktop menu. Click that entry to start the app. It will most likely open immediately but appear only as an icon in your system tray. Right-click that icon and then select “Open main window.”

2. Check the applications tab

Click the Applications tab in the main window. At first, you probably won’t find any applications listed. Give it time, and apps will start showing up. Some of those apps are obviously legit. However, if you spot an app that clearly shouldn’t be reaching out to the network, you could also check the Hosts tab to see if there are any questionable domains listed. For example, in my output, I see example.org listed. Why is a domain for testing listed? Maybe it shouldn’t be allowed?

Also: My 5 favorite Linux distros for home office desktops – and I’ve tried them all

The OpenSnitch Applications tab.

You will find a varying degree of applications listed here.

Jack Wallen/ZDNET

3. Create a rule

If you spot an app that shouldn’t be calling out to the internet, click the Rules button near the upper left of the window (the icon with the tiny + symbol). Let’s say we want to create a rule that blocks outgoing traffic to example.org. To do that, in the New Rule window, do the following:

  • Name – let’s call it example.org.
  • Description – blocking outgoing traffic to example.org
  • Enable – yes
  • Action – deny
  • Network tab > “To this host” – www.example.org
  • Click Save to save the rule.
The OpenSnitch New Rule window.

Creating a rule for a network is simple.

Jack Wallen/ZDNET

At this point, any outgoing traffic to example.org will be blocked.

Also: 7 ways Linux can save you money

You can also create rules for applications by creating a rule in the Applications tab in the New Rule window. Make sure you type the exact path to the executable (you’ll see an example listed) that will instruct OpenSnitch which application the rule applies to.

The OpenSnitch New Rule window on the Applications tab.

Creating a new rule based on an application.

Jack Wallen/ZDNET

And that’s it. The one caveat to using OpenSnitch is that you must have it running, and you’ll need to watch the Events tab to see if there’s any unnecessary outgoing traffic.

Also: Want to save your old computer? Try one of these 8 Linux distros for free

Keep watch, and you’ll enjoy a more secure and private Linux experience.

Get the morning’s top stories in your inbox each day with our Tech Today newsletter.



Source link

Visited 1 times, 1 visit(s) today

Related Article

In Vehicle Apps Market | Global Market Analysis Report

In Vehicle Apps Market Size and Share Forecast Outlook 2025 to 2035 The In Vehicle Apps Market is estimated to be valued at USD 68.2 billion in 2025 and is projected to reach USD 160.0 billion by 2035, registering a compound annual growth rate (CAGR) of 8.9% over the forecast period. Based on our peak-to-trough

Malware Ads Posing As Crypto Apps May Have Reached 10M users

An estimated 10 million people globally have been exposed to online advertisements spruiking fake crypto apps with malware, warns cybersecurity firm Check Point. Check Point Research said on Tuesday that it had been tracking a malware campaign it named “JSCEAL” that targets crypto users by impersonating common crypto trading apps. The campaign has been active

The 10 apps I can’t live or work without – on Windows, Mac, and mobile

berkozel/Getty Images Every five years or so, I make an inventory of the apps I use most frequently. It’s always fascinating to see how the list has changed over time, and it usually says something about the computing landscape. When I did that exercise this year, I was astonished at the changes. Half of the

Peloton vs. Les Mills+: Which Is the Better At-Home Workout App?

We may earn a commission from links on this page. Deal pricing and availability subject to change after time of publication. Over the past year, I’ve started taking my at-home workouts more seriously, crafting routines and using apps to make sure I’m getting the most out of my time. A major chunk of all of

Oppo Find N5 Review: Stellar Foldable Has One Big Problem

At a glance Expert’s Rating Pros Excellent performance Great user experience with nice AI additions Impressive and unique productivity features Maintains stylus support, unlike rivals Cons Hard to come by in most markets Thermal performance concerns Battery life could be better Our Verdict Despite fresh-faced competition, the Oppo Find N5 doesn’t really lose its edge,