Vehicular ad hoc networks (VANETs) enable communication between automobiles and communication equipment positioned along the street to provide road safety and convenience applications. Security is a must for all of these applications. Due to its highly dynamic architecture and frequent connectivity breakdowns, security is a significant challenge in automobile ad-hoc networks. Due to the open nature of wireless communication, the attacker can overhear and change the messages broadcast by another node. We explored security vulnerabilities against VANETs spatial routing protocols in this article. Then, we suggested a novel security solution based on an Intrusion Detection System Algorithm that would provide adequate protection against black holes and jellyfish attacks.
In vehicle-to-everything (V2X) networks, security and safety are inherently difficult tasks due to the distinct characteristics of such networks, such as their highly dynamic topology and frequent connectivity disruptions. Jellyfish attacks are a sort of denial of service attack that are challenging to deal with, since they conform to protocol norms while impairing network performance, particularly in terms of communication overhead and reliability. Numerous existing approaches have developed new techniques with which to identify and prevent these attacks; however, no approach has been capable of facing all three types of Jellyfish attacks, which include reordering attacks, delay variance attacks, and periodic drop attacks. In this work, we design a new protocol that analyzes the behavior of every node in a network and selects the trusted routes for data transmission to their intended destination by calculating different Honesty metrics. The OMNET++ simulator was used to evaluate the overall performance of the proposed protocol. Various evaluation metrics, such as the packet delivery ratio, end-to-end delay, and throughput, are considered and compared with other existing approaches.