Next Article in Journal
Experimentation Environments for Data Center Routing Protocols: A Comprehensive Review
Previous Article in Journal
Global Contextual Dependency Network for Object Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhancing Reactive Ad Hoc Routing Protocols with Trust

Faculty of Information Technology, Czech Technical University in Prague, Thákurova 9, 160 00 Prague, Czech Republic
*
Author to whom correspondence should be addressed.
Future Internet 2022, 14(1), 28; https://doi.org/10.3390/fi14010028
Submission received: 14 December 2021 / Revised: 8 January 2022 / Accepted: 12 January 2022 / Published: 15 January 2022
(This article belongs to the Section Internet of Things)

Abstract

:
In wireless ad hoc networks, security and communication challenges are frequently addressed by deploying a trust mechanism. A number of approaches for evaluating trust of ad hoc network nodes have been proposed, including the one that uses neural networks. We proposed to use packet delivery ratios as input to the neural network. In this article, we present a new method, called TARA (Trust-Aware Reactive Ad Hoc routing), to incorporate node trusts into reactive ad hoc routing protocols. The novelty of the TARA method is that it does not require changes to the routing protocol itself. Instead, it influences the routing choice from outside by delaying the route request messages of untrusted nodes. The performance of the method was evaluated on the use case of sensor nodes sending data to a sink node. The experiments showed that the method improves the packet delivery ratio in the network by about 70%. Performance analysis of the TARA method provided recommendations for its application in a particular ad hoc network.

1. Introduction

Ad hoc networks are a broad category that includes a variety of network types based on their intended use. A wireless network of mobile devices, vehicles, sensors, or devices for Internet of Things (IoT) could be involved. Ad hoc communication allows to create networks without infrastructure components, such as routers or access points. Instead, each node participates in routing by forwarding data for other nodes, so the determination of which nodes forward data is made dynamically based on the network connectivity and the routing algorithm in use. On the one hand, ad hoc networks can be quickly deployed and are naturally scalable. On the other hand, as nodes forward the data of others, these networks need some mechanism to ensure functionality, fault tolerance, and reliability of communication. There is no central authority in the network. Nodes need to establish secure communication by themselves, which requires cooperation among nodes. Cooperation is unfeasible without some notion of trust.
Trust is a measure of confidence that a node behaves according to expectations. Trust is absolutely fundamental for the future of wireless communication [1]. Trust values can be used directly by nodes in interactions with others or for access control, intrusion detection, or secure routing. A considerable amount of methods to establish and maintain trust relationships in ad hoc networks have been proposed [2,3,4,5,6,7,8,9,10,11].
Various ad hoc routing protocols have been proposed over the past 20 years. The Mobile Ad Hoc Network (MANET) working group [12] published Request for Comments (RFC) for three ad hoc routing protocols: Ad Hoc On-Demand Distance Vector (AODV), Optimized Link State Routing (OLSR), and Dynamic Source Routing (DSR). AODVv2 (former Dynamic MANET On-demand (DYMO)) is a work in progress. OLSR is a proactive protocol, meaning that the information about routes is periodically exchanged. On the contrary, AODV and DSR are reactive routing protocols, meaning that the route discovery process is started only when a route to some destination is needed. This way, the communication overhead is lower, and node batteries are saved compared to proactive routing protocols [13].

1.1. Motivation, Problem Statement, and Main Contributions

Ad hoc routing protocols, by design, rely on the fact that nodes cooperate in route discovery. For instance, the RFC of AODV says that the protocol is intended for usage in networks where all nodes can trust each other [14]. Nevertheless, it is not always the case. The reasons for the nodes’ failure to cooperate can be different. However, the result is the same: the network performance degrades due to unexpected node behavior (i.e., the existence of untrusted nodes).
This research aims to improve the functionality of ad hoc routing protocols to work more reliably in ad hoc networks with untrusted nodes. Incorporating trust in reactive ad hoc routing protocols can be solved by changing the protocol, which implies that the protocol algorithms and structures must be changed (e.g., in [4,5,6], authors introduced new message structures; in [3], the algorithm for updating the routing table was changed; in [4,5,15], the routing table structure was changed).
The problem we will tackle is enabling trust-aware ad hoc routing without changing the routing protocol.
The main idea of our solution is to enforce route discovery through trusted nodes from outside of the routing protocol. The utilized trust mechanism [11] uses a neural network to estimate the trust of nodes. These trust estimations are then used to influence the route discovery phase of a reactive ad hoc routing protocol to prefer more trusted routes. Untrusted nodes are penalized during the route discovery phase by delaying the Route Request messages of those nodes. Thus, the node trust values influence the routing decisions indirectly to improve the performance of reactive ad hoc routing protocols.
A simulation proof-of-concept framework was built, and an extensive experimental evaluation of the proposed solution was conducted. As the ad hoc routing protocol, the AODV protocol was chosen, but the proposed method to enhance reactive ad hoc routing with trust can be used with any reactive ad hoc routing protocol. In addition, a study of how the proposed solution influences the routing protocol metrics was performed. Another problem is finding the best combination of parameters and creating recommendations on how to tune the method settings according to the particular use cases.
To the best of our knowledge, all previous methods of enhancing ad hoc routing with trust used the trust values directly during route discovery [5,6,7,9,10,15] or in routing decisions [4,8,16]. Our approach differs because the route discovery messages through the untrusted nodes are penalized by delays, but the routing algorithm and structures remain unchanged. The main contribution of this research is creating a method for enhancing reactive ad hoc routing protocols with trust that does not require changes to the routing protocol.

1.2. Article Organization

The rest of the article is organized as follows. Section 2 provides an overview of the related work, description of reactive routing protocols and the trust estimation method. Section 3 describes our proposed method of enhancing reactive ad hoc routing protocols with trust. Section 4 presents the simulator, and Section 5 describes the experiments and their results. Section 6 discusses the considerations regarding the implementation of the proposed method. Finally, Section 7 evaluates the results of the experiments, provides conclusions, and outlines the future work.

2. Background

2.1. Related Work

Methods to enhance ad hoc routing protocols with trust can be divided into two groups. The first represents approaches that apply trust during the route discovery phase. Either the control messages are rejected based on the trust, or they contain a special field in the header that collects the trust value of the path during the dissemination of the discovery message. Examples of such approaches are Eissa et al. [15], Marchang and Datta [5], Venkanna et al. [6], Simaremare et al. [7], and Hatzivasilis et al. [10]. The second group represents approaches that select routes according to their trust values stored in routing tables. Examples are Li et al. [4], Wang et al. [17], and Pathan et al. [3]. Our approach falls into the first group.

2.1.1. Trust-Based AODV Protocol Approaches

