Subject: Re: NAT translation for NETBIOS -
To: None <netbsd-bugs@netbsd.org>
From: Wolfgang Rupprecht <wolfgang+gnus20020913T122852@wsrcc.com>
List: netbsd-bugs
Date: 09/13/2002 12:34:33
bouyer@antioche.eu.org (Manuel Bouyer) writes:
> On Fri, Sep 13, 2002 at 11:49:39AM +0530, Alok  Singh wrote:
> > I want to know the deployment scenario under which the NETBIOS works fine
> > properly for the current BSD implementaion.
> 
> This seems to be a pure win2k issue. The NAT NetBSD router will just change
> the IP address in the IP header, it won't do any special handling for
> NETBIOS packets themselves.

Most of my understanding of netbios is from examining the ipf filter
log entries that the script kiddies so kindly insure that I have
plenty of.  They always try to connect from port netbios-ns to port
netbios-ns.  I assume the src_port == dst_port is important.  If NAT
remaps that port on the NetBSD side things may not work.

    Sep 9 09:05:20 capsicum ipmon[134]: 09:05:20.005156 tlp0 @100:2 b
        0x503e7f78.hrnxx4.adsl.tele.dk[80.62.127.120],netbios-ns ->
        sonic1.wsrcc.com[208.201.233.173],netbios-ns PR udp len 20 78 IN

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
      Hackers don't spread viruses.  Microsoft spreads viruses.