Re: ipv6 binds to ipv4, bug or feature ?

From: Matti Aarnio (matti.aarnio@sonera.fi)
Date: Sat Jan 01 2000 - 19:45:54 EST


On Sun, Jan 02, 2000 at 01:45:43AM +0200, Elmer Joandi wrote:
> sshd + ipv6,
> ssh is told to bind only to ipv6
> netstat -an shows binding to ::::22
> no binding to 0.0.0.0:22
> perl script socklist doesnt show anything
>
> ipv4 connections are possible, shown as coming from ::ffff:ip:port

        Yes, IPv4-Compatible addressing.
        A feature of IPv6.

> I dont know, is it a bug or a feature,
> but I hope that either
> 1. it will be possible to switch it out either compile or runtime.
> 2. it will be bug.

        Bind SSHD to your host's IPv6 address, and THEN it should
        not happen. (Quite analogous to doing address+port specific
        binding in IPv4)

> otherwise it is not really good to experiment with ipv6 as everything
> connected to security must go trough double check now.
>
> elmer.

/Matti Aarnio <matti.aarnio@sonera.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 01 2000 - 23:11:58 EST