On Wed, Jul 23, 2003 at 01:48:08PM +0200, Egbert Eich wrote:
>  > I wasn't suggesting to use it on Linux. My suggestion was to revert to
>  > using a single socket on all platforms and use the above code to enable
>  > accepting IPv4 connections on *BSD.
> Yes, I understand. I was just looking for a decend way of making
> things work on Linux.

Using a single socket should work on Linux according to your observations.
And it definitely works on Solaris. So adding some conditional code which
uses setsockopt() with IPV6_V6ONLY on platforms which have IPV6_V6ONLY
defined should work arround the platform.

But we would get complaints from the IPv6 folks which consider accepting
IPv4 connections on IPv6 listeners a problem. See here:

http://www.ietf.org/internet-drafts/draft-itojun-v6ops-v4mapped-harmful-01.txt

So we probably need to implement heuristics similar to the one described
by Andrew Aitchison.

        Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to