I've been running on Precise with privacy extensions turned on for a month or 
so now and never got any disconnection.
I'm using IPv6 to connect to most of the services I use in my everyday work, 
including ssh sessions to a few servers.

I have ssh connections that have been established for over a week
without getting disconnected and that's when using the temporary address
as the source.

As Mathieu said, both the standard global address and the temporary global 
address lifetime are reset every time a router advertisement is received.
In my case, I have advertisements every 15s with the valid_ttl set to 7200s and 
preferred_ttl set to 3600s.

 root@castiana:~# ip -6 addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2001:470:c364:1000:8d2f:6f74:666:b97d/64 scope global temporary 
dynamic 
       valid_lft 7164sec preferred_lft 3564sec
    inet6 2001:470:c364:1000:5eff:35ff:fe0f:d6e/64 scope global dynamic 
       valid_lft 7164sec preferred_lft 3564sec
    inet6 fe80::5eff:35ff:fe0f:d6e/64 scope link 
       valid_lft forever preferred_lft forever

In this example, this connection has been up for more than 3 hours now
and as you can see all the lifetimes are pretty much at the maximum
value as they've just been reset by a RA.

The pcap of one of these RAs can be found here:
http://www.stgraber.org/download/ipv6-ra.pcap

I'd appreciate it if anyone seeing this issue could paste the same "ip
-6 addr show" (altering the IPs in a consistent way if you want) and a
pcap of a router advertisement on your network to confirm it's not the
router's configuration that's at fault.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/759337

Title:
  net.ipv6.conf.default.use_tempaddr = 2 breaks TCP sessions ( IPv6 )

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759337/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to