Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Nov 2017 19:44:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223407] [patch] etc/network.subr invalidates -auto_linklocal ifconfig flag set via rc.conf
Message-ID:  <bug-223407-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223407

            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@FreeBSD.org
          Reporter: bugzilla.freebsd@omnilan.de
          Keywords: patch

Created attachment 187704
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187704&action=
=3Dedit
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223407-8>