Date: Sun, 21 Nov 2004 11:01:09 +0000 From: David Jenkins <david.jenkins@gmail.com> To: Panagiotis Christias <christias@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: turning off IPv6 support in BSD Message-ID: <9395922d041121030126fc204e@mail.gmail.com> In-Reply-To: <e4b0ecef04112102273f091eec@mail.gmail.com> References: <20041120165059.DF29543D64@mx1.FreeBSD.org> <20041120165923.GA73153@ozzmosis.com> <e4b0ecef04112102273f091eec@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Nov 2004 12:27:19 +0200, Panagiotis Christias <christias@gmail.com> wrote: > On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke <mail@ozzmosis.com> wrote: > > > > On Sat, Nov 20, 2004 at 04:50:58PM +0000, Danny Browne wrote: > > > > > How do i turn off IPv6 support in FreeBSD 4.10? > > > > Remove "options INET6" from your kernel config file > > (/sys/i386/conf/XXX), rebuild your kernel and reboot your machine. > > > > There may be a way to turn it off at runtime using sysctl, but I don't > > know what it is, and in hindsight it probably wouldn't make much sense > > to do that at runtime, although I'm willing to be convinced otherwise. :) > > > > Regards > > Andrew > > You can also comment out the 'ipv6_enable="YES"' line in /etc/rc.conf. I just ensured my rc.conf didn't have ipv6_enable="YES" dropped to single user mode and came back up and it appears there is still support for IPv6 > netstat -anf inet6 Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp6 0 0 *.22 *.* LISTEN There also doesn't seem to be anything in `sysctl -a', so I would imagine you will have to rebuild the kernel with: options INET6 commented out or removed. Hope this helps. David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9395922d041121030126fc204e>