Our Client software used samba protocol,If there is no firewall case , this protocol work properly from remote site.All of firwall configuration open ( this mean is all of port open ). Samba work very well, but if some constrain put in, it doesn't work. 1)I would like to know about port usage of samba protocol. I think snmpd, nmpd daemon used some port number. i can see /etc/service file. Client software has no daemon, i think may be server request to some port of client. That means samba protocol used another port except snmpd,nmpd port. My question is 1. I would like to know about port usage of samba protocol. 2. My client want to set exact port number for firewall, because he don't want to open all of port for security isseu. regards Dandy _________________________________________________________________ Cricket World Cup 2003- News, Views and Match Reports. http://server1.msn.co.in/msnspecials/worldcup03/
Here are the ports used by samba: netbios-ns 137/tcp # NETBIOS Name Service netbios-ns 137/udp netbios-dgm 138/tcp # NETBIOS Datagram Service netbios-dgm 138/udp netbios-ssn 139/tcp # NETBIOS session service netbios-ssn 139/udp --- dharanesh dharanesh <dharanesh@hotmail.com> a ?crit?: > Our Client software used samba protocol,If there is> no firewall case , this > protocol work properly from remote site.All of > firwall configuration open ( > this mean is all of port open ). > Samba work very well, but if some constrain put in, > it doesn't work. > > 1)I would like to know about port usage of samba > protocol. > I think snmpd, nmpd daemon used some port number. i > can see /etc/service > file. > Client software has no daemon, i think may be server > request to some port of > client. > That means samba protocol used another port except > snmpd,nmpd port. > > > My question is > 1. I would like to know about port usage of samba > protocol. > 2. My client want to set exact port number for > firewall, because he don't > want to open > all of port for security isseu. > > regards > Dandy > > > > > > >_________________________________________________________________> Cricket World Cup 2003- News, Views and Match > Reports. > http://server1.msn.co.in/msnspecials/worldcup03/ > > -- > To unsubscribe from this list go to the following > URL and read the > instructions:http://lists.samba.org/mailman/listinfo/samba ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com
Hello, there is an article from "the linux magazine", called "Understanding the Network Neighborhood" available at http://www.linux-mag.com/2001-05/smb_01.html There are ports 137, 138, and 139 mentioned. My /etc/services says netbios-ns 137/tcp # NETBIOS Name Service netbios-ns 137/udp netbios-dgm 138/tcp # NETBIOS Datagram Service netbios-dgm 138/udp netbios-ssn 139/tcp # NETBIOS session service netbios-ssn 139/udp Also to mention is microsoft-ds 445/tcp microsoft-ds 445/udp 445/tcp is netbios-less CIFS used by Windows 2000 clients. I don't know how far the implementation in samba is right now. In 3.0 port 445 will be used by default, IIRC. Yours, Wolfi