From nobody@FreeBSD.org  Mon Oct 30 03:46:57 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8DB0A16A47B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Oct 2006 03:46:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9DC0043D5C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Oct 2006 03:46:56 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k9U3kuAM027954
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Oct 2006 03:46:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k9U3kuVg027953;
	Mon, 30 Oct 2006 03:46:56 GMT
	(envelope-from nobody)
Message-Id: <200610300346.k9U3kuVg027953@www.freebsd.org>
Date: Mon, 30 Oct 2006 03:46:56 GMT
From: Jo Rhett<jrhett@svcolo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ipv6 can only be disabled by editing kernel
X-Send-Pr-Version: www-3.0

>Number:         104920
>Category:       kern
>Synopsis:       ipv6 can only be disabled by editing kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    bmah
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 30 03:50:07 GMT 2006
>Closed-Date:    Fri Mar 23 16:27:30 GMT 2007
>Last-Modified:  Fri Mar 23 16:27:30 GMT 2007
>Originator:     Jo Rhett
>Release:        6.2-BETA2
>Organization:
Silicon Valley Colocation
>Environment:
>Description:
For some time now the release notes for REL6 have indicated that ipv6_enable
should disable all ipv6 support.  It still doesn't as of beta2.

There is clearly a push for people to run GENERIC, but choices like this make
it completely impossible for security-conscious sites to do so.  Can we
please provide an option to completely disable ipv6 support in /etc/rc.conf?
>How-To-Repeat:
Put ipv6_enable in /etc/rc.conf

Reboot

ifconfig -a shows inet6 information for each interface.
netstat -nr shows numerous ipv6 routes.

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: bmah 
State-Changed-When: Fri Jan 19 16:28:42 UTC 2007 
State-Changed-Why:  
In FreeBSD 6.2-RELEASE, IPv6 support is only enabled if 
ipv6_enabled is set to "yes".  If this condition is *not* met, 
no IPv6 addresses (including link-local) are configured, and no 
IPv6 routes are installed. 

(There are two exceptions to the above:  IPv6 link-local addresses 
are enabled in single-user mode, to facilitate installation in 
IPv6-only environments, and there is always a link-local address 
for the loopback interface.) 

This has been tested a number of times by a number of developers, 
myself included.  You indicated that you did this testing with 
6.2-BETA2, but I believe that at this point we still did not have 
a good understanding of the issues and of the changes we were making 
to try to implement this behavior.  It probably wasn't working as 
intended at that point. 

Does 6.2-RELEASE work as expected for you? 




Responsible-Changed-From-To: freebsd-bugs->bmah 
Responsible-Changed-By: bmah 
Responsible-Changed-When: Fri Jan 19 16:28:42 UTC 2007 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104920 
State-Changed-From-To: feedback->closed 
State-Changed-By: bmah 
State-Changed-When: Fri Mar 23 16:26:38 UTC 2007 
State-Changed-Why:  
Feedback timeout (two months).  If still seems to be a problem, 
please feel free to re-open or file a new PR. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=104920 
>Unformatted:
