ipv6 - ssh ping6 firefox

Pekka Pietikainen pp at ee.oulu.fi
Wed Oct 31 17:57:38 UTC 2007


On Wed, Oct 31, 2007 at 09:04:13AM -0700, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> shrek-m at gmx.de wrote:
> > --------
> > $ firefox [::1]  ==  is ok
> > $ firefox [::1%lo]  ==  no
> > wget, lynx, elinks  ==  no
> > 
> > 
> > $ firefox [fe80::216:cbff:fea3:7629]  ==  no
> > $ firefox [fe80::216:cbff:fea3:7629]%eth0  ==  no
> > wget, lynx, elinks  ==  no
> > # ping6 ::1  ==  ok
> > # ping6 fe80::216:cbff:fea3:7629  ==  no
> 
> That's a link-local address.  From strace I see that the interface
> number is not filled in to the liking of the kernel and the connect()
> syscall fails.  Should be worth filing a bug.  It might be a kernel
> issue but file it against ping6 for now.
Err. With link local addresses you MUST include the interface
explicitly (either %ethX or -I eth1). Otherwise it makes no sense, 
the kernel has no way of knowing what interface you wanted to use, 
you should use global ipv6 addresses (and corresponding routing entries).

elinks http://[fe80::204:23ff:fe5b:ce53%eth1]/ works for me btw..
Then again, rfc3986 doesn't seem to even allow that syntax, so it working
is probably even a "bug" and firefox etc. are right.

-- 
Pekka Pietikainen




More information about the test mailing list