In [4], routing tables of nodes contain trust value for each path. Therefore, if there are more entries for some destination with the smallest hop count, the more trusted path is chosen. The trust of a path is calculated as a product of the node trusts along the path.
Authors in [15] proposed a trust-based scheme for AODV which uses a friendship mechanism. Nodes keep lists of friends and their friendship values, calculated over some features. Route Request (RREQ) and Route Reply (RREP) messages are rejected based on trust values of previous and next hops. Furthermore, a friendship of the route is evaluated, and the route is registered if it is more friendly than the existing one.
The method proposed in [5] changes the original neighbor table entries and routing table entries to keep information about trust. Neighbor trust values are used to handle RREQ and RREP messages from those neighbors, while route trusts are used to select routes.
Authors in [16] have a slightly different approach to incorporate trust. Each node has its trust table, and when receiving a packet, it checks the trust value of the source. If it is untrusted, then the packet is dropped.
In [6], the path trust value is computed during the spread of RREQ and RREP messages. Each node on the way adds the trust value of the next hop while the control message is spread over the network. The destination node computes the average and that is considered as the trust of the path.
In [7], when a node receives a RREQ message, it checks the trust of the source. If the source is untrusted, the RREQ message is ignored. Otherwise, the trust of the neighbors is calculated, and RREQ is forwarded only to the trusted ones. RREP messages are only forwarded.

2.1.2. Trust-Based DSR Protocol Approaches

In [8], a trust scheme is presented to extend DSR routing with detection and isolation of misbehaving nodes. When non-cooperative behavior is detected, the misbehaving node is excluded from routing.
Authors in [17] evaluate trust based on the similarity of nodes. The similarity is a weighted sum of different node attributes, such as velocity or moving direction. The decision to forward the data is based on the similarity degree.
In [9], the trust mechanism is integrated into the route discovery process. Trust is a cumulative sum of the normalized values for different categories of behavior. In the DSR protocol, nodes add their IP addresses in the RREQ message. During the propagation of the RREP message, each node adds the trust of the preceding node.
SCOTRES system [10] was created for wireless ad hoc networks deployed for monitoring environmental parameters. The routing protocol uses three metrics to evaluate the node trust. Based on the information from the routing table, a topological metric of a node is evaluated, and the rating system will tolerate failures of significant nodes. Energy and channel-health are the other two metrics. Paths that contain malicious nodes are excluded. The method was integrated into the DSR protocol.

2.2. Use Case and Communication Model

The use case of the proposed method is an ad hoc network of IoT/sensor nodes monitoring, measuring, and collecting environmental parameters. The communication model assumes that all nodes keep sending data periodically to a single node, called a sink. This is a typical case for wireless sensor networks that represent a special class of ad hoc networks [18]. The real-world applications of such networks include monitoring of air pollution, destruction phenomena, agricultural monitoring, and more [19]. The common property of all these use cases is that there is always one dedicated node collecting data from other nodes that act as sensors. These sensors cannot communicate directly with the sink, they need to use intermediate nodes to deliver their messages to the sink. Each route from a node to the sink is traversed periodically, so often that it does not expire.
This communication model was used for performing an experimental evaluation of our solution, but the solution is not limited to this model. Other models of ad hoc communication are suitable for its application.

2.3. Description of Routing Protocols

2.3.1. The AODV Protocol

The AODV protocol [14] is a reactive routing protocol, which implies that a route discovery process is initiated when a route to a specific destination is needed. Route discovery is accomplished by flooding the network with RREQ messages. Upon receiving RREP messages the route with the smallest hop count will be recorded in the routing table. The routing table on each node contains information about the next hop to the destination, the number of hops, and the expiration time of the routing table entry. Each time the route is used for forwarding data, its expiration time is updated. In the case of periodic communication, the routing table entry never expires.
There are two ways of creating routes in the AODV protocol. Protocol’s behavior depends on the flag called destination only. When the flag is set (further referenced as DFT), only the destination node can reply to a RREQ message. This implies that every time a new route is requested, a new original route from the source to the destination is created, without any influence of already existing routes. On the other hand, when the flag is not set (further referenced as DFF), any node that has a route to the destination can reply to the RREQ message. As a result, the routes that already exist influence the searching process. The existing routes are then used by many nodes and even though a better route exists, it is not discovered. The difference in the created routes can be seen in Figure 1. Nodes are depicted as circles with their IDs written up left from them. The node with I D = 0 is the sink. Grey links, although they exist, are not used in any route. The thicker the link is, the more routes are going through it. Topology in Figure 1a was created with the destination only flag not set. Compared to Figure 1b, routes in Figure 1a were attached to the existing ones, and thus the topology has fewer “branches”.
AODV scales well to large networks, as shown in [20]. It is a widely accepted choice for reactive routing [21].

2.3.2. The DSR Protocol

Dynamic Source Routing protocol (DSR) [22] is also a reactive protocol. Its route discovery process is similar to AODV [23]. Thus, the results from the simulations with the AODV protocol can be applied to the DSR protocol, too.
Generally, DSR is a source routing protocol. It uses so-called source routing, where each data packet contains a list of intermediate nodes it will traverse on its way to the destination.
Compared to AODV, the DSR protocol keeps the information about multiple routes to the destination. A node may choose to select the shortest sequence of hops to the destination, or it may use an alternative metric to select the route [22]. According to its RFC, DSR is designed for networks of up to two hundred nodes and of small diameter up to 10 hops [22]. The next difference is that there is no expiration time for routes.
To store routing information, DSR protocol implements Route Cache data structure. It can also implement Link Cache data structure, meaning each individual link learned from the DSR Options header is stored. Then, to search for a route, the source node performs Dijkstra’s shortest path algorithm to find the best path to the destination [22].

2.3.3. Other Protocols

Another ad hoc routing algorithm, called TORA, was proposed in [24], but it never made it to RFC. To the best of our knowledge, it is not used.
The last reactive protocol, DYMO, was renamed to AODVv2 [25]. RFC for AODVv2 is a work in progress. The document expired in 2019, and it has not been approved yet.

2.4. Description of the Trust Estimation Method

