Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-08 Thread Vincent Lefevre
On 2015-04-08 11:39:22 +0300, Reco wrote: > > > > > The correct way to deal with this then is to disable > > > > > accepting RAs on your host: > > > > > > > > > > echo 1 > /proc/sys/net/ipv6/conf/all/accept_ra > > > > > > > > I did *not* do that yet, but I can see: > > > > > > > > ypig:~> cat /p

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-08 Thread Reco
Hi. On Wed, Apr 08, 2015 at 10:02:23AM +0200, Vincent Lefevre wrote: > On 2015-04-08 09:57:28 +0300, Reco wrote: > > On Wed, Apr 08, 2015 at 01:35:44AM +0200, Vincent Lefevre wrote: > > > On 2015-04-08 01:41:58 +0300, Reco wrote: > > > > SLAAC is a good thing if the host that advertises RA is an

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-08 Thread Vincent Lefevre
On 2015-04-08 09:57:28 +0300, Reco wrote: > On Wed, Apr 08, 2015 at 01:35:44AM +0200, Vincent Lefevre wrote: > > On 2015-04-08 01:41:58 +0300, Reco wrote: > > > SLAAC is a good thing if the host that advertises RA is an actual > > > router. If it is not - you get exactly the behavior you got. > >

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-07 Thread Reco
On Wed, Apr 08, 2015 at 01:35:44AM +0200, Vincent Lefevre wrote: > On 2015-04-08 01:41:58 +0300, Reco wrote: > > On Wed, Apr 08, 2015 at 12:00:59AM +0200, Vincent Lefevre wrote: > > > > Can I see the output of the following, please: > > > > > > > > ip -6 a l dev eth0 > > > > > > ypig:~> ip -6 a l

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-07 Thread Vincent Lefevre
On 2015-04-08 01:41:58 +0300, Reco wrote: > On Wed, Apr 08, 2015 at 12:00:59AM +0200, Vincent Lefevre wrote: > > > Can I see the output of the following, please: > > > > > > ip -6 a l dev eth0 > > > > ypig:~> ip -6 a l dev eth0 > > 2: eth0: mtu 1500 qlen 1000 > > inet6 2001:1::21f:29ff:fe04:

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-07 Thread Reco
Hi. On Wed, Apr 08, 2015 at 12:00:59AM +0200, Vincent Lefevre wrote: > > I now get: > > unreachable 2001:4b98:dc0:45:216:3eff:fe9b:eb2f from :: dev lo table unspec > proto kernel src 2001:1::21f:29ff:fe04:3efb metric 4294967295 error -101 > > like on the other machines, i.e. the problem

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-07 Thread Vincent Lefevre
On 2015-04-07 17:22:42 +0300, Reco wrote: > On Tue, Apr 07, 2015 at 03:19:14PM +0200, Vincent Lefevre wrote: > > > 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:4

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-07 Thread Reco
Hi. On Tue, Apr 07, 2015 at 03:19:14PM +0200, Vincent Lefevre wrote: > On 2015-04-07 15:57:48 +0300, Reco wrote: > 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: Un

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-07 Thread Vincent Lefevre
I also notice that on the machine where I have the freeze/timeout problems, "ip addr" gives a inet6 [...] scope global [...] line for eth0, while on the other machines, there isn't such a line (only the usual "inet6 [...] scope link" ones for inet6). -- Vincent Lefèvre - Web:

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-07 Thread Vincent Lefevre
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:

Re: connect() with AF_INET6 freezes on some Debian/unstable machine

2015-04-07 Thread Reco
Hi. On Tue, Apr 07, 2015 at 12:42:18PM +0200, Vincent Lefevre wrote: > On a Debian/stable machine: > > cassis:~> strace -o str.out telnet -6 www.vinc17.net 80 > Trying 2001:4b98:dc0:45:216:3eff:fe9b:eb2f... > telnet: Unable to connect to remote host: Network is unreachable > zsh: exit 1 stra