[Bug 223407] [patch] etc/network.subr invalidates -auto_linklocal ifconfig flag set via rc.conf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 3 19:44:05 UTC 2017


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

            Bug ID: 223407
           Summary: [patch] etc/network.subr invalidates -auto_linklocal
                    ifconfig flag set via rc.conf
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: bugzilla.freebsd at omnilan.de
          Keywords: patch

Created attachment 187704
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187704&action=edit
Make rc(8) respect "-auto_linklocal" flag for INET6 ifconfig

ifconfig(8) can toggle automatic link-local address configuration per
interface.
net.inet6.ip6.auto_linklocal predefines the default setting, which is to set
AUTO_LINKLOCAL on all interfaces.

Users should be able to disable automatic link-local address configuration
selectively, not only globally (by the mentioned sysctl).

Basically, adding "-auto_linklocal" as rc.conf(5) ifconfig_IF_ipv6 parameter
does disable AUTO_LINKLOCAL, but too late, because network.subr issues
'ifconfig inet -ifdisabled' before.

Attach patch introduces check for -auto_linklocal at that point.

-harry

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list