The method published in [11] demonstrated the applicability of neural networks (NNs) for the evaluation of trust.
We defined trust as the confidence that a given node will forward the data correctly [26]. To measure that, we use the packet delivery ratio (PDR) metric. A node is considered trusted if its PDR is greater than a given threshold ( T H R ). Otherwise, it is considered untrusted.
A path between a source node and a destination node is an ordered sequence of intermediate nodes. Let P = N 1 , N 2 , , N p be a path from source N 1 to destination N p , where p is the length of the path. Paths are constructed by routing protocols.
The PDR of a node N i is defined as follows:
PDR ( N i ) = forwarded - by - N i sent - through - N i ,
where forwarded - by - N i is the number of packets correctly forwarded by node N i and sent - through - N i is the total number of packets sent to node N i that were supposed to be forwarded.
The advantage of the NN-based trust estimation method is fast NN learning with generated data. To generate the data, we used the fact that PDR of a path P is defined as the product of PDRs of intermediate nodes along the path [11]:
PDR ( P ) = i = 2 p 1 PDR ( N i )
Let us describe the method. We have a network topology where nodes can measure the PDRs of the paths. Using NNs, we can learn the underlying dependencies and predict PDRs of nodes from PDRs of paths. A detailed example of the problem and its solution are described in [11], Subsection III-A.
A formal mathematical definition of the NN-based trust estimation method is presented in [26]. The trust of a node is its estimated PDR, and it is a real number between 0 and 1.
The evaluation of method performance showed that in 98% of cases NN was successful in estimating the trust of a node in an ad hoc network.
The advantage of the NN-based estimation of node trusts is that data can be incomplete or incorrect, and the NN still predicts trust with high success [26].
However, for the NN-based trust estimation method to perform reasonably, network topology should change slowly. As the method proposed in this article is designed to run in symbiosis with the NN-based trust estimation method, we assume that the positions of all network nodes are fixed. Considering the communication model, the environmental conditions may change (e.g., some obstacles appear), so even with the fixed topology, PDRs of nodes, and thus their trusts, may change in time.

3. The Proposed Method of Trust-Aware Reactive Ad Hoc Routing

3.1. The Main Idea

The main idea is that the RREQ message delivery is delayed according to the trust of the previous hop node. The goal of the trust-aware route discovery is to prefer routes consisting of more trusted nodes. We will call this method TARA (Trust-Aware Reactive Ad Hoc routing).
In the rest of the article, we will use the AODV protocol as the reactive ad hoc routing protocol. However, the proposed adaptivity of route discovery on trust values of nodes is independent of routing protocol implementation. It should work with any reactive ad hoc routing protocol that accepts the first obtained route.
To make the TARA method independent of the particular ad hoc routing protocol, the delaying of RREQ messages needs to be implemented as an interlayer of the ISO-OSI model. Said interlayer needs to be placed between the link and the network layer, and its job is to filter the RREQ messages coming from the link to the network layer. For each RREQ message, this interlayer decides how long the message will be delayed before sending it to the network layer. The delay value is derived from the estimated PDR value of the neighbor node that sent or resent the RREQ message. In this article, we consider three functions to calculate these delays, see Section 3.5.
The method description follows. Section 3.2 outlines the assumptions for the distribution of trust values that are necessary for computation of the delay. Section 3.3 introduces the time model for delay and metrics related to time. Section 3.4 describes the method performance metrics. Finally, Section 3.5 provides algorithms for the delay functions.

3.2. Trust Distribution

In order to successfully deploy the suggested solution, each node needs to know the estimated PDRs of its neighbors. In sink-based networks, the sink node always communicates with all other nodes. Thus, it can collect all necessary statistical data, estimate the trust of the nodes using a NN, and distribute trust estimations to all nodes in the network. We assume that the topology of the network does not change, or changes slowly in time, and each route found by the AODV protocol is used periodically or very often, therefore it does not expire.
In this article, we do not consider scenarios in which routes are rediscovered and the sink node recomputes the impacted trust values as a reaction to network changes. We will simply assume that all nodes receive the trust estimation, and we will focus on how the TARA method performs compared to the standard AODV protocol.

3.3. Definition of the Time Unit

Our simulation does not model real devices. Instead, it reproduces the results of their behavior. Thus, the simulation does not include the precise timing of the communication in a network. We decided to establish a reference operation that takes for simplicity constant time. This operation is the retransmission of the message to the next hop under ideal conditions. In reality the retransmission is not an atomic operation, and it is influenced by many factors such as node performance or the amount of data traffic going through that node. We expect that all nodes are identical and the data traffic is not too dense, therefore we could neglect these factors. We define Time Unit (TU) to represent the retransmission time. All metrics, which are related to time, use TU as a unit.

3.4. Performance Metrics

To better understand and evaluate the TARA method performance, we first specify the performance metrics. We define four metrics as follows.

3.4.1. Network-Wide Average PDR

In order to investigate the overall losses caused by the low PDR of some nodes, we define the average PDR metric ( PDR a v g ), which is the mean of all path PDRs in the network:
PDR a v g = i = 1 m PDR ( P i ) m ,
where P i is the i-th path and m is the number of paths in the network. For our use case of sensors sending data to one sink, there are m = n 1 , where n is the number of nodes in the ad hoc network.

3.4.2. Network-Wide Average Path Length

When we incorporate trust into the routing protocol, it does not find the shortest paths anymore. It may pick more trusted but longer alternative routes. The metric called average path length ( PL a v g ) helps us understand how the average path length was influenced by incorporating trust into the route discovery mechanism. The length is the number of hops from the source node to the destination node. PL a v g is formally defined as:
PL a v g = i = 1 m PL ( P i ) m ,
where m is the number of paths P i in the ad hoc network.

3.4.3. Average and Maximum Delivery Delay of RREQ Messages

As the TARA method delays the RREQ messages through nodes with low PDR and thus penalizes them during route discovery to improve the PDR of the paths in the network, it, on the other hand, prolongs the time of the new route discovery. We call it route discovery delay (RDD). So metrics PDR a v g and RDD a v g are counteractive: improvement of one can deteriorate the other. In order to investigate these dependencies, we define two metrics:
  • average route discovery delay ( RDD a v g );
  • maximum route discovery delay ( RDD m a x ).
Both metrics are measured in TUs. The reason we picked two metrics of RDD instead of one is that, for some topologies, the maximum reaches really impractical values, thus some routes cannot be found. This could be a problem for network applications when the routes to all nodes need to be found. For these purposes, it is more relevant to consider RDD m a x . On the other hand, some network applications do not require to communicate with all nodes (for example, it is expected that some sensors are lost or no longer operational), and then the RDD a v g is a more useful metric.

3.5. Delay Functions

We consider three functions for delaying the RREQ messages depending on the node PDR. Each delay function input consists of the estimated PDR and some function parameters, and the output is the calculated delay D of the RREQ message in T U . Each function is described in detail in the following sections. The graphical representation of all functions is in Figure 2.

3.5.1. Constant Delay Function

The most straightforward function that we experimented with is the Constant Delay function. The idea is to set the delay value to the maximal delay (MD) every time the estimated PDR of the neighbor node drops below the T H R . The purpose of the T H R value is not to penalize the nodes with relatively high PDRs. The value of D is calculated as a function of THR, MD, and estimated PDR (Algorithm 1).
Algorithm 1 Constant Delay function specification
Input: THR [ 0 , 1 ] ; MD > 1 ; PDR [ 0 , 1 ]
Output: D 0
if PDR < THR then
       D MD
