hlchen1043 / vasp

VASP is a framework to simulate attacks on V2X networks. It works on top of the VEINS simulator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

V2X Application Spoofing Platform (VASP) 🦟

This repository provides a framework to simulate attacks on V2X networks. It uses the VEINS simulation framework as a dependency.

Dependencies

  1. Operating System: Ubuntu/Debian/macOS
  2. CSVWriter.h
    • Please put this file in your system's (or user's) default include directory. E.g., /usr/include
  3. json.hpp
    • Rename this file to json.h and
    • Put it in your system's (or user's) default include directory. E.g., /usr/include

Installation

  1. Download all of the following into the same folder (preferably called "src")
  2. Download and extract OMNeT++ (version 5.6.2)
    • Please uncomment the line with CXXFLAGS in the "configure.user" file in the root directory of OMNeT++ with CXXFLAGS=-std=c++14
    • Install by following their installation guide.
  3. Install SUMO (version 1.8.0) by following their installation guide.
  4. Clone VEINS (version 5.2): git clone --branch veins-5.2 https://github.com/sommer/veins.git
  5. Add this repo as submodule under <path/to/veins>/src/: cd veins && git submodule add https://github.com/quic/vasp src/vasp

Build

  1. Change directory to <path/to/veins>
  2. Configure and build
    ./configure && make [-j6]

Running simulations

  1. Change directory to <path/to/veins>
  2. Start sumo server: bin/veins_launchd -vv
  3. Change directory to <path/to/veins>/src/vasp/scenario/
  4. Run simulation:
    ./run [-u Cmdenv]
  5. You should see a trace file generated under <path/to/veins>/src/vasp/scenario/results folder.

More Documentation

  1. Configuring your simulation
  2. Know your trace file
  3. Implementing your own attack

License

MIT

About

VASP is a framework to simulate attacks on V2X networks. It works on top of the VEINS simulator.

License:MIT License


Languages

Language:C++ 99.4%Language:Shell 0.6%