Subject: Kernel panic with NAT + FTP
To: None <netbsd-help@netbsd.org>
From: =?ISO-8859-1?Q?Ari_Sovij=E4rvi?= <apz-list@2304.org>
List: netbsd-help
Date: 02/25/2005 02:59:19
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1690437087-2077470437-1109293159=:8081
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

Hi!

I'm using an i386 "netbsd-2-0"-machine as a NAT, and my settings are:

map vr0 192.168.1.0/24 -> 0/32 proxy port ftp ftp/tcp
map vr0 192.168.1.0/24 -> 0/32 portmap tcp/udp 40000:60000
map vr0 192.168.1.0/24 -> 0/32

I was transferring files with a Windows-client (WS_FTP) through the NAT, and 
the FTP-connection just froze. I assumed it was a Windows-problem, reconnected
and resumed the operation. It froze again, and this time pretty much everything 
else using the internet connection went down. I connected a keyboard and 
monitor to the NAT machine and noticed it had kernel paniced.

I'm no expert on interpreting the trace, but it would seem it had something to 
do with the ongoing FTP-connection. Here's the trace output:
http://apz.fi/tmp/trace.jpg

As a workaround, I removed the active FTP-support from the NAT until I get the 
problem fixed.

Any ideas on this?
Thanks in advance.

-- 
Ari Sovijärvi
http://apz.fi/
--1690437087-2077470437-1109293159=:8081--