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
|
||||
*.pyc
|
||||
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:
|
||||
@cd proto && make
|
||||
|
||||
daemon/daemon:
|
||||
daemon/opensnitchd:
|
||||
@cd daemon && make
|
||||
|
||||
ui/resources_rc.py:
|
||||
|
@ -27,7 +27,7 @@ test:
|
|||
clear
|
||||
cd ui && sudo pip install --upgrade . && cd ..
|
||||
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:
|
||||
clear
|
||||
|
@ -39,6 +39,6 @@ adblocker:
|
|||
clear
|
||||
cd ui && sudo pip install --upgrade . && cd ..
|
||||
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:
|
||||
|
||||
cd daemon
|
||||
go build .
|
||||
make
|
||||
|
||||
### 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:
|
||||
|
||||
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):
|
||||
|
||||
|
|
2
daemon/.gitignore
vendored
2
daemon/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
./daemon
|
||||
opensnitchd
|
||||
vendor
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
all: daemon
|
||||
all: opensnitchd
|
||||
|
||||
deps:
|
||||
@glide up
|
||||
|
||||
daemon:
|
||||
@go build .
|
||||
opensnitchd:
|
||||
@go build -o opensnitchd .
|
||||
|
||||
clean:
|
||||
@rm -rf daemon
|
||||
@rm -rf opensnitchd
|
||||
|
|
Loading…
Add table
Reference in a new issue