else
       D 0
end if
return D
We expect this function to have the worst results among all metrics. However, it helps us see whether delaying the RREQ messages can be successful at all. We also expect that higher MD values increase the resulting PDR a v g and both RDD metrics.

3.5.2. Linear Delay Function

The previous function does not take into account the value of the estimated PDR. The T H R value helps solve this insufficiency only partially. The Linear Delay function delays RREQ messages linearly according to the PDR of the node that sent or resent the RREQ message up to the MD value; we use the threshold, too. The value of D is calculated as a function of THR, MD, and estimated PDR (Algorithm 2).
Algorithm 2 Linear Delay function specification
Input: THR [ 0 , 1 ] ; MD > 1 ; PDR [ 0 , 1 ]
Output: D 0
if PDR < THR then
       D MD ( 1 PDR )
else
       D 0
end if
return D
In this case, we expect that the THR value does not have a positive impact on the results. We also expect that higher MD values increase PDR a v g and both RDD metrics.

3.5.3. Exponential Delay Function

The last suggested function delays RREQ messages more for the nodes with small estimated PDR and less for nodes with higher estimated PDR in comparison with the Linear Delay function. The differences are clear from Figure 2. The shape of the curve is determined by the following function depending on three parameters, BASE, MD, and PDR (Algorithm 3).
Algorithm 3 Exponential Delay function specification
Input: BASE 2 ; MD > 1 ; PDR [ 0 , 1 ]
Output: D 0
D MD ( BASE 1 P D R 1 ) / ( BASE 1 )
return D
As we can see from the function specification, the BASE value influences the bend of the curve, and the MD value scales the curve in the vertical direction. We expect that this function could have better results than the Linear Delay function because it penalizes more the nodes with worse PDR. We also expect that the RDD metrics values could be smaller in comparison with the Linear Delay function for the similar PDR a v g values.

4. Simulator

The simulator is written in Python and has a modular structure. Each logical component of the simulated problem was implemented as a separate module. Therefore, functionality can be easily changed by replacing the module. The basic structure is shown in Figure 3. The logical functioning and behavior of individual modules are described in the following subsections.

4.1. Layout Module: Modeling the Network

An ad hoc network is modeled as a graph with set of vertices N = { N 1 , N 2 , , N n } that represent network nodes and set of edges L = { L 1 , L 2 , , L e } . Every edge represents a bidirectional link between exactly two nodes. The set of nodes and links together create an ad hoc network topology.
The parameters for generating the set of network nodes are the 2D area size (the default value is 100 × 100) and the number of nodes (the default value is 100). We use the uniformly random distribution to generate the positions of nodes in the selected 2D area.

4.2. Topology Module: Generating Topologies

One of the main properties of each topology is its density that is related to the number of links between nodes. Density highly influences the number of alternative paths between any two nodes in the network. Together with the total number of nodes, density is the most important parameter to observe when observing the behavior of routing mechanisms. To describe the density, we borrowed the definition from the graph theory. We use the average vertex degree (AVD), which tells us how many neighbors each node has on average.
When generating a topology for a given 2D random distribution of node positions, we want to create a connected topology and, at the same time, we want to achieve a specific density. We decided to use the topology control algorithm called Lune β -skeleton [27]. The performance of this algorithm is influenced by parameter β that produces the topologies with various densities. A smaller β value creates a higher density network while a greater value produces a lower density network. An example of the difference between topologies created with various β parameters is in Figure 4. β = 1 produces a topology with more links and higher AVD compared to β = 2 .
The advantage of this method is that, for β 2 , it is ensured that the resulting topology is always connected if it was connected before the application of the algorithm. In our case, we started with the complete graph topology and then reduced the number of links with the help of this algorithm.
The resulting AVD of each topology depends on the β parameter and on the initial positions of all nodes. Therefore, the same β value produces topologies with slightly different AVDs. The dependency of the average vertex degree on the β value is shown in Figure 5.

4.3. Routing Module: AODV Implementation

Our simulator does not implement the full specification of the AODV protocol. We implemented only the result of the AODV protocol operation. No node-to-node communication is simulated. We focused only on the way the AODV protocol discovers the new paths and how this process is influenced by our delay mechanism.
As the AODV route discovery process is based on flooding, it always finds the fastest discovered path. To simulate this behavior, we use Dijkstra’s algorithm for searching shortest paths where the distance is the delay in TUs. If the trust penalization of a RREQ message is not involved, the delay between neighboring nodes is exactly 1 T U . Otherwise, the delay is 1 T U plus penalization D computed by the given delay function (Constant, Linear, or Exponential). If Dijkstra’s algorithm returns more paths with the same delay, one of them is randomly selected. This simulates the real ad hoc routing where the fastest discovery depends (randomly) on various physical constraints (e.g., communication load).
We also implemented both AODV modes DFT and DFF.

4.4. Scenario Module: Trust Distribution

This module allows us to change the behavior of nodes in terms of trust.
In order to investigate the performance of the TARA method, we prepared several scenarios that differ by the number of nodes with PDR < 1 , i.e., potentially untrusted nodes (depending on the threshold value). Nodes with PDR < 1 were selected randomly. The PDR values for these nodes were generated uniformly from the interval [ 0 , 1 ] . We have limited the simulation scenarios to cases where the percentage of nodes with PDR < 1 are 10%, 20%, 30%, 40%, and 50%. In the following sections, we denoted these trust scenarios as SC-10, SC-20, SC-30, SC-40, and SC-50, respectively.

4.5. Instance Module

Instance module defines the parameters of one specific simulation instance. Specific values of parameters of one simulation instance are called its configuration. Table 1 lists all parameters of the simulation instance configuration and their default values.
Default configuration simulates a general use case of reasonably large networks. Area and distribution of node positions allow to create variety of topologies in order to test fairly the TARA performance.

4.6. Simulation Module

The purpose of Simulation module is to run simulation instances and collect, process, and save the simulation results. The unit of the simulation is 1 experiment which is 100 runs of one simulation instance configuration, each with different node positions and therefore with different topologies, generated by the Lune β -skeleton for the given β .

5. Experiments and Results

