OpenSnitch:Little Snitch 应用程序,类似于 Linux 的防火墙工具

[ad_1]

ittle Snitch 是 macOS 的传统软件防火墙。 您可以使用它来监控应用程序,通过高级规则阻止或允许它们连接到附加网络。 OpenSnitch 是用 Python 编写的 Little Snitch 应用程序防火墙的 GNU/Linux 端口。

该软件仍处于开发的早期阶段,并且是 alpha 质量的软件,请不要依赖它来保证您的计算机安全。 但是,该软件对于 Linux 桌面用户非常有用。 确保你有一个正确配置的 Go 编程layg 1.8 或更高版本的环境。 还要设置正确的 $GOPATH 环境变量。

OpenSnitch 安装

使用 apt-get 命令或 apt 命令安装所需的软件:
$ sudo apt install git libnetfilter-queue-dev libpcap-dev protobuf-compiler python3-pip

示例输出:

确保我们使用 golang 安装了所需的工具:

$ go get github.com/golang/protobuf/protoc-gen-go
$ go get -u github.com/golang/dep/cmd/dep
$ cd $GOPATH/src/github.com/golang/dep
$ ./install.sh
$ export PATH=$PATH:$GOPATH/bin

还要安装所需的 Python 东西:

python3 -m pip install --user grpcio-tools

接下来,克隆存储库

$ go get github.com/evilsocket/opensnitch
$ cd $GOPATH/src/github.com/evilsocket/opensnitch

编译并安装它:

$ make
$ sudo make install

启用 opensnitchd 作为 systemd 服务并启动 UI

运行以下两个命令:
$ sudo systemctl enable opensnitchd
$ sudo service opensnitchd start

Little Snitch 应用程序防火墙将立即开始工作并显示如下对话框:

Fig.03: Opensnitch in action

Click to enlarge

您可以允许、拒绝或白名单应用程序。 我希望作者会继续开发这个应用程序并发布一个 beta 为 GNU/Linux 用户提供的稳定版本。 欲了解更多信息,请访问项目
主页在这里
.

[ad_2]

Related Posts