How to find own IP address of a node in AODV

51 views
Skip to first unread message

Ibrahim Khan

unread,
May 17, 2018, 2:57:37 AM5/17/18
to OMNeT++ Users
Daer all and specially Alfanso,

I want to do black hole attack for that i need to send reply to the rreq message sent by source node. How can I do that. Secondly how can i get the IP address of node that received the broadcast. For example if Node 1 receeived the message then how will i find the IP address from within the handlerreq function. 

Alfonso Ariza Quintana

unread,
May 17, 2018, 5:23:06 AM5/17/18
to omn...@googlegroups.com

1.- you can send an intermediate RREP.

2.- You cannot, the broadcasts packets don’t have ACK. If you want to know the nodes that receive a broadcast packet you need to include some form of ACK procedure. It is possible to do cheats in the simulator (for example, the receiver node sends a signal), but these cheats don’t work in a real network

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Ibrahim Khan

unread,
May 17, 2018, 5:34:54 AM5/17/18
to omn...@googlegroups.com
How to get the IP address of the host that receive the broadcast message.

On Thu, May 17, 2018 at 2:22 PM, Alfonso Ariza Quintana <aari...@hotmail.com> wrote:

1.- you can send an intermediate RREP.

2.- You cannot, the broadcasts packets don’t have ACK. If you want to know the nodes that receive a broadcast packet you need to include some form of ACK procedure. It is possible to do cheats in the simulator (for example, the receiver node sends a signal), but these cheats don’t work in a real network

 

 

 

 

 

De: omn...@googlegroups.com [mailto:omnetpp@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: jueves, 17 de mayo de 2018 8:58
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] How to find own IP address of a node in AODV

 

Daer all and specially Alfanso,

 

I want to do black hole attack for that i need to send reply to the rreq message sent by source node. How can I do that. Secondly how can i get the IP address of node that received the broadcast. For example if Node 1 receeived the message then how will i find the IP address from within the handlerreq function. 

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.



--
IBRAHIM

Alfonso Ariza Quintana

unread,
May 17, 2018, 5:48:05 AM5/17/18
to omn...@googlegroups.com

You can emit a signal with the information, IP address of the receiver and IP address of the sender, you cannot use this method in a real network.

You can find more information about the signals in the omnet manual.

 

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: jueves, 17 de mayo de 2018 11:35
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] How to find own IP address of a node in AODV

 

How to get the IP address of the host that receive the broadcast message.

On Thu, May 17, 2018 at 2:22 PM, Alfonso Ariza Quintana <aari...@hotmail.com> wrote:

1.- you can send an intermediate RREP.

2.- You cannot, the broadcasts packets don’t have ACK. If you want to know the nodes that receive a broadcast packet you need to include some form of ACK procedure. It is possible to do cheats in the simulator (for example, the receiver node sends a signal), but these cheats don’t work in a real network

 

 

 

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: jueves, 17 de mayo de 2018 8:58
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] How to find own IP address of a node in AODV

 

Daer all and specially Alfanso,

 

I want to do black hole attack for that i need to send reply to the rreq message sent by source node. How can I do that. Secondly how can i get the IP address of node that received the broadcast. For example if Node 1 receeived the message then how will i find the IP address from within the handlerreq function. 

--

You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--

You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

Ibrahim Khan

unread,
May 20, 2018, 8:13:13 AM5/20/18
to omn...@googlegroups.com
For example provide about how one can see his get his IP address

On Thu, May 17, 2018 at 2:47 PM, Alfonso Ariza Quintana <aari...@hotmail.com> wrote:

You can emit a signal with the information, IP address of the receiver and IP address of the sender, you cannot use this method in a real network.

You can find more information about the signals in the omnet manual.

 

 

 

De: omn...@googlegroups.com [mailto:omnetpp@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: jueves, 17 de mayo de 2018 11:35
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] How to find own IP address of a node in AODV

 

How to get the IP address of the host that receive the broadcast message.

On Thu, May 17, 2018 at 2:22 PM, Alfonso Ariza Quintana <aari...@hotmail.com> wrote:

1.- you can send an intermediate RREP.

2.- You cannot, the broadcasts packets don’t have ACK. If you want to know the nodes that receive a broadcast packet you need to include some form of ACK procedure. It is possible to do cheats in the simulator (for example, the receiver node sends a signal), but these cheats don’t work in a real network

 

 

 

 

 

De: omn...@googlegroups.com [mailto:omnetpp@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: jueves, 17 de mayo de 2018 8:58
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] How to find own IP address of a node in AODV

 