Within each experiment, we calculate PDR a v g , PL a v g , and RDD a v g (see Section 3.4) as average over all generated 100 topologies of the experiment. RDD m a x is the maximum over all the 100 topologies, representing the worst RDD . This allows us to choose the best parameters of the delay function. More specifically, if some particular combination of parameters produces a reasonable PDR a v g , but at the same time the value of RDD m a x is too high, it just means that the overhead of the route discovery is too high, and such combination of parameters is not acceptable. The goal of experiments is to find values of configuration parameters that maximize PDR a v g and minimize RDD a v g at the same time.
For each combination of parameters, we simulate two versions of the outputs depending on whether the destination only flag is enabled (DFT) or not (DFF).
The reference experiment is an experiment with default values (see Table 1) of configuration. In particular, no delay function is used and, therefore, the AODV protocol is run in the standard mode, and untrusted nodes are not penalized.
The performance of each experiment will be compared relative to the performance of the reference experiment. We will enumerate the relative change for a particular metric δ m e t r i c via Formula (5).
δ m e t r i c = V a l u e m e t r i c R e f e r e n c e V a l u e m e t r i c R e f e r e n c e V a l u e m e t r i c 100 %
δ m e t r i c = 0 % means that the metric value has not changed compared to the reference value. Additionally, δ m e t r i c can be more than 100%.

5.1. Dependence of the TARA Method Performance on the Delay Function

The configuration of the reference experiment is 2D area 100 × 100, uniform distribution of 100 nodes, bidirectional links, β = 1.0 , and no delay function is applied (trust distribution scenario is irrelevant). The performance results of the reference experiment are shown in Table 2.
When no delay function is applied, delay at each hop is 1 TU. Thus, R D D a v g = P L a v g if DFT, whereas R D D a v g < P L a v g if DFF.

5.1.1. Constant Delay Function

The Constant Delay function serves as a proof of concept that should show us whether the TARA method has the potential to improve the performance of an ad hoc network with untrusted nodes. For the experiments with the Constant Delay function, we chose the most pessimistic scenario SC-50. Experiments were conducted with several combinations of MD and THR parameter values for both DFT and DFF. The performance results for DFT are plotted in Figure 6 and for DFF in Figure 7.
It follows from these figures that PDR a v g achieves maximum for THR around 0.7. The reason is that the Constant Delay function penalizes nodes with P D R < T H R . If THR = 1 , then nodes with high PDR values are penalized by the function, making it impossible to find routes through them. On the other hand, THR = 0.5 is a bad choice, as nodes with relatively low PDR values are not penalized. Thus THR value of these boundary values gives worse results.
The maximum value of PDR a v g and the minimum value of RDD a v g and combinations of delay function parameters to reach them are presented in Table 3.
The Constant Delay function does not reflect differences in trust values at all. Smaller values of MD are not enough for trusted path selection; on the other hand, too great MD value does not make a significant improvement of PDR a v g , but instead worsens route discovery delay RDD a v g .
The best PDR a v g value is achieved for MD = 16 . Further increase in MD does not bring additional improvement, only worsening the RDD a v g . Results of the experiments with the Constant Delay function validated the proof of concept. The TARA method improved PDR a v g by 51% (DFT) and 54% (DFF) compared to the reference experiment.

5.1.2. Linear Delay Function

Result plots for the Linear Delay function have similar shapes compared to the Constant Delay function, compare Figure 8 and Figure 9 with Figure 6 and Figure 7. However, with the same configuration parameters, the TARA method with the Linear Delay function achieves significantly better PDR a v g and RDD a v g .
For the Linear Delay function, smaller MD values penalize all nodes almost the same way, and penalization became fairer with greater values.
THR value does not influence PDR a v g significantly. That is because the linearity of the delay function already plays the same role as the T H R in Constant Delay function.
Further dependence found in results is that the RDD a v g depends on MD of the Linear Delay function. Increasing MD prolongs the path length and increases the route discovery time. RDDs for the Linear Delay function are better than for the Constant Delay one. The explanation is that by penalizing worse nodes more, the Linear Delay function generally delays RREQ messages less in comparison to the Constant Delay function.
The best metric values and combinations of the Linear Delay function parameters to reach them are presented in Table 4.
Table 5 presents the combinations of parameters for the Linear Delay function to find the best trade-off between contradictory requirements to maximize PDR a v g and minimize RDD a v g . Clearly, large MD increases RDD a v g significantly while PDR a v g improves very little. This table can be used to find the best configuration parameters once the real-world application gives us the relative importance of maximizing PDR a v g vs minimizing RDD a v g .

5.1.3. Exponential Delay Function

Results for the Exponential Delay function are shown in Figure 10 and Figure 11.
The best metric values and combinations of Exponential Delay function parameters to reach them are presented in Table 6.
Table 7 represents the combination of parameters for the Exponential Delay function for the best trade-off between maximizing PDR a v g and minimizing RDD a v g for the practical application of the TARA method.
If the Exponential Delay function is compared with the Linear Delay function, Exponential Delay penalizes nodes with high PDR less, depending on the BASE value.
As with previous functions, greater MD increases RDD a v g , while using a greater BASE with the same MD helps reduce the delay but, at the same time, produces worse PDR a v g .

5.2. Dependence of the TARA Method Performance on the Network Density

The importance of the β parameter that determines the density of the network is shown in Figure 12 for the Exponential Delay function. In networks with greater β and, therefore, smaller density, fewer alternative routes can be found, thus less space is left for improving PDR a v g . Models DFT and DFF differ marginally.

5.3. Dependence of the TARA Method Performance on the Network Size

From the experiments, it became clear that the size of the network has no effect on the performance of the TARA method. Figure 13 shows the results for the Linear Delay function.

5.4. Dependence of the TARA Method Performance on the Destination Only Flag

Figure 14 shows how the setting of the destination only flag influences construction of paths. Blue nodes have P D R = 1 and red nodes have P D R < 1 . The size of the red nodes grows with decreasing of their PDR value. The value of PDR is written next to the node ID. Paths in Figure 14 were constructed with the default configuration and Exponential Delay function with BASE = 8 and M D = 512 . Grey links are not used. Links are thicker when they are used in more paths. DFF topology has longer paths and fewer branches because paths are built on existing ones (see Section 2.3.1).
Performance metrics for Constant, Linear, and Exponential Delay functions with DFT vs. DFF are depicted on Figure 6 vs. Figure 7, Figure 8 vs. Figure 9, and Figure 10 vs. Figure 11, respectively. DFT allows to reach greater values of PDR a v g for the price of longer RDD a v g . RDD a v g values of DFT are by one order greater than the corresponding results of DFF (see Table 8, compare DFT and DFF sections).

5.5. Dependence of the TARA Method Performance on Trust Distribution Scenarios

We have conducted several experiments to analyze how scenarios of malicious behavior influence the performance of the TARA method. The percentage of potentially untrusted nodes is fixed in each scenario, ranging from 10% to 50%. Experiments with all combinations of the BASE and MD parameters were helpful, but for simplicity and clear comparison, Table 8 shows the results only for BASE = 8 and MD = 512 .
For scenarios with few untrusted nodes, the TARA method is not as efficient. Its benefit increases with the percentage of untrusted nodes.

5.6. Summary Evaluation of Experiment Results

