From owner-freebsd-rc@FreeBSD.ORG Tue Sep 9 06:40:49 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2EB946F1 for ; Tue, 9 Sep 2014 06:40:49 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 157908B7 for ; Tue, 9 Sep 2014 06:40:49 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s896emJp073784 for ; Tue, 9 Sep 2014 06:40:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 186841] rc.conf ifconfig syntax for binding ip-ranges broken [regression] Date: Tue, 09 Sep 2014 06:40:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hrs@FreeBSD.org X-Bugzilla-Status: Patch Ready X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: hrs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 06:40:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186841 Hiroki Sato changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Patch Ready Assignee|freebsd-rc@FreeBSD.org |hrs@FreeBSD.org --- Comment #7 from Hiroki Sato --- Created attachment 147097 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147097&action=edit A patch to make the limit user-configurable and bump the default value up to 2048. _IPEXPANDMAX was not intended for a hard limit of this functionality, just a safety-belt though I did not add it as a user-configurable knob. The reason why I added it is that a misconfiguration can unexpectedly generate a very very large number of addresses, especially in IPv6 because range specification handling in a shell-script is not so robust. A typo in IPv6 address can generate over 2^64 addresses. So, the moot point is whether this limit is still problematic even when it is user-configurable and an appropriate warning message is displayed. My proposed patch is attached. With this patch, one can increase it arbitrarily in rc.conf. -- You are receiving this mail because: You are the assignee for the bug.