Subject: Re: 1.5.2->1.5.3 problems with update
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Cliff Albert <cliff@oisec.net>
List: netbsd-users
Date: 07/28/2002 20:19:09
On Sun, Jul 28, 2002 at 05:25:48PM +0200, Wojciech Puchar wrote:

> i updated kernel on one of my routers from 1.5.2 to 1.5.3
> then updated ipfilter/ipnat.
> all works except ipnat
> /etc/rc.d/ipnat start works OK, but
> ipnat -l
> List of active MAP/Redirect filters:
> unknown value for in_redir: 0
>   10.0.0.0/8  -> 217.96.12.0/32
> unknown value for in_redir: 0
>   10.255.248.1/32  -> 0.0.0.0/0  portmap tcp 80:80
> unknown value for in_redir: 0
>   10.0.0.0/8  -> 217.96.12.0/32  portmap tcp/udp 10000:60000
> unknown value for in_redir: 0
>   10.0.0.0/8  -> 217.96.12.0/32
> when ipnat -l is started from rsh (without pty) i'm getting:
> unknown value for in_redir: 0
> kmemcpy:read: Bad address
> and then core dump.
> what's wrong?
> ldd ipnat showed it's only libc dependent, i updated libc too and still
> the same

Where is your ipnat located ? I had similair problems when updating from
1.5.2 to 1.6_BETA4. The problem was that there where 2 versions of ipnat.
One in /sbin and one in /usr/sbin. As /sbin is earlier in $PATH it choose
that version and that version was indeed older as the one in /usr/sbin.

-- 
Cliff Albert		| RIPE:	     CA3348-RIPE | http://oisec.net/
cliff@oisec.net		| 6BONE:     CA2-6BONE	 |