Results of experiments for all delay functions show that increasing maximum delay value MD improves network-wide average PDR significantly, but the effect weakens with greater values. Moreover, the initial increase in MD gives a quick boost for the PDR metric, but a further increase in MD is not effective. Improvement of PDR by the TARA method, compared to the reference experiment with no delay function applied, is significant for all delay functions, but Exponential Delay provided the best improvement.
THR values do not influence PDR a v g as significantly as the MD values do. For the Linear Delay function, THR has influence mainly on the RDD a v g . The reason is that nodes with PDR above THR are not penalized, so no delay is added for them. Thus, route discovery, in general, is faster.
If the Exponential Delay function is compared with the Linear Delay function, Exponential Delay penalization better reflects the differences in trust values of nodes. Depending on the bending of the exponential curve, penalization of nodes with high PDR starts slowly, which is sufficient, and penalization of nodes with low PDR value grows rapidly.
PL a v g and RDD a v g metrics need to be minimized, contrary to the average PDR a v g , which needs to be maximized. Due to the delay function, improving the PDR means worsening PL and RDD. Greater MD value prolongs the path length and increases the route discovery time.
In general, applying the TARA method approach in more dense networks gives greater PDR a v g improvement. At the same time, the network size, under the assumption of the same density, has no influence on the performance of the TARA method.
DFT provides more trusted and shorter paths for the cost of much greater RDD a v g . DFF copes better with discovering paths quickly but produces longer paths and cannot reach so high PDR a v g as DFT.
Experiments with different scenarios showed that networks with a greater amount of untrusted nodes have a greater potential for improvement.
The aim of the experiments was to find the best combination of TARA method parameters to achieve two contradictory goals, which should also be kept in mind when applying the TARA method:
  • maximize the average packet delivery ratio in the network PDR a v g ;
  • minimize the average route discovery delay RDD a v g .
Combinations of delay functions parameters that produce relatively high PDR a v g while RDD a v g is low are presented in Table 5 and Table 7.

6. Discussion

According to the AODV RFC [14], if a node obtains more replies for its RREQ message, it also processes them, and if they have a fresher sequence number, or the same sequence number, but the number of hops is smaller, then the routing table is updated with the new route. This is something to keep in mind when implementing the TARA method.
If there are alternative paths and the route discovery is delayed according to the trust of the nodes along those paths, the first RREP message is the fastest, meaning that path is the most trusted one. RREP for the other alternative paths may take longer to arrive, implying that those paths pass through less trusted nodes. The less trusted path could be shorter (have fewer hops), and AODV will accept it. The goal of our method is not to change the implementation of AODV. Our interlayer that delays packets should discard the repeated RREP messages to the same RREQ message.
Another aspect to consider is the behavior of the DSR protocol, which stores several route entries for the same destination. The problem is identical to AODV, and the interlayer can address it in the same way.

7. Conclusions

Cooperation and trust establishment are the significant challenges in ad hoc network security. Earlier, we have proposed a method to evaluate the trust of the particular node in an ad hoc network using neural networks. Research presented in this article is devoted to designing a way to integrate trust in reactive routing protocols. The challenge was to do it without changing the routing algorithm, i.e., to influence the routing decision from the outside.
This article introduces a method to enhance trust in reactive routing protocols, called TARA, and analyses the implementation and settings of the TARA method. The method’s main idea is to delay the route discovery messages of untrusted nodes, forcing the more trusted paths to be chosen.
Results of experiments show that different delay functions improve the average packet delivery ratio up to 78% for DFF and 72% for DFT (Table 8). Generally, the destination only flag should be activated to provide greater trust if route discovery time is not critical. In essence, when using the method, parameters should be selected to trade-off between maximizing trust and minimizing route discovery delay at the same time.
The TARA method fulfilled the research goal, namely, enhancement of reactive ad hoc routing protocol with trust mechanism without the need to change the implementation of the routing itself. Various parameter combinations were tested and analyzed to provide recommendations for choosing TARA method parameters, depending on the application in a specific ad hoc network.
The TARA method was discussed in the context of implementation in an ad hoc network, and future work could address the concerns.

Author Contributions

Conceptualization, Y.T.; methodology, Y.T.; software, Y.T.; validation, Y.T. and P.T.; formal analysis, Y.T.; investigation, Y.T.; writing—original draft preparation, Y.T.; writing—review and editing, Y.T. and P.T.; visualization, Y.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Link to the git repository with simulator source code and results: https://gitlab.fit.cvut.cz/trofiyel/TARA (accessed on 13 December 2021).

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AODVAd hoc On-demand Distance Vector
DFFDestination only Flag False
DFTDestination only Flag True
DSRDynamic Source Routing
DYMODYnamic Manet On-demand
MANETMobile Ad hoc NETwork
MDMaximum Delay value
NNNeural Network
OLSROptimized Link State Routing
PDRPacket Delivery Ratio
RFCRequest For Comments
RREPRoute REPly
RREQRoute REQuest
TARATrust-Aware Reactive Ad hoc routing
THRTHReshold value

