NetBSD-Bugs archive

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

Re: kern/47607: npf tables cause panic



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

From: G B <g_patrickb%yahoo.com@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: kern/47607: npf tables cause panic
Date: Sat, 2 Mar 2013 15:58:56 -0800 (PST)

 --902471806-549948-1362268736=:88765
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 I reinstalled NetBSD 6.1_RC1 i386 using the same npf.conf and when both tab=
 les are uncommented it does load, however, it gives an error.=0A=0AIn npf.c=
 onf:=0Atable <1> type tree file "/etc/rfc1918"=0Atable <2> type tree file "=
 /etc/blockedcountryips.conf"=0A=0Ausing 'npfctl stop; npfctl flush; npfctl =
 reload' then gives:=0Anpfctl: ioctl: file exists=0A=0A=0AAnd then doing 'np=
 fctl start' give and empty configuration using 'npfctl show'.=0A=0AIf I com=
 ment out table 2 then it will load.=A0 If I comment out table 1 and load ta=
 ble 2 then it also gives the 'file exists' message and nothing is loaded.=
 =0A=0AThe blockedcountryips.conf has 76915 lines.=A0 If I try to load table=
  2 as dynamic and use 'npfctl table 2 add <block>' then at times it gives a=
  message: =0A=0Anpfctl: entry already exists or is conflicting=0Aotherwise =
 it correctly gives:=0Anpfctl: success=0A=0A=0AIt also takes about 5 minutes=
  to load all lines using 'npfctl table 2 add <block>' and there are no dupl=
 icates; each line is unique.=A0 Using the same table in pf loads in approx =
 30 seconds.=0A=0A=0A=0A________________________________=0A From: "gnats-adm=
 in%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>=0ATo: 
g_patrickb%yahoo.com@localhost =0ASent:=
  Saturday, March 2, 2013 9:00 AM=0ASubject: Re: kern/47607: npf tables caus=
 e panic=0A =0AThank you very much for your problem report.=0AIt has the int=
 ernal identification `kern/47607'.=0AThe individual assigned to look at you=
 r=0Areport is: kern-bug-people. =0A=0A>Category:=A0 =A0 =A0  kern=0A>Respon=
 sible:=A0 =A0 kern-bug-people=0A>Synopsis:=A0 =A0 =A0  npf tables cause pan=
 ic=0A>Arrival-Date:=A0  Sat Mar 02 15:00:01 +0000 2013
 --902471806-549948-1362268736=:88765
 Content-Type: text/html; charset=iso-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <html><body><div style=3D"color:#000; background-color:#fff; font-family:ti=
 mes new roman, new york, times, serif;font-size:12pt">I reinstalled NetBSD =
 6.1_RC1 i386 using the same npf.conf and when both tables are uncommented i=
 t does load, however, it gives an error.<br><br>In npf.conf:<br>table &lt;1=
 &gt; type tree file "/etc/rfc1918"<br>table &lt;2&gt; type tree file "/etc/=
 blockedcountryips.conf"<br><br>using 'npfctl stop; npfctl flush; npfctl rel=
 oad' then gives:<br>npfctl: ioctl: file exists<br><div><br><span></span></d=
 iv><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: times n=
 ew roman,new york,times,serif; background-color: transparent; font-style: n=
 ormal;"><span>And then doing 'npfctl start' give and empty configuration us=
 ing 'npfctl show'.</span></div><div style=3D"color: rgb(0, 0, 0); font-size=
 : 16px; font-family: times new roman,new york,times,serif; background-color=
 : transparent; font-style: normal;"><br><span></span></div><div
  style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: times new roma=
 n,new york,times,serif; background-color: transparent; font-style: normal;"=
 ><span>If I comment out table 2 then it will load.&nbsp; If I comment out t=
 able 1 and load table 2 then it also gives the 'file exists' message and no=
 thing is loaded.</span></div><div style=3D"color: rgb(0, 0, 0); font-size: =
 16px; font-family: times new roman,new york,times,serif; background-color: =
 transparent; font-style: normal;"><br><span></span></div><div style=3D"colo=
 r: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,tim=
 es,serif; background-color: transparent; font-style: normal;"><span>The blo=
 ckedcountryips.conf has 76915 lines.&nbsp; If I try to load table 2 as dyna=
 mic and use 'npfctl table 2 add &lt;block&gt;' then at times it gives a mes=
 sage: <br></span></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px; =
 font-family: times new roman,new york,times,serif; background-color:
  transparent; font-style: normal;"><span>npfctl: entry already exists or is=
  conflicting</span></div><div style=3D"color: rgb(0, 0, 0); font-size: 16px=
 ; font-family: times new roman,new york,times,serif; background-color: tran=
 sparent; font-style: normal;"><span>otherwise it correctly gives:</span></d=
 iv><div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: times n=
 ew roman,new york,times,serif; background-color: transparent; font-style: n=
 ormal;"><span>npfctl: success<br></span></div><div style=3D"color: rgb(0, 0=
 , 0); font-size: 16px; font-family: times new roman,new york,times,serif; b=
 ackground-color: transparent; font-style: normal;"><span><br></span></div><=
 div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: times new r=
 oman,new york,times,serif; background-color: transparent; font-style: norma=
 l;">It also takes about 5 minutes to load all lines using 'npfctl table 2 a=
 dd &lt;block&gt;' and there are no duplicates; each line is unique.&nbsp;
  Using the same table in pf loads in approx 30 seconds.<br><span></span></d=
 iv><div><br></div>  <div style=3D"font-family: times new roman, new york, t=
 imes, serif; font-size: 12pt;"> <div style=3D"font-family: times new roman,=
  new york, times, serif; font-size: 12pt;"> <div dir=3D"ltr"> <font face=3D=
 "Arial" size=3D"2"> <hr size=3D"1">  <b><span style=3D"font-weight:bold;">F=
 rom:</span></b> "gnats-admin%netbsd.org@localhost" 
&lt;gnats-admin%netbsd.org@localhost&gt;<br>=
  <b><span style=3D"font-weight: bold;">To:</span></b> 
g_patrickb%yahoo.com@localhost =
 <br> <b><span style=3D"font-weight: bold;">Sent:</span></b> Saturday, March=
  2, 2013 9:00 AM<br> <b><span style=3D"font-weight: bold;">Subject:</span><=
 /b> Re: kern/47607: npf tables cause panic<br> </font> </div> <br>=0AThank =
 you very much for your problem report.<br>It has the internal identificatio=
 n `kern/47607'.<br>The individual assigned to look at your<br>report is: ke=
 rn-bug-people. <br><br>&gt;Category:&nbsp; &nbsp; &nbsp;  kern<br>&gt;Respo=
 nsible:&nbsp; &nbsp; kern-bug-people<br>&gt;Synopsis:&nbsp; &nbsp; &nbsp;  =
 npf tables cause panic<br>&gt;Arrival-Date:&nbsp;  Sat Mar 02 15:00:01 +000=
 0 2013<br><br><br><br> </div> </div>  </div></body></html>
 --902471806-549948-1362268736=:88765--
 



Home | Main Index | Thread Index | Old Index