Linux namespaces and seccomp-bpf sandbox
Find a file
2016-10-02 15:56:41 +02:00
etc fixed description 2016-10-02 15:56:41 +02:00
platform Fixed alphabetical order 2016-10-02 09:20:54 +02:00
src Fixed spacing 2016-10-02 09:25:00 +02:00
test testing 2016-09-15 09:59:11 -04:00
.gitignore Add uids.h to .gitignore 2016-07-30 23:53:06 +02:00
configure moved libx11 to libconnect 2016-10-01 16:25:36 -04:00
configure.ac moved libx11 to libconnect 2016-10-01 16:25:36 -04:00
COPYING Baseline firejail 0.9.28 2015-08-08 19:12:30 -04:00
install.sh merged building on systems without bash from manevich 2016-02-14 09:58:35 -05:00
Makefile.in moved libx11 to libconnect 2016-10-01 16:25:36 -04:00
mkasc.sh Create detached signature for source tarball (Closes #204) 2016-07-30 15:33:19 +02:00
mkdeb.sh fixed make deb 2016-09-23 09:14:57 -04: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 fixed /etc/login.def reading on Mageia systems 2016-09-15 08:19:29 -04:00
README CVE-2016-7545 2016-09-26 12:27:27 -04:00
README.md Updated list of new profiles 2016-10-02 09:27:16 +02:00
RELNOTES dropping requirement for network namespace when using --x11 2016-10-01 16:38:07 -04:00
todo x11 detection support for --audit 2016-10-01 09:36:22 -04: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

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/


User submitted profile repositories

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


Current development version: 0.9.43

New command line options

      --x11=block
              Blacklist  /tmp/.X11-unix  directory,  ${HOME}/.Xauthority  and  file
              specified in ${XAUTHORITY} enviroment variable.  Remove  DISPLAY  and
              XAUTHORITY  enviroment  variables.   Stop  with  error message if X11
              abstract socket will be accessible in jail.

      --put=name|pid src-filename dest-filename
              Put src-filename in sandbox container.  The container is specified by name or PID.

       --allusers
              All user home directories are visible inside the sandbox. By default, only current user home
              directory is visible.

              Example:
              $ firejail --allusers

       --join-or-start=name
              Join the sandbox identified by name or start a new one.  Same as "firejail  --join=name"  if
              sandbox with specified name exists, otherwise same as "firejail --name=name ..."
              Note that in contrary to other join options there is respective profile option.

      --no3d Disable 3D hardware acceleration.

              Example:
              $ firejail --no3d firefox

      --veth-name=name
              Use this name for the interface  connected  to  the  bridge  for
              --net=bridge_interface commands, instead of the default one.

              Example:
              $ firejail --net=br0 --veth-name=if0

New profile commands

x11 xpra, x11 xephyr, x11 block, allusers, join-or-start

New profiles

qpdfview, mupdf, Luminance HDR, Synfig Studio, Gimp, Inkscape, feh, ranger, zathura