Skip to content

LeoLizc/DeepStack-IDS

 
 

Repository files navigation

Initial Setup

Install Python dependencies

Navigate to src/ddos-models and run (only once):

uv sync

Install jnetpcap local repo

for linux, sudo is a prerequisite

//linux :at the pathtoproject/jnetpcap/linux/jnetpcap-1.4.r1425
//windows: at the pathtoproject/jnetpcap/win/jnetpcap-1.4.r1425
mvn install:install-file -Dfile=jnetpcap.jar -DgroupId=org.jnetpcap -DartifactId=jnetpcap -Dversion=1.4.1 -Dpackaging=jar

Run

IntelliJ IDEA

open a Terminal in the IDE

//linux:
$ sudo bash
$ gradle execute

//windows:
$ ./gradlew execute

Eclipse

Run eclipse with sudo

1. Right click App.java -> Run As -> Run Configurations -> Arguments -> VM arguments:
-Djava.library.path="pathtoproject/jnetpcap/linux/jnetpcap-1.4.r1425"  -> Run

2. Right click App.java -> Run As -> Java Application

Make package

IntelliJ IDEA

open a Terminal in the IDE

//linux:
$ gradle distZip
//window
$ ./gradlew distZip

the zip file will be in the pathtoproject/DeepStack-IDS/build/distributions

Eclipse

At the project root

mvn package

the jar file will be in the pathtoproject/DeepStack-IDS/target

About

CICFlowMeter (UNBCIC) Fork for FRIDA Project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 49.4%
  • C 42.8%
  • Python 5.8%
  • C++ 2.0%