[Bug 292807] IPv6 loopback ::1 cannot respond to requests sourced from another interface address

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292807

--- Comment #6 from Andrey V. Elsukov <[email protected]> ---
(In reply to Kristof Provost from comment #4)
> It's indeed a scope issue, in that in6_selectsrc() subsequently fails to 
> in6_setscope(). in6_setscope() fails because the destination address is
> loopback, but the interface we have doesn't have IFF_LOOPBACK set.

I think for echo reply the in6_selectsrc() is not used, the original
destination address will be used as source address. The scope check will fail
in the ip6_output() and it will return EHOSTUNREACH. You can check this by
using dtrace's fbt::ip6_output:return probe.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.