This version of Botnet Detection Framework (BNDF) is based on docker and intended to provide easier deployment and management.
- 2 cores
- 8 GB of free RAM
- 10 GB of free disk space
- Debian Buster (other distributions/versions are probably OK but are not officially supported)*
docker> 17.06.0docker-compose> 1.27.0git,curlandtime
* If installing on other distribution, especially non debian-based, it is highly recommended to properly install and test docker and docker-compose before going through the install process
git clone https://github.com/fabianastudillo/bndf.git
cd bndf/
./easy-setup.sh
docker-compose up -dThe easy-setup.sh does the following :
- Checking that docker and docker-compose are properly installed and available to the user, and installing them if needed
- Creating a
.envfile containing environment variables deduced from the user inputs - Build the containers
In order to change the options you defined, just run easy-setup.sh again
A help is available
./easy-setup.sh --helpThe script provides several command line options to avoid being prompted. This can be useful to automate SELKS deployment. Refer to the help
./easy-setup.sh --non-interactiveYou can set a specific ELK stack version
./easy-setup.sh --elk-version <version-number>The version will be the same for Elasticsearch, Kibana and Logstash. It is not possible (and not recommended) to set them individually.
docker-compose down
git pull
./easy-setup.sh
docker-compose pull
docker-compose up -d --force-recreateMost docker-compose commands will have the following form docker-compose COMMAND [container-name]
Those commands must be run from the SELKS/docker/ directory
If no container-name is provided, it will be applied to all SELKS containers
docker-compose stop [container-name]docker-compose start [container-name]docker-compose restart [container-name]docker-compose down -vdocker-compose up [container-name] --force-recreatedocker-compose pull [container-name]
docker-compose up [container-name] --force-recreatedocker exec -it [container-name] /bin/bashdocker logs [container-name]logs can also be found in bndf/docker/containers-data
The main problem when logstash not receive data is the kind of port udp/tcp