[Bug 186841] rc.conf ifconfig syntax for binding ip-ranges broken [regression]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 9 06:40:49 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186841

Hiroki Sato <hrs at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Patch Ready
           Assignee|freebsd-rc at FreeBSD.org      |hrs at FreeBSD.org

--- Comment #7 from Hiroki Sato <hrs at FreeBSD.org> ---
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.


More information about the freebsd-rc mailing list