[riot-commits] [RIOT-OS/RIOT] 3b40ca: shell/gnrc_icmpv6_echo: test for ICMPv6 echo reply...

Martine Lenders noreply at github.com
Wed Aug 11 15:23:34 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 3b40ca2b2686099d59bc27c16924fa1aef3c3a7e
      https://github.com/RIOT-OS/RIOT/commit/3b40ca2b2686099d59bc27c16924fa1aef3c3a7e
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M sys/shell/commands/sc_gnrc_icmpv6_echo.c

  Log Message:
  -----------
  shell/gnrc_icmpv6_echo: test for ICMPv6 echo reply corruption

The Linux ping utility has the nice feature that fills the ICMPv6 echo
request payload with a pattern `payload_index & 0xFF`.
Then the ICMPv6 echo response payload is checked to verify that the pattern
is still intact.

This way corrupted messages can be detected.
In the past that revealed some 6lo-fragmentation bugs in Linux when
corrupted replies arrived.

This feature is also useful for RIOT, so implement it in RIOTs `ping`
command.


  Commit: b0b8c5a64154a6ac28070f4d23726e7cd053f476
      https://github.com/RIOT-OS/RIOT/commit/b0b8c5a64154a6ac28070f4d23726e7cd053f476
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M dist/pythonlibs/riotctrl_shell/gnrc.py

  Log Message:
  -----------
  riotctrl_shell.gnrc: add parser for reply corruption & truncation


  Commit: 67b4acdc958ef3649c2858d83a103e3e34ee6759
      https://github.com/RIOT-OS/RIOT/commit/67b4acdc958ef3649c2858d83a103e3e34ee6759
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M dist/pythonlibs/riotctrl_shell/gnrc.py
    M sys/shell/commands/sc_gnrc_icmpv6_echo.c

  Log Message:
  -----------
  Merge pull request #15622 from benpicco/gnrc_icmpv6_echo-corruption

sys/shell/commands/gnrc_icmpv6_echo: test for ICMPv6 reply corruption


Compare: https://github.com/RIOT-OS/RIOT/compare/6da2f0fab3b0...67b4acdc958e


More information about the commits mailing list