Re: connect() with AF_INET6 freezes on some Debian/unstable machine
On 2015-04-07 15:57:48 +0300, Reco wrote:
> On Tue, Apr 07, 2015 at 12:42:18PM +0200, Vincent Lefevre wrote:
> > But on my Debian/unstable machine on the same network, the "telnet"
> > freezes and I need to type Ctrl-C:
> >
> > ypig:~> strace -o str.out telnet -6 www.vinc17.net 80
> > Trying 2001:4b98:dc0:45:216:3eff:fe9b:eb2f...
> > ^C
> > zsh: interrupt strace -o str.out telnet -6 www.vinc17.net 80
> >
> > while I also expected a ENETUNREACH error. The str.out file contains:
[...]
I now get a 3-second timeout (sometimes smaller), with a different
error:
ypig:~> time telnet -6 www.vinc17.net 80
Trying 2001:4b98:dc0:45:216:3eff:fe9b:eb2f...
telnet: Unable to connect to remote host: No route to host
zsh: exit 1 telnet -6 www.vinc17.net 80
telnet -6 www.vinc17.net 80 0.00s user 0.00s system 0% cpu 3.001 total
> What's the result of:
>
> ip -6 ro get 2001:4b98:dc0:45:216:3eff:fe9b:eb2f
On the machines where I get the "Network is unreachable" error:
unreachable 2001:4b98:dc0:45:216:3eff:fe9b:eb2f from :: dev lo table unspec proto kernel src fe80::d6ae:52ff:fee5:7247 metric 4294967295 error -101
unreachable 2001:4b98:dc0:45:216:3eff:fe9b:eb2f from :: dev lo table unspec proto kernel src fe80::224:e8ff:fe97:5f73 metric 4294967295 error -101
On ypig (where I now get a 3-second timeout):
2001:4b98:dc0:45:216:3eff:fe9b:eb2f from :: via fe80::21d:9ff:feb3:1563 dev eth0 src 2001:1::21f:29ff:fe04:3efb metric 0
cache
and I also get:
ypig:~> traceroute6 www.vinc17.net
traceroute to ioooi.vinc17.net (2001:4b98:dc0:45:216:3eff:fe9b:eb2f) from 2001:1::21f:29ff:fe04:3efb, 30 hops max, 24 byte packets
1 2001:1::21f:29ff:fe04:3efb (2001:1::21f:29ff:fe04:3efb) 2998.97 ms !H 2999.32 ms !H 2999.7 ms !H
> Is there anything meaningful shown in tcpdump?
Concerning IP6, I get messages like:
15:11:52.982097 IP6 2001:1::9150:1df3:522:6832 > ff02::1:ffb3:1563: ICMP6, neighbor solicitation, who has fe80::21d:9ff:feb3:1563, length 32
15:13:00.424531 IP6 2001:1::64fe:c2e2:1be5:f46d > ff02::1:ffb3:1563: ICMP6, neighbor solicitation, who has fe80::21d:9ff:feb3:1563, length 32
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: