From owner-freebsd-security Tue Jun 13 10:59:13 2000 Delivered-To: freebsd-security@freebsd.org Received: from blort.org (blort.org [206.157.137.192]) by hub.freebsd.org (Postfix) with ESMTP id AD8B337B72D for ; Tue, 13 Jun 2000 10:59:03 -0700 (PDT) (envelope-from kgasso@blort.org) Received: from localhost (kgasso@localhost) by blort.org (8.9.1a/8.8.7) with ESMTP id KAA12610; Tue, 13 Jun 2000 10:58:47 -0700 Date: Tue, 13 Jun 2000 10:58:47 -0700 (PDT) From: Kameron Gasso To: Szilveszter Adam Cc: freebsd-security@FreeBSD.ORG Subject: Re: netbios In-Reply-To: <20000613194612.B16541@petra.hos.u-szeged.hu> Message-ID: X-Authentication-Warning: ookblat.blort.org: kgasso flogged sendmail with a hard bagel. X-Wibbler: Pine 4.20 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 13 Jun 2000, Szilveszter Adam wrote: > On Tue, Jun 13, 2000 at 12:33:56PM -0500, Matt Watson wrote: > > NetBIOS should only be open if your running samba. Incase you don't know > > NetBIOS is a part of windows' (at least its mostly used with > > windows) network communication protocol for filesharing and printer > > sharing etc. You should be able to see the daemon running as 'nmbd' and > > 'smbd' you'll want to kill both of them. However its obviously being > > started at bootup time in your case, i'm not sure where freebsd would keep > > the startup for samba, probably /etc/rc.conf or /etc/rc.local. If you > > don't find samba running i don't know whjat else it would be... i've never > > seen anything but samba use it. You could find out using 'sockstat'. > > Startup scripts for programs installed from ports (and Samba is such a > program) can be found in /usr/local/etc/rc.d/ and are named like > .sh. You want to delete or rename it for it not to run at startup. > smbd/nmbd have their own inetd.conf entries in 4.0-RELEASE: wibbly# grep "mbd" * inetd.conf:#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd inetd.conf:#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd I also see nothing else regarding the two in /etc, /etc/defaults, or the like. checking on my 3.4-RELEASE box, results are the same. Cheers, -Kameron (kgasso@blort.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message