[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_ext_frag: Initial import of IPv6 reassembly (#11596)

Martine Lenders notifications at github.com
Mon Sep 16 13:34:16 CEST 2019


> strange, I'm not at a different machine and for `esp32-wroom-32` I get
> 
> ```
> sudo /home/benpicco/dev/RIOT/dist/tools/ethos/ethos tap0 /dev/ttyUSB0 115200
> ----> ethos: sending hello.
> ----> ethos: activating serial pass through.
> ----> ethos: hello reply received
> ----> ethos: hello reply received
> Timeout in expect script at "child.expect(r"OK \((\d+) tests\)")     # wait for and check result of unittests" (tests/gnrc_ipv6_ext_frag/tests/01-run.py:149)
> ```

Mh, so non of the unittests are run?

> So I tried again with an ARM board - `ek-lm4f120xl`
> 
> ```
> sudo /home/benpicco/dev/RIOT/dist/tools/ethos/ethos tap0 /dev/ttyACM0 115200
> ----> ethos: sending hello.
> ----> ethos: activating serial pass through.
> ----> ethos: hello reply received
> ----> ethos: hello reply received
> random: NO SEED AVAILABLE!
> ----> ethos: hello received
> main(): This is RIOT! (Version: 2019.10-devel-860-gf101e-gnrc_ipv6_ext/feat/ipv6-reass)
> - ipv6_ext_frag_tests
> 1) OK test_ipv6_ext_frag_rbuf_get
> 2) OK test_ipv6_ext_frag_rbuf_free
> 3) OK test_ipv6_ext_frag_rbuf_del
> 4) OK test_ipv6_ext_frag_rbuf_gc
> 5) OK test_ipv6_ext_frag_reass_in_order
> 6) OK test_ipv6_ext_frag_reass_out_of_order
> 7) OK test_ipv6_ext_frag_reass_one_frag
> 
> OK (7 tests)
> .......ifconfig
> > ifconfig
> Iface  6  HWaddr: 00:4D:A9:5F:17:C5 
>           L2-PDU:1500 MTU:1500  HL:64  RTR  
>           RTR_ADV  
>           Source address length: 6
>           Link type: wired
>           inet6 addr: fe80::24d:a9ff:fe5f:17c5  scope: local  TNT[1]
> udp server start 1337
>           inet6 group: ff02::2
>           inet6 group: ff02::1
>           inet6 group: ff02::1:ff5f:17c5
>           
> > udp server start 1337
> Success: started UDP server on port 1337
> > Timeout in expect script at ".format(payload_len)" (tests/gnrc_ipv6_ext_frag/tests/01-run.py:116)
> 
> make: *** [/home/benpicco/dev/RIOT/tests/gnrc_ipv6_ext_frag/../../Makefile.include:649: test] Error 1
> ```

There seem to be multiple problems:
1. The fragmented packet is sent before the destination address was validated, so neighbor discovery failed. I provided a fix for that in my latest commit c512ddcbe4
2. The second fragment, while I see it with wireshark on the TAP interface never reaches the IPv6 module. I'm investigating this now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11596#issuecomment-531739735
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190916/190fb0e3/attachment-0001.htm>


More information about the notifications mailing list