This repository conatins my mockup for my bachelor thesis about the usage of ontologies for defining the normal state of a network with clients and servers and finding anomalies in it. My small example is made up of a sensor, an actor and a controller which do not really sense or act on anything. They are just there to provide network traffic I can test the idea on. I added the capability of a local sqllite3 database to record my traffic as it is sent and evaluate later on if I found all my injected errors.
- protocol buffers
- make
- everything in
go.mod
Just do make all
for the first startup. Afterwards you can go with make start
I use protobuffers to define my small services and take advantage of the easily included GRPC functionality. To regenerate them you need to:
- install a version of the protobuf compiler from here.
- call
protoc --go_out=plugins=grpc:. api.proto
in the api directory or just domake proto
if you have make installed