This repository contains the code for the collector node.
Note: Start the broker (automatic using make) from the Compute node before running the Collector node.
Clone the repository:
git clone https://github.com/D-A-I-S-I/collector-node.git
cd collector-node
To set the PID of the process you want to collect syscalls from:
export SYSTEM_CALLS_PIDS=<desired-pid>
To select which modules to collect data for:
export ENABLED_MODULES=network_traffic,system_calls
To select which interface to collect network packets from (wlan0 or eth0 for example):
export NETWORK_TRAFFIC_INTERFACE=<desired-interface>
To run the collector node locally, use the following command (this creates and activates a virtual environment as well):
sudo -E make
(There are commands for running with Docker, but it is not currently working with torch in this setup.)
To clean up the environment, use the following command:
sudo make clean