References

  1. Buttyán, L.; Hubaux, J.P. Trust assumptions and adversary models. In Security and Cooperation in Wireless Networks: Thwarting Malicious and Selfish Behavior in the Age of Ubiquitous Computing; Cambridge University Press: Cambridge, UK, 2007; pp. 74–82. [Google Scholar] [CrossRef]
  2. Alnumay, W.; Ghosh, U.; Chatterjee, P. A Trust-Based Predictive Model for Mobile Ad Hoc Network in Internet of Things. Sensors 2019, 19, 1467. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Pathan, M.S.; Zhu, N.; He, J.; Zardari, Z.A.; Memon, M.Q.; Hussain, M.I. An Efficient Trust-Based Scheme for Secure and Quality of Service Routing in MANETs. Future Internet 2018, 10, 16. [Google Scholar] [CrossRef] [Green Version]
  4. Li, X.; Jia, Z.; Zhang, P.; Zhang, R.; Wang, H. Trust-based on-demand multipath routing in mobile ad hoc networks. IET Inf. Secur. 2010, 4, 212. [Google Scholar] [CrossRef] [Green Version]
  5. Marchang, N.; Datta, R. Light-weight trust-based routing protocol for mobile ad hoc networks. IET Inf. Secur. 2012, 6, 77. [Google Scholar] [CrossRef]
  6. Venkanna, U.; Agarwal, J.K.; Velusamy, R.L. A Cooperative Routing for MANET Based on Distributed Trust and Energy Management. Wirel. Pers. Commun. 2015, 81, 961–979. [Google Scholar] [CrossRef]
  7. Simaremare, H.; Abouaissa, A.; Sari, R.F.; Lorenz, P. Security and performance enhancement of AODV routing protocol. Int. J. Commun. Syst. 2015, 28, 2003–2019. [Google Scholar] [CrossRef]
  8. Buchegger, S.; Le Boudec, J.Y. Nodes bearing grudges: Towards routing security, fairness, and robustness in mobile ad hoc networks. In Proceedings of the 10th Euromicro Workshop on Parallel, Distributed and Network-based Processing, Canary Islands, Spain, 9–11 January 2002; IEEE Computer Society: Canary Islands, Spain, 2002; pp. 403–410. [Google Scholar] [CrossRef] [Green Version]
  9. Pirzada, A.A.; Datta, A.; McDonald, C. Incorporating trust and reputation in the DSR protocol for dependable routing. Comput. Commun. 2006, 29, 2806–2821. [Google Scholar] [CrossRef]
  10. Hatzivasilis, G.; Papaefstathiou, I.; Manifavas, C. SCOTRES: Secure Routing for IoT and CPS. IEEE Internet Things J. 2017, 4, 2129–2141. [Google Scholar] [CrossRef]
  11. Trofimova, Y.; Moucha, A.M.; Tvrdik, P. Application of neural networks for decision making and evaluation of trust in ad-hoc networks. In Proceedings of the 2017 13th International Wireless Communications and Mobile Computing Conference (IWCMC), Valencia, Spain, 26–30 June 2017; pp. 371–377. [Google Scholar] [CrossRef]
  12. Retana, A. Mobile Ad-Hoc Networks (MANET) Working Group Charter. Available online: https://datatracker.ietf.org/doc/charter-ietf-manet/ (accessed on 13 December 2021).
  13. Loo, J.; Mauri, J.L.; Ortiz, J.H. (Eds.) Mobile Ad Hoc Networks: Current Status and Future Trends, 1st ed.; CRC Press: Boca Raton, FL, USA, 2012. [Google Scholar] [CrossRef]
  14. Das, S.R.; Perkins, C.E.; Belding-Royer, E.M. RFC 3561: Ad Hoc On-Demand Distance Vector (AODV) Routing; Internet Engineering Task Force: Fremont, CA, USA, 2003; Available online: https://datatracker.ietf.org/doc/rfc3561/ (accessed on 13 December 2021).
  15. Eissa, T.; Abdul Razak, S.; Khokhar, R.H.; Samian, N. Trust-based routing mechanism in MANET: Design and implementation. Mob. Networks Appl. 2013, 18, 666–677. [Google Scholar] [CrossRef]
  16. Aggarwal, A.; Gandhi, S.; Chaubey, N.; Jani, K.A. Trust Based Secure on Demand Routing Protocol (TSDRP) for MANETs. In Proceedings of the 2014 Fourth International Conference on Advanced Computing Communication Technologies, Rohtak, India, 8–9 February 2014; pp. 432–438. [Google Scholar] [CrossRef]
  17. Wang, J.; Liu, Y.; Jiao, Y. Building a trusted route in a mobile ad hoc network considering communication reliability and path length. J. Netw. Comput. Appl. 2011, 34, 1138–1149. [Google Scholar] [CrossRef]
  18. Conti, M.; Giordano, S. Mobile ad hoc networking: Milestones, challenges, and new research directions. IEEE Commun. Mag. 2014, 52, 85–96. [Google Scholar] [CrossRef]
  19. Karapistoli, E.; Mampentzidou, I.; Economides, A.A. Environmental monitoring based on the wireless sensor networking technology: A survey of real-world applications. Int. J. Agric. Environ. Inf. Syst. (IJAEIS) 2014, 5, 1–39. [Google Scholar] [CrossRef] [Green Version]
  20. Perkins, C.; Royer, E. Ad-hoc on-demand distance vector routing. In Proceedings of the WMCSA’99—Second IEEE Workshop on Mobile Computing Systems and Applications, New Orleans, LA, USA, 25–26 February 1999; pp. 90–100. [Google Scholar] [CrossRef] [Green Version]
  21. Saini, T.K.; Sharma, S.C. Recent advancements, review analysis, and extensions of the AODV with the illustration of the applied concept. Ad Hoc Netw. 2020, 103, 102148. [Google Scholar] [CrossRef]
  22. Johnson, D.; Hu, Y.; Maltz, D. The Dynamic Source Routing Protocol (DSR) for Mobile Ad Hoc Networks for IPv4. RFC 4728; Internet Engineering Task Force: Fremont, CA, USA, 2007; Available online: https://datatracker.ietf.org/doc/html/rfc4728 (accessed on 13 December 2021).
  23. Perkins, C.; Royer, E.; Das, S.; Marina, M. Performance comparison of two on-demand routing protocols for ad hoc networks. IEEE Pers. Commun. 2001, 8, 16–28. [Google Scholar] [CrossRef] [Green Version]
  24. Park, V.; Corson, M. A highly adaptive distributed routing algorithm for mobile wireless networks. In Proceedings of the INFOCOM ’97, Kobe, Japan, 7–11 April 1997; IEEE Computer Society Press: Kobe, Japan, 1997; Volume 3, pp. 1405–1413. [Google Scholar] [CrossRef] [Green Version]
  25. Perkins, C.E.; Ratliff, S.; Dowdell, J.; Steenbrink, L.; Pritchard, V. Ad Hoc On-Demand Distance Vector Version 2 (AODVv2) Routing; Work in Progress; Internet Engineering Task Force: Fremont, CA, USA, 2019; Available online: https://datatracker.ietf.org/doc/draft-perkins-manet-aodvv2/03/ (accessed on 13 December 2021).
  26. Trofimova, Y.; Fesl, J.; Moucha, A.M. Performance Analysis of Neural Network Approach for Evaluation of Trust in Ad-hoc Networks. In Proceedings of the 2021 11th International Conference on Advanced Computer Information Technologies (ACIT), Deggendorf, Germany, 15–17 September 2021. [Google Scholar]
  27. Bhardwaj, M.; Misra, S.; Xue, G. Distributed Topology Control in Wireless Ad Hoc Networks using β-Skeletons. In Proceedings of the IEEE Workshop on High Performance Switching and Routing (HPSR), Hong Kong, China, 12–14 May 2005; p. 5. [Google Scholar]
