News for hackers. Stuff that matters.
Re:Audacity may collect “Data necessary for law enforcement,... by c618b9b695c4 on Sunday July 04, 2021 @12:48AM (#27727291)
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.
Re:Audacity may collect “Data necessary for law enforcement,... by miles on Sunday July 04, 2021 @12:53AM (#27727312)
OpenSnitch[1] is mentioned[2] in the reddit thread and was most recently featured on HN last year[3].

[1] https://github.com/evilsocket/opensnitch

[2] https://old.reddit.com/r/linux/comments/od3h8b/audacity_may_...

[3] https://news.ycombinator.com/item?id=22206116

Re:Audacity may collect “Data necessary for law enforcement,... by matheusmoreira on Sunday July 04, 2021 @09:15AM (#27729396)
> 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.

Re:Audacity may collect “Data necessary for law enforcement,... by phone8675309 on Sunday July 04, 2021 @11:37AM (#27730455)
> 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.

Re:Audacity may collect “Data necessary for law enforcement,... by matheusmoreira on Tuesday July 06, 2021 @12:18PM (#27750566)
Absolutely. Interception is okay when we're the ones doing it. Software exists to serve us, it doesn't have the right to establish private communications with third parties against our wishes.

I've intercepted the traffic of many mobile apps to see what information they're sending. I hear developers are pinning certificates now. I can just replace the pinned certificate, right?

Re:Audacity may collect “Data necessary for law enforcement,... by jfrunyon on Sunday July 04, 2021 @07:02PM (#27733315)
That's easy, since you have control over trusted CAs. And also, not true; it could be done in the TLS library.
Re:Audacity may collect “Data necessary for law enforcement,... by alpaca128 on Sunday July 04, 2021 @09:52AM (#27729638)
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.

Re:Audacity may collect “Data necessary for law enforcement,... by matheusmoreira on Sunday July 04, 2021 @10:23AM (#27729824)
Agreed. We need ways to filter every Linux system call. Not just disallow the system calls themselves. We need the ability to apply policies to parameters and filter I/O in a transparent way.
Re:Audacity may collect “Data necessary for law enforcement,... by jfrunyon on Sunday July 04, 2021 @07:04PM (#27733329)
Re:Audacity may collect “Data necessary for law enforcement,... by jfrunyon on Sunday July 04, 2021 @07:03PM (#27733324)
Re:Audacity may collect “Data necessary for law enforcement,... by iliketrains on Sunday July 04, 2021 @01:25AM (#27727430)
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...
Re:Audacity may collect “Data necessary for law enforcement,... by lioeters on Sunday July 04, 2021 @06:28AM (#27728597)
Re:Audacity may collect “Data necessary for law enforcement,... by sneak on Sunday July 04, 2021 @02:08AM (#27727587)
Netlimiter on Windows, Little Snitch on macOS.
Re:Audacity may collect “Data necessary for law enforcement,... by simcop2387 on Sunday July 04, 2021 @01:06AM (#27727359)
For linux, check out firejail for isolating it.
Re:Audacity may collect “Data necessary for law enforcement,... by pmontra on Sunday July 04, 2021 @01:15PM (#27731140)
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.
Re:Audacity may collect “Data necessary for law enforcement,... by throwawayboise on Sunday July 04, 2021 @02:39AM (#27727707)
Run it under a different user and firewall that user off from network access.