Skip to content

polarking/ss7-ml-preprocess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SS7 Machine Learning Preprocessing

Introduction

Simple Apache Spark Streaming application used to preprocess SS7 network traffic sent on Kafka. This application is designed to extract relevant features from traffic generated by the SS7 Attack Simulator.

The application reads data from the Kafka topic ss7-raw-input on localhost and outputs to the Elasticsearch index ss7-ml-preprocessed and the Kafka topic ss7-preprocessed.

Instructions

It is a requirement that both Elasticsearch and Apache Kafka is running on localhost. The application expects the following command line arguments:

  1. URL of the Spark master. In the form spark://host:port.
  2. Username for the Elasticsearch cluster.
  3. Password for the Elasticsearch cluster.

The application can be started using spark-submit:

bin/spark-submit \
  --class Main \
  --master spark://host:port \
  [application jar] \
  [Master URL] \
  [Elasticsearch username] \
  [Elasticsearch password]

Build

The project uses sbt as its build tool. To compile the project use the assembly plugin:

sbt assembly

This creates a fat jar that resolves all dependencies required by Spark.

About

Spark application for preprocessing SS7 traffic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages