I think the rule is: if an application or upper-layer protocol specifies the
address, then you can use a deprecated address. So if an application
explicitly binds to a deprecated address, then you use it. If an existing
TCP connection is using a deprecated address, then you continue to use it.
If you receive TCP SYN sent to a deprecated address, then you can send a SYN
ACK and establish a TCP connection. If you receive an Echo Request, then you
can send an Echo Reply. Etc.
If the IPv6 layer is in the position of selecting a source address (because
an address was not specified by the application or upper-layer), then you
avoid using a deprecated address. See
draft-ietf-ipngwg-default-addr-select-01.
> - I have an existing TCP connection with local address bound to
> a deprecated address. can I send a TCP packet to the peer?
Yes.
> - User application issued TCP connection request. The
> kernel need to
> establish a new connection. Can I use a deprecated
> address as the
> local address?
You avoid using a deprecated address, but in some circumstances you do
choose a deprecated address.
> - I got a new TCP connection request from outside, with
> my deprecated
> address as the destination. am I allowed to accept
> this connetion?
Yes.
Rich
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page: http://playground.sun.com/ipng
FTP archive: ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------