2

I'm trying out Ubuntu. Been a Mac user. I like ubuntu a lot but I find it unnerving to not have any control over what apps can & cannot connect to the internet. I was advised that "ld_preload" can be set so that I can permit firefox traffic over port 80 but prevent Dash from connecting to port 80.

Can someone explain how I can accomplish this with ld_preload?

Lindsey
  • 251
  • 1
  • 2
  • 3

1 Answers1

1

Perhaps a better option is to use ufw to disable outbound traffic, and only enable it for specific ports. That is not application specific.

I think to really get application specific, you need to start messing around with AppArmor. I am not quite sure, actually limiting per-application is a difficult problem.

For example, system-wide installed Firefox might be allowed outbound connections, but what about a copy of Firefox in your home folder?