Skip to main content

Control firejail and tor desktop integration.

Project description

Anonjail

pyversions

anonjail is a tool to integrate Firejail + Tor sandboxing in the Linux desktop. Enable anonjail for an application and enjoy a more private and more secure desktop.

Those are the real coders behind this code, i’ve only made some brainless tweaks:

https://github.com/orjail/orjail & https://github.com/rahiel/firectl

Install

Automatic anonjail install with pip (debian10 based distros running GNOME only for naw. I know im so sorry):

sudo pip3 install anonjail --install-option="--autoinstall=y"

Install anonjail and do other steps separately:

sudo pip3 install anonjail

Dependencies

sudo apt-get -y update
sudo apt-get -y install bc tor firejail python3-pip

Extra steps (Enabling services and FireJail networking)

sudo systemctl enable tor --now
sudo systemctl enable apparmor --now
sudo sed -i 's/restricted-network yes/restricted-network no/g' /etc/firejail/firejail.config

If you r running Kali

git clone https://github.com/annoyinganongurl/kali-firejail-profiles.git
cp -R kali-firejail-profiles/* /etc/firejail/
rm -rf kali-firejail-profiles

Uninstall

To uninstall anonjail:

sudo pip3 uninstall anonjail

Usage

To see which applications owning a personal FJ profile you can enable and current config infos:

anonjail status

To see which applications with no personal FJ profile you can enable:

anonjail showapps

To enable firejail for a program:

sudo anonjail enable [name]
ex : sudo anonjail enable firefox

To disable firejail for a program:

sudo anonjail disable [name]
ex : sudo anonjail disable firefox

To enable tor + firejail for all program:

sudo anonjail enable --all --tor

To enable tor + firejail anonjail for a program:

sudo anonjail enable [name] --tor
ex : sudo anonjail enable firefox --tor

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anonjail-1.5.6.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

anonjail-1.5.6-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file anonjail-1.5.6.tar.gz.

File metadata

  • Download URL: anonjail-1.5.6.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.51.0 CPython/3.9.1+

File hashes

Hashes for anonjail-1.5.6.tar.gz
Algorithm Hash digest
SHA256 26eea03cbcde79f8252e5d8b9cbd23546c128c077d55e731d538ce780f8cd60a
MD5 69a96c2e80465184648e42b1ac68029b
BLAKE2b-256 023bfdf586d05df835f038d41f5987a89d27c5cd6ea2457c703331be8caa8fcc

See more details on using hashes here.

File details

Details for the file anonjail-1.5.6-py3-none-any.whl.

File metadata

  • Download URL: anonjail-1.5.6-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.51.0 CPython/3.9.1+

File hashes

Hashes for anonjail-1.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1b76467c65d673541520f888c4bd3dea39db53b8bb4762dddec46d7e69edd2
MD5 7b8226168f22d0371876f2d5130a4005
BLAKE2b-256 b3e8a7c49f95b9e069788eba719c01f5f2858807a53a456172e400b497df7efe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page