Date: Wed, 26 Aug 2015 10:35:12 +0200 From: Damien Fleuriot <ml@my.gd> To: Chris Petrik <maillist@bsdjunk.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Disabling IPv6 in FreeBSD 10.2 Message-ID: <CAE63ME6eyd5V_8NhDm7Cs=vdaymW=cDim4eUzyTLksvC5-FsDg@mail.gmail.com> In-Reply-To: <55DD41A4.1010702@bsdjunk.com> References: <55DCCF61.9080301@schwerberg.com> <55DD41A4.1010702@bsdjunk.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 August 2015 at 06:33, Chris Petrik <maillist@bsdjunk.com> wrote: > On 08/25/15 15:26, Jason Schwerberg wrote: > >> 10.2-RELEASE >> FreeBSD bsd.junaos.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed >> Aug 12 15:26:37 UTC 2015 >> >> I've already added the following lines to my rc.conf: >> ipv6_network_interfaces="none" >> ipv6_activate_all_interfaces="NO" >> >> but certain connections are still trying to use IPv6, namely 'jwhois': >> >> $ truss jwhois google.com >> ... >> __sysctl(0x7fffffffe740,0x4,0x0,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) >> __sysctl(0x7fffffffe740,0x4,0x80147b300,0x7fffffffe7c0,0x0,0x0) = 0 (0x0) >> socket(PF_INET6,0x10000002,17) = 4 (0x4) >> connect(4,{ AF_INET6 [2001:502:8c25:1000::74]:1 },28) ERR#65 'No route to >> host' >> ... >> >> How can I disable ipv6 in FreeBSD 10.2? >> >> --- >> This email has been checked for viruses by Avast antivirus software. >> https://www.avast.com/antivirus >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > Add WITHOUT_IPV6= to /etc/src.conf (create it if it doesn't exist) and > rebuild the world > And remove the INET6 from the kernel config. > > Is what I got from your "How do I disable ipv6 in FreeBSD" > > A word of caution to those who wish to remove IPv6 support entirely. Some daemons, net/relayd comes to mind, actually *require* IPv6 support in-kernel, and will refuse to start if you remove it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE63ME6eyd5V_8NhDm7Cs=vdaymW=cDim4eUzyTLksvC5-FsDg>