-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulation Contiki for blackhole #27
Comments
Hey Sonxay, nice to meet you ! I'm glad you appreciate this project ! I'm always very happy to welcome newcomers on this repository. About For your second question, I think this is more or less a duplicate of Issue #25 . I think you should get in contact with dmabm and SwitchIsMine for this matter as, unfortunately, I don't have time to spend on the project at this time. Please read and participate to Issue #25 , this should be an interesting sharing. |
Hello All, The other thing is I was able to load a simulation created using this Framework manually, with Contiki inbuilt cooja simulator. Then I run it manually while opening the collect-view too but that tool did not capture and data form any mote. But it seems serial port is connected to project since some of the serial logs can be observed once collect-view tool is connected. I am also a graduate student and looking for a experimental test-bed for my research stuff and generate some results to get published. So far the RPL attack framework would be the best environment I fond. (Thanks to dhonta a lot) I am also planning to make some more attacks on this framework and see the behavior of some other parameters. If I am able to figure it out this issue, surely I will post the solution as soon as possible. |
Hi...
thanks so much
i will contact them soon
regard
sonxay
|
@dmabm : Did you manage to get your things work ? Or do you still have some troubles with the Collect View tool ? NB: At a first sight, I don't figure out if your troubles are related to the following considerations but keep this in mind ; there was a change in the Javascript engine used by Cooja a few months ago. This means that, while the former version of Cooja used OpenJDK 7 with Rhino JS engine, it now uses OpenJDK 8 with Nashorn, which can cause some errors. For this problem, I added a few lines at the beginning of script.js which solved the problem while upgrading to OpenJDK 8, but I cannot confirm it is backward-compatible and pointed out that it already caused problems for @sonxay (see Issue #28 ). Maybe this change will still cause other problems... |
*Hi,*
*I can connect the Collect View tool to project and I can see the serial
logs but tool does not collect the information form sensor network*
*DMABM*
…On Tue, Jun 27, 2017 at 12:56 AM, Alex ***@***.***> wrote:
@dmabm <https://github.com/dmabm> : Did you manage to get your things
work ? Or do you still have some troubles with the Collect View tool ?
NB: At a first sight, I don't figure out if your troubles are related to
the following considerations but keep this in mind ; there was a change in
the Javascript engine used by Cooja a few months ago. This means that,
while the former version of Cooja used OpenJDK 7 with Rhino JS engine, it
now uses OpenJDK 8 with Nashorn, which can cause some errors. For this
problem, I added a few lines at the beginning of script.js
<https://github.com/dhondta/rpl-attacks/blob/master/templates/experiment/script.js>
which solved the problem while upgrading to OpenJDK 8, but I cannot confirm
it is backward-compatible and pointed out that it already caused problems
for @sonxay <https://github.com/sonxay> (see Issue #28
<#28> ). Maybe this change
will still cause other problems...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZg7gwP-m6YymhgM9UiLv89Kil9QqHObks5sIJl4gaJpZM4N959u>
.
|
Hi Sonxay, I ran like 2 minus to generate this type of graph. But I did not do it manually and these are automatically drawn or generated by the RPL attack Framework once a particular simulation is executed. I have a questions about INT (Interference), what is this INT? and how it is calculated ? and What is this parentage (%) mean ? I need proper interpretations for my questions Thank you |
Hi all, @sonxay : As @dmabm told, the default duration of a simulation is 120 seconds and it automatically draws the graph. It uses a custom VisualizerScreenshot plugin in Cooja to get the WSN topology but also draws the DODAG with a graph library and puts the results in the subfolder @dmabm : For the INT metric, I would consider the following :
More concretely :
This shows the control flow for managing the interference state of a mote ; while a mote has connections dropped due to interferences, the resulting period is added to the INT metric ( As a consequence, applied to the example of the flooding attack :
Answers to your questions :
Warning : Do not be confused regarding the ON metric ; in my previous explanation, I mention the ON period which is not the same. This period is this during which the mote remains turned on while the ON metric represents the period during which the mote remains turned on AND idle. This can be seen with the IDLE radio state in PowerTracker.java. |
Hi dhondta, Thank you very much for your detail explanation. I requested those information since I am tiring to do this analysis in different way to interpret the same result in different way. I am going to count CPU, RX, TX separately and draw graphs manually using EXCEL. To do that I plan to use simulation generated data with different networks. That would be my 1st experiment and later I would like to do more similar experiments with some more different parameters instead of "POWER", in that case I may want to connect collect view tool with this Framework. Thanks again |
Please refer to #31 . |
hi all, |
My last question is ... how to run two different motes on different protocols separately? kindly share the link or give me the detailed answer. |
Hi,
The JavaScript
<https://github.com/dhondta/rpl-attacks/blob/master/templates/experiment/script.js>
associated with a simulation file
<https://github.com/dhondta/rpl-attacks/blob/master/templates/experiment/simulation.csc>
allows to define which metrics are to be recorded. This can be tuned to
your needs for collecting Packet Rx, Tx and energy consumption. Note that
this is already handled when simulating an attack with the framework, which
will produce in your experiment's folder the desired results and charts for
use in a report. The framework also generates a PDF from a Markdow-based
report template
<https://github.com/dhondta/rpl-attacks/blob/master/templates/experiment/report.md>
for which you only have to fill in the remark boxes for commenting the
observations of the results.
Does it help you ? Or would you like more information ?
Greetz,
Alex
2018-02-19 12:41 GMT+01:00 dharejo <[email protected]>:
… My last question is ... how to run two different motes on different
protocols separately? kindly share the link or give me the detailed answer.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIr6hv0rN6u5lGmvwg1tPlEe2tyk-kN4ks5tWV4GgaJpZM4N959u>
.
--
A. D'HONDT, Ir²
|
Hi,
For your question about the protocols, the framework does not allow yet to
handle multiple malicious motes (this is foreseen in an open issue
<#14>) and it could therefore
allow to handle different protocols on different malicious motes.
If your question is about all the different motes (regardless of their
roles), different protocols are not mixed together.
However, I don't really get the sense of your question ; what would be your
use case with different protocols ?
Regards,
Alex
2018-02-23 0:56 GMT+01:00 Alexandre D'Hondt <[email protected]>:
… Hi,
The JavaScript
<https://github.com/dhondta/rpl-attacks/blob/master/templates/experiment/script.js>
associated with a simulation file
<https://github.com/dhondta/rpl-attacks/blob/master/templates/experiment/simulation.csc>
allows to define which metrics are to be recorded. This can be tuned to
your needs for collecting Packet Rx, Tx and energy consumption. Note that
this is already handled when simulating an attack with the framework, which
will produce in your experiment's folder the desired results and charts for
use in a report. The framework also generates a PDF from a Markdow-based
report template
<https://github.com/dhondta/rpl-attacks/blob/master/templates/experiment/report.md>
for which you only have to fill in the remark boxes for commenting the
observations of the results.
Does it help you ? Or would you like more information ?
Greetz,
Alex
2018-02-19 12:41 GMT+01:00 dharejo ***@***.***>:
> My last question is ... how to run two different motes on different
> protocols separately? kindly share the link or give me the detailed answer.
>
> —
> You are receiving this because you modified the open/close state.
> Reply to this email directly, view it on GitHub
> <#27 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AIr6hv0rN6u5lGmvwg1tPlEe2tyk-kN4ks5tWV4GgaJpZM4N959u>
> .
>
--
A. D'HONDT, Ir²
--
A. D'HONDT, Ir²
|
Thank you so much for your quick reply and help.
i will try it and will let you know if it does not work.
and my second question is i want to plot the graph of packet Rx an Tx,
energy consumption and delay for any three motes ( like cooja mote,
wismote, Z1 mote and micazmote).
…On Thu, Feb 22, 2018 at 4:00 PM, Alex ***@***.***> wrote:
Hi,
For your question about the protocols, the framework does not allow yet to
handle multiple malicious motes (this is foreseen in an open issue
<#14>) and it could therefore
allow to handle different protocols on different malicious motes.
If your question is about all the different motes (regardless of their
roles), different protocols are not mixed together.
However, I don't really get the sense of your question ; what would be your
use case with different protocols ?
Regards,
Alex
2018-02-23 0:56 GMT+01:00 Alexandre D'Hondt ***@***.***>:
> Hi,
>
> The JavaScript
> <https://github.com/dhondta/rpl-attacks/blob/master/
templates/experiment/script.js>
> associated with a simulation file
> <https://github.com/dhondta/rpl-attacks/blob/master/
templates/experiment/simulation.csc>
> allows to define which metrics are to be recorded. This can be tuned to
> your needs for collecting Packet Rx, Tx and energy consumption. Note that
> this is already handled when simulating an attack with the framework,
which
> will produce in your experiment's folder the desired results and charts
for
> use in a report. The framework also generates a PDF from a Markdow-based
> report template
> <https://github.com/dhondta/rpl-attacks/blob/master/
templates/experiment/report.md>
> for which you only have to fill in the remark boxes for commenting the
> observations of the results.
>
> Does it help you ? Or would you like more information ?
>
> Greetz,
>
> Alex
>
> 2018-02-19 12:41 GMT+01:00 dharejo ***@***.***>:
>
>> My last question is ... how to run two different motes on different
>> protocols separately? kindly share the link or give me the detailed
answer.
>>
>> —
>> You are receiving this because you modified the open/close state.
>> Reply to this email directly, view it on GitHub
>> <#27#
issuecomment-366665244>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/
AIr6hv0rN6u5lGmvwg1tPlEe2tyk-kN4ks5tWV4GgaJpZM4N959u>
>> .
>>
>
>
>
> --
> A. D'HONDT, Ir²
>
--
A. D'HONDT, Ir²
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ai7dafR735DLhKjtSJrLiYq6ZaTLp0TBks5tXf-VgaJpZM4N959u>
.
--
*Ms. Huma Dharejo*
Lecturer
Department of Computing and Technology,
Faculty of Engineering, Science and Technology
*Indus University*
ST-2D, Block 17, Gulshan-e-Iqbal. | Karachi, Pakistan
(92-21) 34801430 + Ext 153
[email protected]
Follow us: facebook.com/IndusUniversityPK
|
i have performed simulation on sky mote.and i have plot different graphs.
i took five sink nodes
(/home/user/contiki-2.7/examples/ipv6/rpl-collect/udp-sink.c)and 5 sender
nodes (/home/user/contiki-2.7/examples/ipv6/rpl-collect/udp-sender.c).
So my question is i want to perform same simulation for Z1 mote, ESB Mote,
Micaz Mote, wismote guide me how to do these simulation and find the graphs.
On Sat, Feb 24, 2018 at 11:49 PM, huma dharejo <[email protected]>
wrote:
… Thank you so much for your quick reply and help.
i will try it and will let you know if it does not work.
and my second question is i want to plot the graph of packet Rx an Tx,
energy consumption and delay for any three motes ( like cooja mote,
wismote, Z1 mote and micazmote).
On Thu, Feb 22, 2018 at 4:00 PM, Alex ***@***.***> wrote:
> Hi,
>
> For your question about the protocols, the framework does not allow yet to
> handle multiple malicious motes (this is foreseen in an open issue
> <#14>) and it could
> therefore
> allow to handle different protocols on different malicious motes.
> If your question is about all the different motes (regardless of their
> roles), different protocols are not mixed together.
> However, I don't really get the sense of your question ; what would be
> your
> use case with different protocols ?
>
> Regards,
>
> Alex
>
>
> 2018-02-23 0:56 GMT+01:00 Alexandre D'Hondt ***@***.***>:
>
> > Hi,
> >
> > The JavaScript
> > <https://github.com/dhondta/rpl-attacks/blob/master/template
> s/experiment/script.js>
> > associated with a simulation file
> > <https://github.com/dhondta/rpl-attacks/blob/master/template
> s/experiment/simulation.csc>
> > allows to define which metrics are to be recorded. This can be tuned to
> > your needs for collecting Packet Rx, Tx and energy consumption. Note
> that
> > this is already handled when simulating an attack with the framework,
> which
> > will produce in your experiment's folder the desired results and charts
> for
> > use in a report. The framework also generates a PDF from a Markdow-based
> > report template
> > <https://github.com/dhondta/rpl-attacks/blob/master/template
> s/experiment/report.md>
> > for which you only have to fill in the remark boxes for commenting the
> > observations of the results.
> >
> > Does it help you ? Or would you like more information ?
> >
> > Greetz,
> >
> > Alex
> >
> > 2018-02-19 12:41 GMT+01:00 dharejo ***@***.***>:
> >
> >> My last question is ... how to run two different motes on different
> >> protocols separately? kindly share the link or give me the detailed
> answer.
> >>
> >> —
> >> You are receiving this because you modified the open/close state.
> >> Reply to this email directly, view it on GitHub
> >> <#27 (comment)
> nt-366665244>,
> >> or mute the thread
> >> <https://github.com/notifications/unsubscribe-auth/AIr6hv0rN
> 6u5lGmvwg1tPlEe2tyk-kN4ks5tWV4GgaJpZM4N959u>
> >> .
> >>
> >
> >
> >
> > --
> > A. D'HONDT, Ir²
> >
>
>
>
> --
> A. D'HONDT, Ir²
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#27 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/Ai7dafR735DLhKjtSJrLiYq6ZaTLp0TBks5tXf-VgaJpZM4N959u>
> .
>
--
*Ms. Huma Dharejo*
Lecturer
Department of Computing and Technology,
Faculty of Engineering, Science and Technology
*Indus University*
ST-2D, Block 17, Gulshan-e-Iqbal. | Karachi, Pakistan
(92-21) 34801430 + Ext 153
***@***.***
Follow us: facebook.com/IndusUniversityPK
--
*Ms. Huma Dharejo*
Lecturer
Department of Computing and Technology,
Faculty of Engineering, Science and Technology
*Indus University*
ST-2D, Block 17, Gulshan-e-Iqbal. | Karachi, Pakistan
(92-21) 34801430 + Ext 153
[email protected]
Follow us: facebook.com/IndusUniversityPK
|
simply set TARGET=z1 for using Z1 mote binary. |
Hello everyone, |
hii sir I have this problem when i run cooja 3.0 by using vmware 17 on windows 10 platform. A few days before i make a simple udp client-server communication on that when i use collect view to take some mote information but didn't get any information like didn't show the all node in collect view, diidn't get any power usage of mote ,didn't get any node information and many more please guide me what i do to make a simulation on contiki-3.0 and how to get rid of this problem shown in image |
Use these files to implement blackhole attack [Contiki 3.0] |
Probably you need to recompile Cooja in case of such errors. I recommend switching to Contiki-NG for better support and features. |
hi....
My name is Sonxay , I am PhD student in VietNam.
first of all , i would like to say Thanks for your research RPL attacks
after i read your paper..could i have some question to ask you please.
Please help me
hope i can get your answer as soon as
thanks
regard
Sonxay
The text was updated successfully, but these errors were encountered: