mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
549ec9bb5d
commit
11c19d2c50
6 changed files with 26 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -9,6 +9,10 @@ daemon/daemon:
|
|||
ui/resources_rc.py:
|
||||
@cd ui && make
|
||||
|
||||
deps:
|
||||
@cd daemon && make deps
|
||||
@cd ui && make deps
|
||||
|
||||
clean:
|
||||
@rm -rf rules
|
||||
@cd daemon && make clean
|
||||
|
|
|
@ -29,6 +29,9 @@ The user interface is a python script running as a `gRPC` server on a unix socke
|
|||
cd ui
|
||||
pip install -r requirements.txt
|
||||
|
||||
You will also need to install the package `python-pyqt5` for your system (if anyone finds a way to make this work from
|
||||
the `requirements.txt` file feel free to send a PR).
|
||||
|
||||
### Running
|
||||
|
||||
First, you need to decide in which folder opensnitch rules will be saved, it is suggested that you just:
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
all: daemon
|
||||
|
||||
deps:
|
||||
@glide up
|
||||
|
||||
daemon:
|
||||
@go build .
|
||||
|
||||
|
|
15
daemon/glide.lock
generated
15
daemon/glide.lock
generated
|
@ -1,11 +1,22 @@
|
|||
hash: 450575a91ccfb9a4eb1aff9f3c75b3531498f4bcafdff47192f4adcce9224ffe
|
||||
updated: 2018-04-07T14:00:39.674764084+02:00
|
||||
updated: 2018-04-07T15:43:09.388912073+02:00
|
||||
imports:
|
||||
- name: github.com/evilsocket/go-netfilter-queue
|
||||
version: 55dcf9df835d721bb14d69ebf8682e0c9c3e0f18
|
||||
- name: github.com/evilsocket/opensnitch
|
||||
version: 3662e7db86a3f72efc40f059dbea94737a641160
|
||||
version: 549ec9bb5da4dbaa1c70c3ec43e8f0dac39f0ca6
|
||||
subpackages:
|
||||
- daemon/conman
|
||||
- daemon/core
|
||||
- daemon/dns
|
||||
- daemon/firewall
|
||||
- daemon/log
|
||||
- daemon/netstat
|
||||
- daemon/procmon
|
||||
- daemon/rule
|
||||
- daemon/statistics
|
||||
- daemon/ui
|
||||
- daemon/ui/protocol
|
||||
- proto
|
||||
- name: github.com/golang/protobuf
|
||||
version: 6a1fa9404c0aebf36c879bc50152edcc953910d2
|
||||
|
|
|
@ -3,6 +3,9 @@ all: resources_rc.py
|
|||
resources_rc.py:
|
||||
@pyrcc5 -o resources_rc.py res/resources.qrc
|
||||
|
||||
deps:
|
||||
@pip install -r requirements.txt
|
||||
|
||||
clean:
|
||||
@rm -rf *.pyc
|
||||
@rm -rf resources_rc.py
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
grpcio==1.10.0
|
||||
pyinotify==0.9.6
|
||||
PyQt5==5.10.1
|
||||
futures==3.2.0
|
||||
grpc==0.3-19
|
||||
unicode_slugify==0.1.3
|
||||
|
|
Loading…
Add table
Reference in a new issue