Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support)
From: Brad Hards <hidden>
Date: 2002-10-03 08:57:03
Also in:
lkml
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 3 Oct 2002 18:29, David S. Miller wrote:
For example, this IPV6_V6ONLY socket option is flawed. What we really need is a generic socket option which says "my family only" There is nothing ipv6 specific about such a socket attribute. So please, create instead "SO_ONEFAMILY" or similar generic socket option. I still need to review the rest of the patch for functional correctness. This is probably the most complex area of the socket identity code in TCP/UDP :-)
While you are grotting aroung in this area - a thought / request. When we get IPv4 link-local autoconf addressing in widespread use, there is a problem on multi-homed machines. Assume B has two network interfaces (B1 and B2) on seperate IPv4 links (net1 and net2). Host A is on net1 and Host C is on net2. Assume that both Host A and Host C have the same autoconf address. So IP address is not enough information for Host B to use to determine which interface to use in order to contact Host A (instead of Host C). If host B has socket binding on IP+port+local interface, it all works out. Is this going to work? Brad - -- http://conf.linux.org.au. 22-25Jan2003. Perth, Aust. Tickets booked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9nAXwW6pHgIdAuOMRAscOAKC/TyYdV1IOjDMlYZghhLf1mYtrKgCfbDEh VJAdPL1Rc1Z2uM6RCIgSYOE= =JZGw -----END PGP SIGNATURE-----