Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2011 01:22:31 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        yanegomi@gmail.com
Cc:        freebsd-rc@FreeBSD.org, delphij@delphij.net, d@delphij.net
Subject:   Re: [RFC] Use noafif in dhcpif and sycndhcpif
Message-ID:  <20110923.012231.2025543114185889730.hrs@allbsd.org>
In-Reply-To: <CAGH67wSgt7NaoHabnZU88u5LuuXRMGwdoPPY3k0_C4ZgRLx84w@mail.gmail.com>
References:  <4E7A75EB.80308@delphij.net> <20110922.145338.1972727087248882715.hrs@allbsd.org> <CAGH67wSgt7NaoHabnZU88u5LuuXRMGwdoPPY3k0_C4ZgRLx84w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Fri_Sep_23_01_22_31_2011_144)--
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Garrett Cooper <yanegomi@gmail.com> wrote
  in <CAGH67wSgt7NaoHabnZU88u5LuuXRMGwdoPPY3k0_C4ZgRLx84w@mail.gmail.co=
m>:

ya> On Wed, Sep 21, 2011 at 10:53 PM, Hiroki Sato <hrs@freebsd.org> wro=
te:
ya> > Xin LI <delphij@delphij.net> wrote
ya> > =A0in <4E7A75EB.80308@delphij.net>:
ya> >
ya> > de> -----BEGIN PGP SIGNED MESSAGE-----
ya> > de> Hash: SHA256
ya> > de>
ya> > de> Hi,
ya> > de>
ya> > de> While developing FreeNAS we have hit a problem -- when
ya> > de> ifconfig_DEFAULT is set to "DHCP", all interfaces including p=
fsync0
ya> > de> and pflog0 would be probed by dhclient.
ya> > de>
ya> > de> It seems to be reasonable to check noafif in both dhcpif and
ya> > de> syncdhcpif, as did in ipv6_autoconfif based on same reasoning=
.=

ya> >
ya> > =A0I think the patch is reasonable. =A0Using "ifconfig -l AF" doe=
s not
ya> > =A0work for this purpose because 1) it depends on an already-conf=
igured
ya> > =A0address (ifa->ifa_addr->sa_family) on 9.X and 2) it does not w=
ork on
ya> > =A08.X as intended.
ya> =

ya> Please note that the patch Xin included disables several wireless
ya> chipsets from doing dhcp by default. Is this desired?

 I think there is no problem because an wireless LAN interface always
 has a name like wlanN, not a name derived from the device driver.  If
 the noafif() interface list includes a network interface which can
 have an address, it is a bug and the interface should be removed from
 the list, though.

-- Hiroki

----Security_Multipart(Fri_Sep_23_01_22_31_2011_144)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEABECAAYFAk57YMcACgkQTyzT2CeTzy2n2gCgn0vGp6FY2wYCgmJbYkv3n9qW
QfwAoL/6endJCd68AdRCwC/jj7ItCe6P
=yDGA
-----END PGP SIGNATURE-----

----Security_Multipart(Fri_Sep_23_01_22_31_2011_144)----



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