Date: Sun, 23 Jan 2005 16:23:18 +0100 From: "Daniel S. Haischt" <me@daniel.stefan.haischt.name> To: Marty Landman <MLandman@face2interface.com> Cc: freebsd-questions@freebsd.org Subject: Re: port 445 ? Message-ID: <41F3C166.7090903@daniel.stefan.haischt.name> In-Reply-To: <6.2.0.14.0.20050123101001.034a6c50@mail.face2interface.com> References: <200501231049.49924.emanuel.strobl@gmx.net> <20050123150155.10435.qmail@web51002.mail.yahoo.com> <6.2.0.14.0.20050123101001.034a6c50@mail.face2interface.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F3C166.7090903>