mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
50e8be10f3
commit
aa63a47bc1
12 changed files with 12 additions and 6 deletions
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
|||
all: protocol daemon/daemon
|
||||
|
||||
protocol:
|
||||
@cd ui.proto && make
|
||||
@cd proto && make
|
||||
|
||||
daemon/daemon:
|
||||
@cd daemon && make
|
||||
|
@ -9,7 +9,7 @@ daemon/daemon:
|
|||
clean:
|
||||
@rm -rf rules
|
||||
@cd daemon && make clean
|
||||
@cd ui.proto && make clean
|
||||
@cd proto && make clean
|
||||
|
||||
test:
|
||||
clear
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/evilsocket/opensnitch/daemon/log"
|
||||
"github.com/evilsocket/opensnitch/daemon/netstat"
|
||||
"github.com/evilsocket/opensnitch/daemon/procmon"
|
||||
protocol "github.com/evilsocket/opensnitch/ui.proto"
|
||||
protocol "github.com/evilsocket/opensnitch/proto"
|
||||
|
||||
"github.com/evilsocket/go-netfilter-queue"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/evilsocket/opensnitch/daemon/conman"
|
||||
protocol "github.com/evilsocket/opensnitch/ui.proto"
|
||||
protocol "github.com/evilsocket/opensnitch/proto"
|
||||
)
|
||||
|
||||
type OperandType string
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/evilsocket/opensnitch/daemon/log"
|
||||
"github.com/evilsocket/opensnitch/daemon/rule"
|
||||
|
||||
protocol "github.com/evilsocket/opensnitch/ui.proto"
|
||||
protocol "github.com/evilsocket/opensnitch/proto"
|
||||
|
||||
"golang.org/x/net/context"
|
||||
|
||||
|
|
0
ui.proto/.gitignore → proto/.gitignore
vendored
0
ui.proto/.gitignore → proto/.gitignore
vendored
|
@ -7,7 +7,7 @@ import argparse
|
|||
|
||||
path = os.path.abspath(os.path.dirname(__file__))
|
||||
sys.path.append(path)
|
||||
sys.path.append(path + "/../ui.proto/")
|
||||
sys.path.append(path + "/../proto/")
|
||||
|
||||
import grpc
|
||||
from concurrent import futures
|
||||
|
|
6
ui/requirements.txt
Normal file
6
ui/requirements.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
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