From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 11:01:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E86D16A4CE for ; Sun, 21 Nov 2004 11:01:10 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEBBB43D2F for ; Sun, 21 Nov 2004 11:01:09 +0000 (GMT) (envelope-from david.jenkins@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so131442wri for ; Sun, 21 Nov 2004 03:01:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=IgYjaQg8Eylt6qSjn9wUQIjrmhmLCIDqGN5bxiPFg/UF84OuFxLxZOwLe+q2jZaxvQTxW+IYU5/xw1V+zyzB12t5jKwFpeayGSC6VNqOjX+sAAmmeN/jkyHZpEXpEXufKfGa8Vr5FY+eGXRvAP3n75E6pcZLgu0v0rtSC1n/BIE= Received: by 10.54.13.20 with SMTP id 20mr964722wrm; Sun, 21 Nov 2004 03:01:09 -0800 (PST) Received: by 10.54.5.4 with HTTP; Sun, 21 Nov 2004 03:01:09 -0800 (PST) Message-ID: <9395922d041121030126fc204e@mail.gmail.com> Date: Sun, 21 Nov 2004 11:01:09 +0000 From: David Jenkins To: Panagiotis Christias In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041120165059.DF29543D64@mx1.FreeBSD.org> <20041120165923.GA73153@ozzmosis.com> cc: Danny Browne cc: andrew clarke cc: freebsd-questions@freebsd.org Subject: Re: turning off IPv6 support in BSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Jenkins List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 11:01:10 -0000 On Sun, 21 Nov 2004 12:27:19 +0200, Panagiotis Christias wrote: > On Sun, 21 Nov 2004 03:59:23 +1100, andrew clarke 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