tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/42405: libc: getaddrinfo() should perform T_A lookups before T_AAAA lookups, was: Resolver problems



At Fri, 04 Dec 2009 08:25:29 -0500, Greg Troxel <gdt%ir.bbn.com@localhost> 
wrote:
Subject: Re: lib/42405: libc: getaddrinfo() should perform T_A lookups before 
T_AAAA lookups, was: Resolver problems
> 
> I think it makes sense to have 'disable v6' and 'disable v4' as sysctls;
> that avoids the 'recompile the kernel'.

Indeed -- though one should suffice I think.

And libc (and maybe some applications) should use this _same_ setting to
configure its(their) _default_ behaviour too.

(And for the record, using a config file (or anything in the filesystem)
in this case is just wrong, and too expensive to boot.)

For those of us who don't need IPv6 (or IPv4?) and wish to save the
kernel code space for something else, the sysctls should still be there
of course, but perhaps become read-only, or at least refuse to be set to
a value which could not work.

-- 
                                                Greg A. Woods
                                                Planix, Inc.

<woods%planix.com@localhost>       +1 416 218 0099        http://www.planix.com/

Attachment: pgpMvPUzNs6xK.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index