Linux namespaces and seccomp-bpf sandbox
Find a file
2017-05-24 14:39:28 -05:00
contrib Remove trailing whitespace from contrib 2017-05-24 13:39:36 -05:00
etc remove trailing whitespace from etc/ 2017-05-24 13:57:15 -05:00
platform Remove trailing whitespace from platform 2017-05-24 14:14:53 -05:00
src Remove trailing whitespace from src/ 2017-05-24 14:13:52 -05:00
test strip trailing whitespace from test/ 2017-05-24 14:38:01 -05:00
.gitignore merge #1100 from zackw: removed libconnect 2017-02-14 11:38:19 -05:00
configure strip trailing whitespace 2017-05-24 14:39:28 -05:00
configure.ac strip trailing whitespace 2017-05-24 14:39:28 -05:00
COPYING Baseline firejail 0.9.28 2015-08-08 19:12:30 -04:00
gcov.sh strip trailing whitespace 2017-05-24 14:39:28 -05:00
install.sh merged building on systems without bash from manevich 2016-02-14 09:58:35 -05:00
Makefile.in strip trailing whitespace 2017-05-24 14:39:28 -05:00
mkasc.sh strip trailing whitespace 2017-05-24 14:39:28 -05:00
mkdeb.sh strip trailing whitespace 2017-05-24 14:39:28 -05:00
mketc.sh workaround for systems where common UNIX utilities are symlinks to busybox 2016-08-09 01:29:55 +03:00
mkman.sh merged building on systems without bash from manevich 2016-02-14 09:58:35 -05:00
mkuid.sh fix building on systems without bash 2016-10-20 00:26:54 +03:00
README merges 2017-05-23 09:20:17 -04:00
README.md strip trailing whitespace 2017-05-24 14:39:28 -05:00
RELNOTES strip trailing whitespace 2017-05-24 14:39:28 -05:00
video.png README.md 2017-02-11 10:23:03 -05:00

Firejail

Firejail is a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces, seccomp-bpf and Linux capabilities. It allows a process and all its descendants to have their own private view of the globally shared kernel resources, such as the network stack, process table, mount table. Firejail can work in a SELinux or AppArmor environment, and it is integrated with Linux Control Groups.

Written in C with virtually no dependencies, the software runs on any Linux computer with a 3.x kernel version or newer. It can sandbox any type of processes: servers, graphical applications, and even user login sessions. The software includes sandbox profiles for a number of more common Linux programs, such as Mozilla Firefox, Chromium, VLC, Transmission etc.

The sandbox is lightweight, the overhead is low. There are no complicated configuration files to edit, no socket connections open, no daemons running in the background. All security features are implemented directly in Linux kernel and available on any Linux computer. To start the sandbox, prefix your command with “firejail”:

$ firejail firefox            # starting Mozilla Firefox
$ firejail transmission-gtk   # starting Transmission BitTorrent
$ firejail vlc                # starting VideoLAN Client
$ sudo firejail /etc/init.d/nginx start

About Firejail

Project webpage: https://firejail.wordpress.com/

Download and Installation: https://firejail.wordpress.com/download-2/

Features: https://firejail.wordpress.com/features-3/

Documentation: https://firejail.wordpress.com/documentation-2/

FAQ: https://firejail.wordpress.com/support/frequently-asked-questions/


Compile and install

$ git clone https://github.com/netblue30/firejail.git
$ cd firejail
$ ./configure && make && sudo make install-strip

On Debian/Ubuntu you will need to install git and a compiler:

$ sudo apt-get install git build-essential

User submitted profile repositories

If you keep your Firejail profiles in a public repository, please give us a link:

Use this issue to request new profiles: https://github.com/netblue30/firejail/issues/1139


Current development version: 0.9.47

Release 0.9.46 was moved on 0.9.46-bugfixes branch: https://github.com/netblue30/firejail/tree/0.9.46-bugfixes

Global customizations

All profiles include /etc/firejail/globals.local for persistent customizations across all applications. For example, you can set here a global DNS "dns 8.8.8.8". The file is not overwritten during install.