The official repository on github is :
https://github.com/ahlashkari/CICFlowMeter
To properly compile CICFlowMeter you need Eclipse or IntelliJ IDEA (The latter is recommended)
-
Installation of pre-requisites
sudo apt update
sudo apt install maven openjdk-11-jdk -y
-
Clone repository
git clone https://github.com/ahlashkari/CICFlowMeter
cd CICFlowMeter
-
Maven-install jnetpcap (included in the repository)
cd jnetpcap/linux/jnetpcap-1.4.r1425
mvn install:install-file -Dfile=jnetpcap.jar -DgroupId=org.jnetpcap -DartifactId=jnetpcap -Dversion=1.4.1 -Dpackaging=jar
-
IntelliJ IDEA
- Download and install IntelliJ IDEA.
- Open the git-cloned folder as a gradle project.
- Ignore the warnings and let it index the project.
-
Run the project
- Open a terminal inside IntelliJ IDEA
sudo bash
./gradlew run
- Press Ctrl+Enter to run the command and not just Enter !
-
Build the project for native use
- Open a terminal inside IntelliJ IDEA
sudo bash
./gradlew distZip
- Press Ctrl+Enter to run the command and not just Enter !
- The zip will be at ./build/distributions
-
Download and install IntelliJ IDEA
-
Install any java version.
-
Clone repository
-
Open the CICFlowMeter folder as a gradle project
-
Ignore the warning and let it index the project
-
Open terminal in IntelliJ IDEA
mvn install:install-file -Dfile=jnetpcap.jar -DgroupId=org.jnetpcap -DartifactId=jnetpcap -Dversion=1.4.1 -Dpackaging=jar
- Press Ctrl+Enter to run the command and not just Enter !
-
Run the project
- Right-Click at 'gradlew'
- Run
- Open a terminal in IntelliJ IDEA
gradlew run
- Press Ctrl+Enter to run the command and not just Enter !
-
Build the project for native use
- Open a terminal
gradlew distZip
- Press Ctrl+Enter to run the command and not just Enter !
- The zip will be at ./build/distributions