Control firejail and tor desktop integration.
Project description
Anonjail
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file anonjail-1.5.5.tar.gz
.
File metadata
- Download URL: anonjail-1.5.5.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47361e233b5e4a8143e026255dd31339b6cb0a19f670edef65327f2693cc0128 |
|
MD5 | 0d8af246f5041bee54ce10db223d6a18 |
|
BLAKE2b-256 | 431e2ae68932288be1a3af6c65917af74986dbc88e9d1530d5d1bf0f1f0486bd |
File details
Details for the file anonjail-1.5.5-py3-none-any.whl
.
File metadata
- Download URL: anonjail-1.5.5-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d25fc0a3cff2c775ad1565e3c38f3b2ec68cf056212fd828902615ee95a309a6 |
|
MD5 | bf936ace9ee012b42e76972ca0cb6df9 |
|
BLAKE2b-256 | 1e1c5331a9ce8eb0caa0b952739bc41d5187da4166dc23b82da10f5c660725bb |