netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox
https://firejail.wordpress.com
GNU General Public License v2.0
5.79k stars 567 forks source link

[Question] Does 'netfilter=filename' affect the system firewall, eg UFW #1642

Closed Irvinehimself closed 6 years ago

Irvinehimself commented 6 years ago

As the title states: Does playing around with Firejail netfilters on a per application basis represent a safe way of learning about netfilter rules?

At the moment, I use the default UFW rules

 Default: deny (incoming), allow (outgoing), disabled (routed)

and am loathe to experiment with these settings until I have a better understanding of what I am doing

Thanks Irvine

Ps, If if you are interested, I have attached zipped profiles for: bsdtar, cower, makepkg, ping and archaudit-report Profiles.zip

SkewedZeppelin commented 6 years ago

I don't think Firejail ever directly interacts with UFW. And afaik UFW is just a fancy bash script to control iptables.

As for learning about iptables here are some nice writeups:

netblue30 commented 6 years ago

Does 'netfilter=filename' affect the system firewall, eg UFW

No, Firejail doesn't touch your system firewall. It installs a new one in the sandbox if you use --net to start another network namespace. Each network namespace (system or sandbox) has its own firewall.

I'll start bringing in your profiles, thanks.

netblue30 commented 6 years ago

all merged, thanks.