Skip to content

paladin235/ddos-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDoS Detector

A proof of concept that detects DDoS attacks in Apache log files. The log files are published to a kafka cluster where they are later processed to detect IP addresses of bots participating in the attack.

Local Setup (Linux)

Prerequisites

  • Java 1.8+
  • Maven 3
  • Git
  1. Clone this repo:
    git clone git@github.com:paladin235/ddos-detector
  2. Download kafka:
    wget http://apache.cs.utah.edu/kafka/2.3.0/kafka_2.12-2.3.0.tgz
  3. Extract kafka:
    tar -C $HOME -xzf kafka_2.12-2.3.0.tgz
  4. Change directory to where you cloned the repo, then start kafka:
    ./start-kafka.sh
  5. Run the detector:
    ./run.sh