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

Anonjail self install and config dependencies

Supported distros : Debian

sudo anonjail install

Install dependencies manually

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

Extra manual 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.6.5.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

anonjail-1.6.5-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anonjail-1.6.5.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+

File hashes

Hashes for anonjail-1.6.5.tar.gz
Algorithm Hash digest
SHA256 b3eed428e249bf3e316771de69507c60d39287cd8a0dc982ae9be7bac8228e8c
MD5 f1952298ef9a16129b3252f6e1fad888
BLAKE2b-256 f1fc5f2fa9e4cbae0188c6183a5d8fb2a2a518e8f4124a6c0742b3584ba278ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anonjail-1.6.5-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+

File hashes

Hashes for anonjail-1.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 747809db92d8f2e4b61f03532eca21f1c91dd4d923724062e85e61dbac47b30e
MD5 e66de06379ae3d871bb3090d8c7f4e8f
BLAKE2b-256 47b9d2f11ff6173e9b4f9563b1586e46b6cfe9d371c39ee490f0bcbd55842c52

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