NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/51622 (NPF startup fails when using dhcpcd for inet4 and inet6)



The following reply was made to PR bin/51622; it has been noted by GNATS.

From: Timshel Knoll-Miller <timshel%fluentdevelopment.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, maxv%netbsd.org@localhost
Subject: Re: bin/51622 (NPF startup fails when using dhcpcd for inet4 and inet6)
Date: Wed, 5 Sep 2018 09:18:52 +1000

 --00000000000041a0cb057513e22d
 Content-Type: text/plain; charset="UTF-8"
 
 Thanks for the update Max, however judging from the manual pages,
 "ifaddrs()" has only been introduced in NetBSD 8, so it doesn't resolve
 this issue for NetBSD 7.
 
 Using the static address lists are fine for my purposes, provided that the
 boot process can ensure that DHCP addresses are assigned BEFORE npf is
 started.
 
 Enabling the dhcpcd "waitip" option (which requires the patch I backported
 from -current) means that dhcpcd will wait for the DHCP addresses to be
 assigned before continuing the boot process, and so resolves this issue on
 NetBSD 7.
 
 Cheers,
 
 Timshel
 
 
 
 On Mon, 3 Sep 2018 at 16:29 <maxv%netbsd.org@localhost> wrote:
 
 > Synopsis: NPF startup fails when using dhcpcd for inet4 and inet6
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: maxv%NetBSD.org@localhost
 > State-Changed-When: Mon, 03 Sep 2018 06:29:51 +0000
 > State-Changed-Why:
 > Use ifaddrs(vioif0) instead of inet4(vioif0). inet4()/inet6() are static
 > lists, ifaddrs() is a dynamic list.
 >
 >
 >
 > --
 [image: fluent-icon-grey-90x90.png]
 
 Timshel Knoll-Miller
 Co-founder
 Fluent Development
 15 Manna Lane, Cudgee VIC 3265
 p: +61 (03) 5537 9122 m: 0434 864 908e: timshel%fluentdevelopment.com.au@localhost w:
 fluentdevelopment.com.au <http://www.fluentdevelopment.com.au/>
 
 --00000000000041a0cb057513e22d
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">Thanks for the update Max, however judging from the manual=
  pages, &quot;ifaddrs()&quot; has only been introduced in NetBSD 8, so it d=
 oesn&#39;t resolve this issue for NetBSD 7.<div><br></div><div>Using the st=
 atic address lists are fine for my purposes, provided that the boot process=
  can ensure that DHCP addresses are assigned BEFORE npf is started.</div><d=
 iv><br></div><div>Enabling the dhcpcd &quot;waitip&quot; option (which requ=
 ires the patch I backported from -current) means that dhcpcd will wait for =
 the DHCP addresses to be assigned before continuing the boot process, and s=
 o resolves this issue on NetBSD 7.</div><div><br></div><div>Cheers,</div><d=
 iv><br></div><div>Timshel<br><div><br></div><div><br></div></div><br><div c=
 lass=3D"gmail_quote"><div dir=3D"ltr">On Mon, 3 Sep 2018 at 16:29 &lt;<a hr=
 ef=3D"mailto:maxv%netbsd.org@localhost"; target=3D"_blank">maxv%netbsd.org@localhost</a>&gt; wro=
 te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
 order-left:1px #ccc solid;padding-left:1ex">Synopsis: NPF startup fails whe=
 n using dhcpcd for inet4 and inet6<br>
 <br>
 State-Changed-From-To: open-&gt;feedback<br>
 State-Changed-By: maxv%NetBSD.org@localhost<br>
 State-Changed-When: Mon, 03 Sep 2018 06:29:51 +0000<br>
 State-Changed-Why:<br>
 Use ifaddrs(vioif0) instead of inet4(vioif0). inet4()/inet6() are static<br=
 >
 lists, ifaddrs() is a dynamic list.<br>
 <br>
 <br>
 <br>
 </blockquote></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" =
 data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><table border=3D"0=
 " style=3D"font-family:arial,sans-serif;font-size:small;color:rgb(0,0,0);bo=
 rder:none;border-collapse:collapse;width:562px"><colgroup><col width=3D"120=
 "><col width=3D"*"></colgroup><tbody><tr><td style=3D"margin:0px;width:120p=
 x;vertical-align:middle"><img title=3D"Fluent" alt=3D"fluent-icon-grey-90x9=
 0.png" width=3D"90" height=3D"90" style=3D"border: none;" src=3D"https://lh=
 3.googleusercontent.com/zjId8wBlfkNDNURpKVbP_fIuz6Ktf8bi1t1t-N8Owp52S3vG3P8=
 biOUeXcSSf8LvCT4qwa4KdVNsihKcw2XeW6CjRF4ntcvh_ttxIHjnlzHgOz2zU_hqSWHlYtV3wu=
 8bP_p2XV4v"></td><td style=3D"margin:0px;vertical-align:middle"><p dir=3D"l=
 tr" style=3D"font-family:quicksand,verdana,arial,helvetica,sans-serif;font-=
 size:13.3333px"><span style=3D"font-size:14.6667px;font-weight:bold">Timshe=
 l Knoll-Miller</span><br>Co-founder<br><span style=3D"color:rgb(153,153,153=
 );font-weight:bold">Fluent=C2=A0Development</span><br>15=C2=A0Manna=C2=A0La=
 ne, Cudgee=C2=A0VIC=C2=A03265<br><span style=3D"color:rgb(153,153,153);font=
 -weight:bold">p:=C2=A0</span>+61=C2=A0(03)=C2=A05537=C2=A09122=C2=A0<span s=
 tyle=3D"color:rgb(153,153,153);font-weight:bold">m:=C2=A0</span>0434=C2=A08=
 64=C2=A0908<span style=3D"color:rgb(153,153,153);font-weight:bold">e:=C2=A0=
 </span><a href=3D"mailto:timshel%fluentdevelopment.com.au@localhost"; target=3D"_blank=
 " style=3D"color:rgb(17,85,204);text-decoration:none">timshel@fluentdevelop=
 ment.com.au</a>=C2=A0<span style=3D"color:rgb(153,153,153);font-weight:bold=
 ">w:=C2=A0</span><a href=3D"http://www.fluentdevelopment.com.au/"; target=3D=
 "_blank" style=3D"color:rgb(17,85,204);text-decoration:none">fluentdevelopm=
 ent.com.au</a></p>
 </td></tr></tbody></table>
 
 </div></div></div>
 
 --00000000000041a0cb057513e22d--
 



Home | Main Index | Thread Index | Old Index