forked from gustavo-iniguez-goya/opensnitch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (39 loc) · 869 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
all: protocol daemon/opensnitchd ui/resources_rc.py
install:
@cd daemon && make install
@cd ui && make install
protocol:
@cd proto && make
daemon/opensnitchd:
@cd daemon && make
ui/resources_rc.py:
@cd ui && make
deps:
@cd daemon && make deps
@cd ui && make deps
clean:
@cd daemon && make clean
@cd proto && make clean
run:
cd ui && sudo pip3 install --upgrade . && cd ..
opensnitch-ui --socket unix:///tmp/osui.sock &
sudo ./daemon/opensnitchd -ui-socket unix:///tmp/osui.sock -cpu-profile cpu.profile -mem-profile mem.profile
test:
clear
make clean
clear
mkdir -p rules
make
clear
make run
adblocker:
clear
make clean
clear
make
clear
python make_ads_rules.py
clear
cd ui && sudo pip3 install --upgrade . && cd ..
opensnitch-ui --socket unix:///tmp/osui.sock &
sudo ./daemon/opensnitchd -ui-socket unix:///tmp/osui.sock