From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
To: "Stefan (metze) Metzmacher" <metze@samba.org>
Cc: netdev@vger.kernel.org, yoshfuji@linux-ipv6.org
Subject: Re: [ipv6] valid_lft and active connections
Date: Tue, 14 Jun 2011 20:41:50 +0900 [thread overview]
Message-ID: <1308051710.3424.15.camel@takos> (raw)
In-Reply-To: <4DF73A6D.1050809@samba.org>
Hello.
Stefan (metze) Metzmacher wrote:
> If I use ipv6 addresses with valid_lft != forever, the ipv6 addresses
> are removed from the interface if the valid_lft expires, even if there're
> established connection which use with address.
>
> Would it be possible keep the address until the last active connection
> is closed? Otherwise the usable of the privacy extensions will make
> very long living tcp connections impossible.
>
I cannot imagine why you do not hear RAs before the address expires.
And well, I don't think it is a good idea because it is not what
"valid lifetime" means.
We have 3 states:
1) time <= preferred lifetime
2) preferred lifetime < time <= valid lifetime
3) valid lifetime < lifetime
You can make new connection during the period of 1 and you can continue
using that connection during the period of 1 and 2.
Ask network administrator to advertise longer "valid" lifetime, if
needed, and you may want to make net.ipv6.conf.*.max_addresses larger.
> It would be also ok to add a new special value "used" similar to "forever",
> which triggers the modified behavior.
???
--yoshfuji
next prev parent reply other threads:[~2011-06-14 11:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-14 10:39 [ipv6] valid_lft and active connections Stefan (metze) Metzmacher
2011-06-14 11:41 ` YOSHIFUJI Hideaki [this message]
2011-06-14 12:27 ` Stefan (metze) Metzmacher
2011-06-15 3:37 ` YOSHIFUJI Hideaki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308051710.3424.15.camel@takos \
--to=yoshfuji@linux-ipv6.org \
--cc=metze@samba.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).