Re: openbsd 3.5 and IPv6 - can it be disabled?

From: George Thorogood (thorogood_at_mailinator.com)
Date: 07/25/04


Date: 25 Jul 2004 16:53:38 -0500

On Sun, 20 Jun 2004 17:42:55 GMT, JoeSmith <JoeSmith@IDontWantSpam.bogus.bogusaddress.com> wrote:

Kernel recompile is the only way I know of. But it's so easy.
There are only a few simple commands to get the whole thing done.

Now figuring out exactly what kernel features your specific system
requires and removing everything else from the kernel is a little
more challenging. But still not that bad.

George

>Most of the rest of the world is not up to IPv6. I am wondering if one
>can disable use of IPv6 without recompiling the kernel. I have looked
>on news grous and did not see anything. I was hoping that 3.5 might be
>new enough that it would have this.
>
>The reason that I want to disable IPv6 is that some programs take
>several mintues to complete an operation when using IPv6. The main
>problem appears to be that DNS IPv6 packets are not answered and it
>takes a long time for the retry and so forth. For example, to do a
>'whois yahoo.com', it would take about two minutes. Also, I was going
>to setup apache 2.0.49 as a proxy; however, it takes a couple of minutes
>to get a single page due to this problem.
>
>Also, if I know that IPv6 DNS will not get answered, it would seem
>inneficient to even have the OS try IPv6 first. Why not skip to IPv4?
>
>As a separate note, doing nslookup on host being looked up by whois
>completes in less than a second. I suspect that whois and apache httpd
>might make a different call to for host name resolution than most programs.



Relevant Pages

  • Re: PROBLEM: IPv6 autoconf/accept_ra default values
    ... to change the sysctl parameters before the interface is brought up. ... to change the default values, ipv6 module needs to be loaded, in many ... As far as I know there is now kernel parameters to tell ... possible to use ipv6-addresses as kernel parameters at all. ...
    (Linux-Kernel)
  • PROBLEM: IPv6 autoconf/accept_ra default values
    ... to change the sysctl parameters before the interface is brought up. ... to change the default values, ipv6 module needs to be loaded, in many ... As far as I know there is now kernel parameters to tell ... kernel to not autoconf ipv6. ...
    (Linux-Kernel)
  • PROBLEM: IPv6 Dependencies Incorrect (2.6.8-rc4)
    ... One line summary of the problem: IPv6 Dependencies Incorrect ... I found that hard-compiling CONFIG_IPV6 into the kernel while ... used to compile 2.6.8-rc4. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: IPV6INIT=no, but does anyway on local network
    ... The Linux kernel automatically assigns a link-local IPv6 ... To get rid of the IPv6 address on a particular interface, ... by the networking scripts. ...
    (Fedora)
  • Re: 2.6.18-rc3-mm2 - IPV6_MULTIPLE_TABLES borked....
    ... It basically totally refuses to answer an IPv6 Neighbor Solicit ... A kernel built with IPV6_MULTIPLE_TABLES=n works just fine. ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (Linux-Kernel)