Skip to main content
app icon

Fyne OpenSnitch

Developer

Luca Corbo

About

An OpenSnitch UI in Go using Fyne

The application is running as a gRPC server on a unix socket and will interact with OpenSnitch daemon.

Requirements
#

UI Configuration
#

By default the UI will load its configuration from ~/.opensnitch/ui-config.json (customizable with the --config argument), the default contents of this file are:

{
    "default_timeout": 15,
    "default_action": "allow",
    "default_duration": "until restart",
    "default_operand":"process.path"
}

The default_timeout is the number of seconds after which the UI will take its default action, the default_action can be allow or deny and the default_duration, which indicates for how long the default action should be taken, can be once, until restart or always to persist the action as a new rule on disk. default_operand indicates the operand type to use for the rule, can be process.path (the path of the executable), user.id, dest.ip, dest.host or dest.port.

For more details about rules please refer to the opensnitch readme.

app screenshot

Installation

You can install this directly from the source code using the Fyne command as follows:

go install fyne.io/tools/cmd/fyne@latest fyne install github.com/lucor/fyne-opensnitch@latest

Or you can download the code directly from git:

git clone https://github.com/lucor/fyne-opensnitch.git