From owner-freebsd-questions@FreeBSD.ORG Sun Jan 23 15:23:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8055216A4CE for ; Sun, 23 Jan 2005 15:23:31 +0000 (GMT) Received: from mail.terralink.de (mail.tlink.de [217.9.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A703C43D39 for ; Sun, 23 Jan 2005 15:23:30 +0000 (GMT) (envelope-from me@daniel.stefan.haischt.name) Received: from smtp.abyssworld.de (daniel-s-haischt.biz [84.252.66.2]) by mail.terralink.de (Postfix) with ESMTP id 311C2BD7EC; Sun, 23 Jan 2005 16:23:24 +0100 (CET) Received: from abyssone.abyssworld.de (smtp.abyssworld.de [192.168.1.6]) by smtp.abyssworld.de (Postfix) with SMTP id 3262E17D26; Sun, 23 Jan 2005 16:23:24 +0100 (CET) Received: from (localhost) [192.168.1.6] by abyssone.abyssworld.de with smtp (geam 0.8.4) for ; Sun, 23 Jan 2005 16:23:24 +0100 Received: from smtp.abyssworld.de ([127.0.0.1])port 10024) with ESMTP id 99851-08; Sun, 23 Jan 2005 16:23:23 +0100 (CET) Received-SPF: none (smtp.abyssworld.de: 192.168.1.6 is neither permitted nor denied by domain of daniel.stefan.haischt.name) client-ip=192.168.1.6; envelope-from=me@daniel.stefan.haischt.name; helo=[192.168.120.239]; Received: from [192.168.120.239] (smtp.abyssworld.de [192.168.1.6]) by smtp.abyssworld.de (Postfix) with ESMTP id 58FC6171A3; Sun, 23 Jan 2005 16:23:20 +0100 (CET) Message-ID: <41F3C166.7090903@daniel.stefan.haischt.name> Date: Sun, 23 Jan 2005 16:23:18 +0100 From: "Daniel S. Haischt" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Marty Landman References: <200501231049.49924.emanuel.strobl@gmx.net> <20050123150155.10435.qmail@web51002.mail.yahoo.com> <6.2.0.14.0.20050123101001.034a6c50@mail.face2interface.com> In-Reply-To: <6.2.0.14.0.20050123101001.034a6c50@mail.face2interface.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Processed-By: GNU Anubis v4.0 X-Purified-With: DSPAM, Clam AntiVirus X-Virus-Scanned: amavisd-new at abyssworld.de cc: faisal gillani cc: freebsd-questions@freebsd.org Subject: Re: port 445 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: me@daniel.stefan.haischt.name List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2005 15:23:31 -0000 You can control which port Samba would use by adding something like the following to your smb.conf: smb ports = 139 445 This would cause the following result: root@abyssone $ sockstat | grep smb haischt smbd 3501 5 tcp4 192.168.120.1:445 192.168.120.239:3046 haischt smbd 3501 21 udp4 127.0.0.1:63184 *:* haischt smbd 3501 26 tcp4 192.168.120.25:51330 192.168.120.25:389 root smbd 1112 18 tcp4 127.0.0.1:139 *:* root smbd 1112 19 tcp4 127.0.0.1:445 *:* root smbd 1112 20 tcp4 192.168.120.1:139 *:* root smbd 1112 21 tcp4 192.168.120.1:445 *:* Marty Landman schrieb: > At 10:01 AM 1/23/2005, faisal gillani wrote: > >> i use samba on my freebsd server to share files , i dont use any >> active directory connectivity still the port "445/tcp open >> microsoft-ds" is open , i read is some where that this port should be >> close as it is dangerous to the server , is this true ? > > > Hi Faisal, > > Are you running the newest Samba? I think this is relatively new because > I run fbsd 4.8 and rh 9, both have samba but fbsd is running the new > 3.0.10 and rh is running an older 2.x version. Here are my (persistent) > connections on my win xp gateway: > > System:4 TCP delliver:3033 penguin:netbios-ssn ESTABLISHED > System:4 TCP delliver:3034 swamisalami:microsoft-ds > ESTABLISHED > > > Notice that the connection is to netbios-ssn on the rh box running samba > 2.x, but to microsoft-ds which afaik is port 445 for the fbsd box > running samba 3.0.10. TBH I don't know which port is being kept open for > rh, so maybe this is of no help at all. > > Well it helps me a little to repeat the bit that I do know. :) > > Marty > > > Marty Landman, Face 2 Interface Inc. 845-679-9387 > Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml > Web Installed Formmail: http://face2interface.com/formINSTal > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > -- Mit freundlichen Gruessen / With kind regards DAn.I.El S. Haischt Want a complete signature??? Type at a shell prompt: $ > finger -l haischt@daniel.stefan.haischt.name