Re: GNOME over IPv6



On 13 Feb 2003, Mark McLoughlin wrote:

> From: Mark McLoughlin <mark skynet ie>
> Subject: Re: GNOME over IPv6
>
> 	Is any of this really neccessary ?
>
> 	1) Why would people want to turn off ipv6 support?

Like hell they would. Your kernel can support IPv6 for all you want, if
the network you're on doesn't, you can get in deep shit. Had such a si-
tuation very recently at one of 'my' boxes, where I had an IPv6 address,
the host I was trying to connect to had a bogus IPv6 address, and the
route in between wasn't IPv6 enabled, while the target host was very
reachable with IPv4. The only solution was to turn off IPv6 in the ker-
nel entirely.

> 	2) Why the runtime socket(AF_INET6... check ? Surely if AF_INET6 	   is
> defined that's enough to know that IPv6 support is
> 	   available? We wouldn't want some build time resource
> unavailability (which might cause socket() to fail) to
> 	   unintentionally disable IPv6 support ...

Same as above. You may have a laptop with IPv6 support in the kernel,
which wouldn't work correctly under all circumstances.

> 	In linc, we just use '#if defined(AF_INET6)'

Kind regards,

Chipzz AKA
Jan Van Buggenhout
-- 

------------------------------------------------------------------------
                 UNIX isn't dead - It just smells funny
                           Chipzz ULYSSIS Org
------------------------------------------------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]