top | item 27727291

(no title)

c618b9b695c4 | 4 years ago

The reddit thread raises a good question I have often wondered. What is my best option for an application level firewall? I want to deny network connections by default and specifically enable who can speak to the outside world.

discuss

order

matheusmoreira|4 years ago

> I want to deny network connections by default and specifically enable who can speak to the outside world.

I also want to filter the network data. I want my firewall to inspect what the software is sending over the network and delete, randomize or nullify all data that isn't strictly necessary for it to perform the desired function. Like uBlock Origin but for the network stack.

This would enable normal operation of the software while also at least partially subverting the "legitimate business interests" of these corporations.

phone8675309|4 years ago

> I want my firewall to inspect what the software is sending over the network and delete, randomize or nullify all data that isn't strictly necessary for it to perform the desired function. Like uBlock Origin but for the network stack.

You'll have to TLS man-in-the-middle yourself for this to be viable.

alpaca128|4 years ago

Could also work with file access. Most applications never need to access the whole filesystem. My browser mostly needs access to the profile-specific data and the downloads folder. A music player doesn't need access to anything outside the music directory and also no networking unless maybe that one URL it uses to load album cover images.

Although I'd only prefer this approach if it's actually done right. Android, Flatpak etc. mostly showed ways to do it badly.

iliketrains|4 years ago

On Windows I use henrypp/simplewall. It is lightweight UI on top of Windows Filtering Platform. My only complaint is to all the self-updating programs that keep changing its binary and I need to re-enable them periodically...

sneak|4 years ago

Netlimiter on Windows, Little Snitch on macOS.

simcop2387|4 years ago

For linux, check out firejail for isolating it.

pmontra|4 years ago

I didn't know about firejail. Thanks.

The gist of it is

  sudo apt install firejail
  firejail audacity
I guess that the line

  net none
in /etc/firejail/audacity.profile prevents any network connections. And

  man firejail
for many useful functionalities.

throwawayboise|4 years ago

Run it under a different user and firewall that user off from network access.