lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] ipv6 processing - ICMPv6 Echo


From: Ivan Delamer
Subject: Re: [lwip-devel] ipv6 processing - ICMPv6 Echo
Date: Fri, 27 Apr 2012 10:39:29 -0600 (MDT)
User-agent: SquirrelMail/1.4.9a

> The third question is about the Echo Request/Response processing in
> icmp6_input(). If an Echo Request is detected, the IPv6 source address of
> the Echo Response message is determined by calling
> ip6_select_source_address(). Shouldn't this IPv6 source address not the
> same as the IPv6 destination address of the Echo Request message? A quote
> from RFC 4443 [chapter 4.2]:
>
> "The source address of an Echo Reply sent in response to a unicast Echo
> Request message MUST be the same as the destination address of that Echo
> Request message."
>
> As I understand this would omit the ip6_select_source_address() and
> simplifies it to just use the ip6_current_dest_addr() address (previous
> make sure this is not a multicast address).
>

This is a good suggestion and I will revise the code, hopefully push a fix
today.

Cheers
Ivan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]