mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00
daemon -> opensnitchd (ref #118)
This commit is contained in:
parent
2355c3c400
commit
de3b9216b6
5 changed files with 11 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
||||||
*.sock
|
*.sock
|
||||||
*.pyc
|
*.pyc
|
||||||
rules
|
rules
|
||||||
daemon/daemon
|
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -1,9 +1,9 @@
|
||||||
all: protocol daemon/daemon ui/resources_rc.py
|
all: protocol daemon/opensnitchd ui/resources_rc.py
|
||||||
|
|
||||||
protocol:
|
protocol:
|
||||||
@cd proto && make
|
@cd proto && make
|
||||||
|
|
||||||
daemon/daemon:
|
daemon/opensnitchd:
|
||||||
@cd daemon && make
|
@cd daemon && make
|
||||||
|
|
||||||
ui/resources_rc.py:
|
ui/resources_rc.py:
|
||||||
|
@ -27,7 +27,7 @@ test:
|
||||||
clear
|
clear
|
||||||
cd ui && sudo pip install --upgrade . && cd ..
|
cd ui && sudo pip install --upgrade . && cd ..
|
||||||
opensnitch-ui --socket unix:///tmp/osui.sock &
|
opensnitch-ui --socket unix:///tmp/osui.sock &
|
||||||
sudo ./daemon/daemon -ui-socket unix:///tmp/osui.sock
|
sudo ./daemon/opensnitchd -ui-socket unix:///tmp/osui.sock
|
||||||
|
|
||||||
adblocker:
|
adblocker:
|
||||||
clear
|
clear
|
||||||
|
@ -39,6 +39,6 @@ adblocker:
|
||||||
clear
|
clear
|
||||||
cd ui && sudo pip install --upgrade . && cd ..
|
cd ui && sudo pip install --upgrade . && cd ..
|
||||||
opensnitch-ui --socket unix:///tmp/osui.sock &
|
opensnitch-ui --socket unix:///tmp/osui.sock &
|
||||||
sudo ./daemon/daemon -ui-socket unix:///tmp/osui.sock
|
sudo ./daemon/opensnitchd -ui-socket unix:///tmp/osui.sock
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ iptables rules and so on, in order to compile it you will need to install the `p
|
||||||
packages on your system, then just:
|
packages on your system, then just:
|
||||||
|
|
||||||
cd daemon
|
cd daemon
|
||||||
go build .
|
make
|
||||||
|
|
||||||
### Qt5 UI
|
### Qt5 UI
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ First, you need to decide in which folder opensnitch rules will be saved, it is
|
||||||
|
|
||||||
Now run the daemon:
|
Now run the daemon:
|
||||||
|
|
||||||
sudo /path/to/daemon -ui-socket unix:///tmp/osui.sock -rules-path ~/.opensnitch/rules
|
sudo /path/to/opensnitchd -ui-socket unix:///tmp/osui.sock -rules-path ~/.opensnitch/rules
|
||||||
|
|
||||||
And the UI service as your user (make sure you installed the UI with pip as in the previous section):
|
And the UI service as your user (make sure you installed the UI with pip as in the previous section):
|
||||||
|
|
||||||
|
|
2
daemon/.gitignore
vendored
2
daemon/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
||||||
./daemon
|
opensnitchd
|
||||||
vendor
|
vendor
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
all: daemon
|
all: opensnitchd
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
@glide up
|
@glide up
|
||||||
|
|
||||||
daemon:
|
opensnitchd:
|
||||||
@go build .
|
@go build -o opensnitchd .
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf daemon
|
@rm -rf opensnitchd
|
||||||
|
|
Loading…
Add table
Reference in a new issue