Subject: Re: ipf reloading problem as of 2000.03.26?
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 03/27/2000 11:18:09
On Mon, Mar 27, 2000 at 10:35:24AM +0100, Patrick Welche wrote:
> 
> # ipnat -C
> 3 entries flushed from NAT list
> # ipnat -l
> List of active MAP/Redirect filters:
> 
> List of active sessions:
> # ipfstat -io
> empty list for ipfilter(out)
> empty list for ipfilter(in)
> # ipf -Fa -f -
> pass in on ne0 to ne1 all
> pass in quick on ne1 to ne0 all
> # ipfstat -io
> empty list for ipfilter(out)
> pass in on ne0 to ne1 from any to any
> pass in quick on ne1 to ne0 from any to any
> # ifconfig ne0 inet delete
> 
> at which point everything hangs in
> 
> --- interrupt ---
> fr_check(c523b010,14,c044fc34,0,c536dea8) at fr_check+0x30
> ip_input(c0428400) at ip_input+0x1d2
> ipintr(10,10,c535f3c0,c535f3c0,c536df30) at ipintr+0x64
> Bad frame pointer: 0xc536debc
> 
> and I have to reboot. That is with 1.4T/i386 of 24 Feb, and INET6, IPSEC.

Just upgraded to 1.4U pre rc.d, without INET6 nor IPSEC and now the hang
is sooner:

# ipnat -l
List of active MAP/Redirect filters:

List of active sessions:
# ipfstat -io
empty list for ipfilter(out)
empty list for ipfilter(in)
# ipf -Fa -f - 
pass in quick on ne0 to ne1 all
pass in quick on ne1 to ne0 all
^D
^D

^C
  

~Stopped at      cpu_Debugger+0x4:       leave
db> t
cpu_Debugger(c03f4b60,c03e2a4c,c03e2a20,fffff180,c03e27ac) at cpu_Debugger+0x4
comintr(c0401900) at comintr+0xb2
Xintr4() at Xintr4+0x6c
--- interrupt ---
ne2000_write_mbuf(c0407000,c03e2a00,4000,c0000000,5c) at ne2000_write_mbuf+0x24
5
dp8390_start(c0407034) at dp8390_start+0xca
ether_output(c0407034,c03e2a00,c53c2c08,0,400a) at ether_output+0x45f
ipfr_fastroute(c03e2a00,c53c2c50,c043c590) at ipfr_fastroute+0x1e7
fr_check(c03e2a20,14,c0409c34,0,c53c2cd4) at fr_check+0x69f
ip_input(c03e2a00) at ip_input+0x1c6
ipintr(10,10,c5319780,c5319780,c53c2d5c) at ipintr+0x64
Bad frame pointer: 0xc53c2ce8