Skip to content

tangowithfoxtrot/sandboxer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sandboxer

A standalone build of sandboxer with additional features.

Execute a command in a sandboxed environment using Linux Landlock.

Usage: sandboxer [OPTIONS] [COMMAND] [ARGS]...

Arguments:
  [COMMAND]  Command to run in the sandbox
  [ARGS]...  Command arguments

Options:
    --generate <SHELL>               Generate shell completion script [possible values: bash, elvish, fish, powershell, zsh]
    --ro-paths <RO_PATHS>            Paths allowed to be used in read-only mode (colon-separated list) [env: LL_FS_RO=]
    --rw-paths <RW_PATHS>            Paths allowed to be used in read-write mode (colon-separated list) [env: LL_FS_RW=]
-b, --bind-ports <BIND_PORTS>        Ports allowed to bind as server (colon-separated list) [env: LL_TCP_BIND=]
    --connect-ports <CONNECT_PORTS>  Ports allowed to connect to as client (colon-separated list) [env: LL_TCP_CONNECT=]
    --scoped <SCOPED>                Actions denied outside of Landlock domain (colon-separated list) [env: LL_SCOPED=]
                                      - "a" to restrict opening abstract unix sockets
                                      - "s" to restrict sending signals
-o, --output <OUTPUT_FILE>           Write output to the specified file (same as > redirection)
-a, --auto-mount-essential           Automatically mount `$PATH` and `$LD_LIBRARY_PATH` as read-only

Attribution

The original sandboxer license and copyright info can be found in OLD_LICENSE. The license for this project can be found in LICENSE.

About

Execute commands in a sandboxed environment using Linux Landlock.

Topics

Resources

License

Unknown, Apache-2.0 licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
OLD_LICENSE

Stars

Watchers

Forks

Languages