Daer all and specially Alfanso,

 

I want to do black hole attack for that i need to send reply to the rreq message sent by source node. How can I do that. Secondly how can i get the IP address of node that received the broadcast. For example if Node 1 receeived the message then how will i find the IP address from within the handlerreq function. 

--

You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.



--
IBRAHIM

Alfonso Ariza Quintana

unread,
May 21, 2018, 10:56:22 AM5/21/18
to omn...@googlegroups.com

Using the signals you can communicate to all nodes that you have received a broadcast packet, but is not realistic, you cannot implement it in a real network.

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: domingo, 20 de mayo de 2018 14:13
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] How to find own IP address of a node in AODV

 

For example provide about how one can see his get his IP address

 

On Thu, May 17, 2018 at 2:47 PM, Alfonso Ariza Quintana <aari...@hotmail.com> wrote:

You can emit a signal with the information, IP address of the receiver and IP address of the sender, you cannot use this method in a real network.

You can find more information about the signals in the omnet manual.

 

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: jueves, 17 de mayo de 2018 11:35
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] How to find own IP address of a node in AODV

 

How to get the IP address of the host that receive the broadcast message.

On Thu, May 17, 2018 at 2:22 PM, Alfonso Ariza Quintana <aari...@hotmail.com> wrote:

1.- you can send an intermediate RREP.

2.- You cannot, the broadcasts packets don’t have ACK. If you want to know the nodes that receive a broadcast packet you need to include some form of ACK procedure. It is possible to do cheats in the simulator (for example, the receiver node sends a signal), but these cheats don’t work in a real network

 

 

 

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: jueves, 17 de mayo de 2018 8:58
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] How to find own IP address of a node in AODV

 

Daer all and specially Alfanso,

 

I want to do black hole attack for that i need to send reply to the rreq message sent by source node. How can I do that. Secondly how can i get the IP address of node that received the broadcast. For example if Node 1 receeived the message then how will i find the IP address from within the handlerreq function. 

--

You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

Ibrahim Khan

unread,
May 29, 2018, 8:38:20 PM5/29/18
to omn...@googlegroups.com
Dear Alfanso,

suppose we have a sender node1 and destination node 4. The intermediate nodes along the path are node 2 and node 3. What should i do to receive packet from the receiver and send the packet back and forth between nodes 3 and node 4.

Thanks

--

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.



--
IBRAHIM

Alfonso Ariza Quintana

unread,
May 30, 2018, 3:46:51 AM5/30/18
to omn...@googlegroups.com

I don’t understand, if it is forward the packet, it is the basic forwarding mechanism, any of the manet routing examples implement it.

 

If you want to re-send the packet to the previous node, it is necessary to do a copy of the packet, change the address and to send it to the previous node, but this packet will be discarded immediately because the IP layer won’t have any module that could process this packet. It is possible to listen the radio in promiscuous mode but this doesn’t guarantee that you can listen a frame that is been correctly transmitted to the next node due to the expose node/hidden node problem

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: miércoles, 30 de mayo de 2018 2:38
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] How to find own IP address of a node in AODV

 

Dear Alfanso,

--

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

Ibrahim Khan

unread,
May 30, 2018, 4:06:08 AM5/30/18
to omn...@googlegroups.com
Dear Alfanso,

suppose we have a sender node1 and destination node 4. The intermediate nodes along the path are node 2 and node 3. What should i do to receive packet from the receiver and send the packet back and forth between nodes 2 and node 3.

Thanks


--

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.

Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.



--
IBRAHIM

Alfonso Ariza Quintana

unread,
May 30, 2018, 4:54:36 AM5/30/18
to omn...@googlegroups.com

To forward nothing, is the default behavior, to back, it is necessary to create a copy of the packet and change the destination address and modified the protocol to support the copy of the message.

 

And it is illogical to do this, if you create a back copy of the message in a mesh network you will reduce the throughput of the network in a 70% with 4 nodes due to the interferences of the back packets.

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Ibrahim Khan
Enviado el: miércoles, 30 de mayo de 2018 10:06
Para: omn...@googlegroups.com
Asunto: Re: [Omnetpp-l] How to find own IP address of a node in AODV

 

Dear Alfanso,

 

suppose we have a sender node1 and destination node 4. The intermediate nodes along the path are node 2 and node 3. What should i do to receive packet from the receiver and send the packet back and forth between nodes 2 and node 3.

 

Thanks

 

 

--

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/aMetptA-Amw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.



 

--

IBRAHIM

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages