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

Vietnam’s EV market heats up amid intense competition

Customers receive electric vehicle consultations at a dealership on To Ngoc Van Street in Linh Xuan Ward, Ho Chi Minh City. Photo: Thanh Hiep / Tuoi Tre Against the backdrop of policies gradually limiting gasoline vehicles in Hanoi and Ho Chi Minh City, the EV sector is

Samsung TV service down: Users say apps not loading amid widespread outage

Samsung TV is down for thousands of users in the United States on Thursday afternoon. More than 2000 users have been reporting an outage continuously on DownDetector, a platform that tracks such outages based on users’ data. Representational image. Several users on social media said that streaming apps, like Netflix, Peacock, and YouTube TV, were

How to limit which photos you share with apps like Facebook

9to5Mac is brought to you by Incogni: Protect your personal info from prying eyes. With Incogni, you can scrub your deeply sensitive information from data brokers across the web, including people search sites. Incogni limits your phone number, address, email, SSN, and more from circulating. Fight back against unwanted data brokers with a 30-day money back guarantee. With

12 Best Friendship Apps That Can Help You Meet New People

Making friends as an adult? Weirdly hard. Like, harder than deciding if you should get bangs. Once you’re out of school and not bonding over dorm floor bathrooms or bottomless brunch hangovers every weekend, figuring out how to meet new people feels confusing at best and borderline impossible at worst. Which is where friendship apps

South Georgia schools crack down on student cell phone usage amid new state law

SEMINOLE COUNTY, Ga. (WCTV) – Across several counties in South Georgia, school officials are falling in line with state law to crack down on cell phone usage in the classroom. In Seminole County, students filed back to class on Thursday and tucked away their phones. Cell phones are not allowed on campus for elementary and

Iconfactory Sells App Catalog Amid AI-Driven Industry Shift

The Iconfactory, once a leading app design and development company known for apps like Twitterrific, is now selling parts of its app catalog, signaling a broader shift in the creative technology landscape. The company attributes this strategic move to the economic pressure caused by the rapid rise of artificial intelligence, which has disrupted traditional models

TikTok and Instagram Develop TV Apps to Expand Short-Form Video Reach

TikTok and Instagram are reportedly in the early stages of developing television applications aimed at expanding their reach into the living room, following the success of YouTube’s TV platform [1]. While neither platform has officially confirmed the development, sources indicate that both are building apps tailored for TV viewing, with TikTok reportedly focusing on higher

Wireless EV Charging Market Size And Global Industry Forecast

Wireless EV Charging Market Wireless EV Charging Market to Hit USD 7.94 Billion by 2034 – Powered by Convenience, Urban Electrification, and OEM Collaborations As the world transitions toward electrified transportation, the next big leap lies in wireless electric vehicle (EV) charging-a breakthrough that promises hands-free, automatic, and ultra-efficient energy transfer. With urbanization, smart mobility,