RIOT icon indicating copy to clipboard operation
RIOT copied to clipboard

bug: destination-address error found with Samr21-xplained-pro experiments

Open ghost opened this issue 10 years ago • 7 comments

Dear all, the attachment is a technical/experimental report for describing the Bug we found with RIOT wireless communication experiment on Samr21-xplained-pro boards.

In short, the bug is a “destination-address” error that will put the wrong destination address into the MAC layer head field when sending out, thus the intended receiver will disregard/drop the packet from the sender, resulting in communication fault.

But, after executing '''ifconfig'' to the RIOT shell, the outcome ''inet6 addr'' of the node is different to the ''Long HWaddr'' of the node. Is that normal? If the we use the ''inet6 addr'' of the receiver instead of the ''Long HWaddr'' for sending the packet, then, everything is normal.

Thus, if the ''inet6 addr'' of a device should be (is required to be) different to its ''Long HWaddr'', then, this founding shouldn't be called a bug.

RIOT communication Bug found with Samr21-xplained-pro experiments.pdf

ghost avatar Jan 13 '16 09:01 ghost

Could be related to #4215 but I cannot check right now Am 13.01.2016 10:54 schrieb "shuguo" [email protected]:

Dear all, the attachment is a technical/experimental report for describing the Bug we found with RIOT wireless communication experiment on Samr21-xplained-pro boards

In short, the bug is a “destination-address” error that will put the wrong destination address into the MAC layer head field when sending out, thus the intended receiver will disregard/drop the packet from the sender, resulting in communication fault

RIOT Bug found with Samr21-xplained-pro experimentspdf https://githubcom/RIOT-OS/RIOT/files/88655/RIOTBugfoundwithSamr21-xplained-proexperimentspdf

— Reply to this email directly or view it on GitHub https://github.com/RIOT-OS/RIOT/issues/4634.

cgundogan avatar Jan 13 '16 10:01 cgundogan

In the experiment we conducted, the communication stack used the long MAC address. But after executing '''ifconfig'' to the RIOT shell, the outcome ''inet6 addr'' of the node is different to the ''Long HWaddr'' of the node. Is that normal? If the we use the ''inet6 addr'' of the receiver instead of the ''Long HWaddr'', then, everything is normal.

ghost avatar Jan 13 '16 10:01 ghost

@zhuosg What you observed here is mentioned in this section. Namely the change of the "Universal/Local" when constructing the interface identifier.

thomaseichinger avatar Jan 21 '16 13:01 thomaseichinger

@zhuosg, are you okay with @thomaseichinger's explanation?

OlegHahm avatar Mar 09 '16 00:03 OlegHahm

Did anyone else encounter this problem? The user is not available anymore.

cgundogan avatar Mar 23 '16 11:03 cgundogan

From the discussion I guess that @zhuoshuguo was the asking user. Am I correct?

OlegHahm avatar Mar 23 '16 12:03 OlegHahm

Yes, I am the asking user (asked by another account of mine, which has been deleted), and I am OK with @thomaseichinger's explanation. Thanks a lot! Sorry for the late reply (didn't check emails related to the deleted account).

zhuoshuguo avatar Mar 23 '16 13:03 zhuoshuguo