have considered AODV routing protocol. To avoid wormhole in the selected route, I considered a method.
In
that method, I assume that a key, k is distributed among all the nodes
and which is used for the authentication and encryption of further
communication.
In the route discovery phase, when a source send
(broadcast) RREQ message and the next node will receive that
RREQ(request for route discovery) . The next node who received it have
to calculate a F(k) and send to the RREQ sender, where F is a
function(equation).
The RREQ sender will check whether the F(k)
send by the next node is valid (All nodes know both key, k and function,
F). If it is valid, it is said to be authenticated. Hence the RREQ
sender will consider the RREP(reply) from that authenticated next node
and forward it to the source node which requested for the route
discovery
If the next node is not authenticated it will
consider that node to be a wormhole.Hence will not consider any RREP
from that node.
After the route discovery, the nodes have to authenticate each other for packet forwarding.
Sir, I don't know how to implement it in Qualnet. Which all file I
have to modify so that I can make necessary changes.How I can approach
this idea in Qualnet.Will i need to make a new protocol (file) called"modified AODV".
Please do reply