Skip to content

naveenrj98/FinalYear_Project_VANET_Security_Attacks-

Repository files navigation

FinalYear_Project_VANET_Security_Attacks-

Detection and Prevention of Security Attacks in VANET

Step 1. To Run our project, following Software needs to be installed

UBUNTU 18.0.0 +

Eclipse

 https://linoxide.com/linux-how-to/learn-how-install-latest-eclipse-ubuntu/

MVN

sudo apt-get install mvn

set MVN_HOME Path Variable

JAVA

sudo apt-get install java
set JAVA_HOME Path variable

Open JDK 8

  sudo apt-get install openjdk-8-jdk
  sudo update-alternatives --set java/usr/lib/jvm/jdk1.8.0_version/bin/java

Step 2. To Run the App, follow the following steps

1: Certificate Generation

Generate the new certificate by running the command

	./gen-cert.sh <vehicle1> <vehicle2> ..., new keys will also be generated for ca and RSU in the process.

2: Install the App

Install All the dependencies required for the project, run the command:

	sudo apt-get  ./mvn-script.sh install

3: Detection of Attack

Run the commands to detect and prevent attacks
	Method 1: sudo  ./mvn-script.sh <entity> [arguments]
	entity: (VIN8 vehicle8 10,5 0,0 BAD_SIGNATURES)
		BAD_POSITIONS: for Sybil Attack Detection
		BAD_SIGNATURES: for Bad signature detection
		BAD_CERTIFICATE: for bad certification detection
		BAD_TIMESTAMPS: for Replay Attack Detection
		BEACON_DOS: for DOS attack detection
	arguments: (example)
		VIN1 vehicle1 750,850 0,0 Sample Massage	
		VIN8 vehicle8 10,5 0,0 BAD_SIGNATURES
		VIN21 invalidCACert1 5,5 0,0 BAD_CERTIFICATE  
		VIN4 vehicle4 10,5 0,0 BAD_SIGNATURES
		VIN6 vehicle6 10,5 0,0 BEACON_DOS
	Method 2: use the launcher to launch predefined profiles in: profiles_*.txt with: (if name is omited default 	profile_default.txt is assumed
		sudo ./launcher  <any-profile-file>

Step 3: Follow the command instruction and execute the Proposed System.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages