buglwIP - A Lightweight TCP/IP stack - Bugs: bug #48825, lowpan6: source PAN ID is skipped...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #48825: lowpan6: source PAN ID is skipped without checking PAN ID compression flag

Submitted by:  Martine Lenders <authmillenon>
Submitted on:  Fri 19 Aug 2016 11:02:51 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenPlanned Release: None
lwIP version: git head

Wed 24 Aug 2016 09:17:43 PM UTC, comment #3:

Yes, sorry for not replying! I was a little bit swamped in other work.

> We have at least 2 bugs open for the 6lowpan netif (which is still very experimental). Does this mean the rest works (e.g. against RIOT or uIP)?


That's the main reason I did not reply, because at the moment I did not find the time to confirm this. Last time I tried I basically hit the bug reported here and did not bother to test further. Let me come back to you in a few days about that.

> Unfortunately, I have no working counterpart to test 6lowpan. Is there some kind of debug environment available where I can simulate a 6lowpan environment e.g. on a PC?


You could use RIOT's native port for that e.g. I did not test it yet (and you need a very up-to-date Linux kernel for this), but Alexander Aring who did the 6Lo port for Linux provided a simulated 802.15.4 device for RIOT [1].

Alternatively, testing and debugging on the FIT/IoT-LAB testbed [2] works quite smoothly (you need to register an account though, but for a member of a FOSS project this shouldn't be a problem to my experience).

> BTW/OT: congrats to your c't article ;-)


Thanks! Though I had nothing to do with that I will carry that to the people who do :-).

[1] https://github.com/RIOT-OS/RIOT/pull/5582
[2] https://www.iot-lab.info/

Martine Lenders <authmillenon>
Wed 24 Aug 2016 07:32:49 PM UTC, comment #2:

Is anyone even reading this? ;-)

Simon Goldschmidt <goldsimon>
Project Administrator
Fri 19 Aug 2016 11:15:06 AM UTC, comment #1:

We have at least 2 bugs open for the 6lowpan netif (which is still very experimental). Does this mean the rest works (e.g. against RIOT or uIP)?

Unfortunately, I have no working counterpart to test 6lowpan. Is there some kind of debug environment available where I can simulate a 6lowpan environment e.g. on a PC?

BTW/OT: congrats to your c't article ;-)

Simon Goldschmidt <goldsimon>
Project Administrator
Fri 19 Aug 2016 11:02:51 AM UTC, original submission:

Hi,

In lowpan6_input() (src/netif/lowpan6.c) the source PAN ID in the IEEE 802.15.4 header is skipped (in current version it is even commented with "/* skip PAN ID. */". However, according to the IEEE 802.15.4 specs this field can also be omitted, if the PAN_COMP bit is set the FCF. So if data comes in from another implementation (e.g. Contiki's uIP or RIOT's GNRC) the packet is read incorrectly (basically anything that would come after the source PAN), if they have PAN compression activated.

Kind Regards,
Martine Lenders

Martine Lenders <authmillenon>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by authmillenon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1