IPV6_V6ONLY

Damien Miller djm at mindrot.org
Thu Oct 14 21:48:49 EST 2010


On Thu, 14 Oct 2010, Aris Adamantiadis wrote:

> Le 13/10/10 16:45, David Woodhouse a ?crit :
> > Because it listens separately on a Legacy IP socket, so it doesn't want
> > its IPv6 socket accepting Legacy IP connections.
> > 
> Hi David,
> Is there a specific advantage of doing this this way ? It's normally
> possible to bind a single socket for both ipv6 and ipv4 sockets.
> Is there a disadvantage to this method ?

Not all platforms support mapped address sockets (see [1] for a rationale),
so using separate, explicit sockets makes for less code divergence between
platforms.

-d

[1] http://tools.ietf.org/html/draft-itojun-v6ops-v4mapped-harmful-02


More information about the openssh-unix-dev mailing list