whitelist for domain names
rusty-snake opened this issue · comments
rusty-snake commented
A whitelist of allowed domain names would be very nice for use with single firejail sandboxes.
Example:
$ sudo fdns --proxy-addr=127.1.2.3 --wh-dn=mozilla.org --wh-dn=gmail.com
$ firejail --dns=127.1.2.3 thunderbird
Maybe it is better to put the whitelist in a file.
startx2017 commented
Do you mean we should allow only the domains in the whitelist and drop all other? I would call it --whitelist:
--whitelist=domain
--whitelist-file=filename
rusty-snake commented
Yes, only whitelisted domain names are resolved.
startx2017 commented
--whitelist is done, I'll look into --whitelist-filename
netblue30 commented
I have enabled the code from @startx2017 - yes, it was an AppArmor problem, we were blacklisting the user file!