Figure 1. Topologies created by AODV. (a) Destination only flag is set to false (DFF), (b) Destination only flag is set to true (DFT).
Figure 1. Topologies created by AODV. (a) Destination only flag is set to false (DFF), (b) Destination only flag is set to true (DFT).
Futureinternet 14 00028 g001
Figure 2. Delay functions. (a) Constant Delay function, (b) Linear Delay function, (c) Exponential Delay function.
Figure 2. Delay functions. (a) Constant Delay function, (b) Linear Delay function, (c) Exponential Delay function.
Futureinternet 14 00028 g002
Figure 3. Module architecture of the simulator.
Figure 3. Module architecture of the simulator.
Futureinternet 14 00028 g003
Figure 4. Two networks with the same distribution of nodes in the area but with different densities controlled by the β parameter.
Figure 4. Two networks with the same distribution of nodes in the area but with different densities controlled by the β parameter.
Futureinternet 14 00028 g004
Figure 5. Average vertex degree as a function of the β parameter.
Figure 5. Average vertex degree as a function of the β parameter.
Futureinternet 14 00028 g005
Figure 6. Constant Delay function + DFT.
Figure 6. Constant Delay function + DFT.
Futureinternet 14 00028 g006
Figure 7. Constant Delay function + DFF.
Figure 7. Constant Delay function + DFF.
Futureinternet 14 00028 g007
Figure 8. Linear Delay function + DFT.
Figure 8. Linear Delay function + DFT.
Futureinternet 14 00028 g008
Figure 9. Linear Delay function + DFF.
Figure 9. Linear Delay function + DFF.
Futureinternet 14 00028 g009
Figure 10. Exponential Delay function + DFT.
Figure 10. Exponential Delay function + DFT.
Futureinternet 14 00028 g010
Figure 11. Exponential Delay function + DFF.
Figure 11. Exponential Delay function + DFF.
Futureinternet 14 00028 g011
Figure 12. Dependence of PDR a v g on the β parameter compared to the reference experiment (with no delay).
Figure 12. Dependence of PDR a v g on the β parameter compared to the reference experiment (with no delay).
Futureinternet 14 00028 g012
Figure 13. Dependence of PDR a v g on the network size (Linear Delay: T H R = 1 ).
Figure 13. Dependence of PDR a v g on the network size (Linear Delay: T H R = 1 ).
Futureinternet 14 00028 g013
Figure 14. Paths created with different destination only flag setting.
Figure 14. Paths created with different destination only flag setting.
Futureinternet 14 00028 g014
Table 1. Parameters of simulation instance.
Table 1. Parameters of simulation instance.
ParameterDefault Value
2D area size100 × 100
distribution of node positionsuniform
link typebidirectional
number of nodes n100
β -parameter1.0
trust distribution scenarioSC-50
delay functionnone
destination only flagDFT
Table 2. Performance metrics for the reference experiment.
Table 2. Performance metrics for the reference experiment.
Flag PDR avg PL avg RDD avg RDD max
DFT0.356.136.1316
DFF0.347.281.4215
Table 3. Constant Delay function parameters that provided the best values of metrics.
Table 3. Constant Delay function parameters that provided the best values of metrics.
FlagPerfor.
Metrics
Best
Value
δ metric ParametersOther Metric Values for Context
THR MD PDR avg PL avg RDD avg RDD max
DFT PDR a v g 0.5351%0.716-7.6017.90102
RDD a v g 7.2218%0.610.456.37-19
DFF PDR a v g 0.5254%0.616-8.572.8263
RDD a v g 1.5711%0.610.437.70-18
Table 4. Linear Delay function parameters that provided the best values of metrics.
Table 4. Linear Delay function parameters that provided the best values of metrics.
FlagPerfor.
Metrics
Best
Value
δ metric ParametersOther Metric Values for Context
THR MD PDR avg PL avg RDD avg RDD max
DFT PDR a v g 0.6071%1512-8.64273.751626
RDD a v g 6.7911%0.510.406.17-19
DFF PDR a v g 0.5872%1512-9.5649.051129
RDD a v g 1.506%0.510.397.81-18
Table 5. Linear Delay function parameter combinations for the best trade-off.
Table 5. Linear Delay function parameter combinations for the best trade-off.
FlagParametersResults
THR MD PDR avg δ PDR avg RDD avg δ RDD avg
DFT0.540.5042%7.9730%
0.680.5452%9.8260%
0.840.5247%9.0948%
0.980.5659%11.6690%
0.9160.5865%15.92160%
1320.5969%24.90306%
DFF0.640.5151%1.7322%
0.680.5357%1.9537%
0.740.5151%1.8026%
0.780.5561%2.0746%
0.880.5665%2.1753%
0.8160.5768%2.8298%
0.9320.5870%4.41210%
Table 6. Exponential Delay function parameters that provided the best values of metrics.
Table 6. Exponential Delay function parameters that provided the best values of metrics.
FlagPerfor.
Metrics
Best
Value
δ metric ParametersOther Metric Values for Context
BASE MD PDR avg PL avg RDD avg RDD max
DFT PDR a v g 0.6172%8512-8.82145.931105
RDD a v g 6.384%102410.406.14-17
DFF PDR a v g 0.5974%8512-9.8126.74892
RDD a v g 1.452%102410.388.32-16
Table 7. Exponential Delay function parameter combinations for the best trade-off.
Table 7. Exponential Delay function parameter combinations for the best trade-off.
FlagParametersResults
BASE MD PDR avg δ PDR avg RDD avg δ RDD avg
DFT480.5555%10.3869%
4320.5969%19.26214%
8160.5762%12.29100%
16160.5659%11.2684%
16320.5966%14.94144%
3280.5247%8.7142%
DFF4320.5871%3.56151%
8160.5666%2.3566%
8640.5873%4.73233%
16160.5563%2.1853%
3280.4946%1.7825%
102480.4532%1.5811%
Table 8. Different trust distribution scenarios.
Table 8. Different trust distribution scenarios.
FlagScen. PDR avg Ref. PDR avg δ PDR avg RDD avg Ref. RDD avg δ RDD avg
DFTSC-100.990.8319%10.716.1375%
SC-200.950.6939%23.086.13276%
SC-300.890.5563%39.776.13549%
SC-400.750.4471%84.636.131281%
SC-500.610.3572%145.936.132281%
DFFSC-100.990.8024%2.561.4280%
SC-200.950.6449%4.541.42220%
SC-300.890.5076%8.921.42527%
SC-400.740.4278%16.791.421081%
SC-500.590.3474%26.741.421781%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Trofimova, Y.; Tvrdík, P. Enhancing Reactive Ad Hoc Routing Protocols with Trust. Future Internet 2022, 14, 28. https://doi.org/10.3390/fi14010028

AMA Style

Trofimova Y, Tvrdík P. Enhancing Reactive Ad Hoc Routing Protocols with Trust. Future Internet. 2022; 14(1):28. https://doi.org/10.3390/fi14010028

Chicago/Turabian Style

Trofimova, Yelena, and Pavel Tvrdík. 2022. "Enhancing Reactive Ad Hoc Routing Protocols with Trust" Future Internet 14, no. 1: 28. https://doi.org/10.3390/fi14010028

APA Style

Trofimova, Y., & Tvrdík, P. (2022). Enhancing Reactive Ad Hoc Routing Protocols with Trust. Future Internet, 14(1), 28. https://doi.org/10.3390/fi14010028

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop