-
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
Black hole and decrease rank attacks #65
Comments
TLDR ; this source code is made at runtime while compiling a simulation. It can either be retrieved during this operation or regenerated by reproducing the operations from the building-blocks manually.
|
Can any have decrease rank and blackhole in file so i can have an idea for implementation |
Please read the documentation about building blocks. This will help you understand what you are searching for. Decreased Rank Building BlockHere are the transformations (from the building blocks) for the decreased-rank building block : {
"RPL_CONF_MIN_HOPRANKINC": 0,
"rpl-private.h": [
["#define RPL_MAX_RANKINC (7 * RPL_MIN_HOPRANKINC)", "#define RPL_MAX_RANKINC 0"],
["#define INFINITE_RANK 0xffff", "#define INFINITE_RANK 256"]
],
"rpl-timers.c": ["rpl_recalculate_ranks();", null]
} This means :
Blackhole AttackAs it can be seen in the demo campaign, the blackhole attack is the combination of the decreased-rank building block (see above) and a drop-messages one that does not exist yet (you can propose a PR, if relevant :-) ). |
This codes might be helpful for you. |
Hi there,
I realize I forgot to respond. My apologies...
Thank you very much ! Indeed, it could be of help, but I don't spend time anymore on this project, at least for the time being as I'm too busy with other matters.
Did you mind integrating it into the framework ?
|
Any read me file or instructions for this code? |
sir can you help me to tell about how to implement attacker code in cooja 3.0 |
Just follow the instructions and you will have the attack files included
Layla Mohammad
From: researchrinki25 ***@***.***>
Sent: Friday, March 1, 2024 11:34 AM
To: dhondta/rpl-attacks ***@***.***>
Cc: LAYLA MOHAMMAD MAH'D ALQAISI ***@***.***>; Comment ***@***.***>
Subject: Re: [dhondta/rpl-attacks] Black hole and decrease rank attacks (#65)
sir can you help me to tell about how to implement attacker code in cooja 3.0
—
Reply to this email directly, view it on GitHub<#65 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVQDA6SMZSTJHMIA6SD3W4LYWA4RHAVCNFSM474DKPZKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJXGI3TINJUGEYA>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
I need Black hole and version number of attacks code in c file
The text was updated successfully, but these errors were encountered: