Does Samba need port 139?

Does Samba need port 139?

SAMBA uses ports 137 – 139 and 445.

What is the use of port 139?

Port 139 is utilized by NetBIOS Session service. Enabling NetBIOS services provide access to shared resources like files and printers not only to your network computers but also to anyone across the internet. Therefore it is advisable to block port 139 in the Firewall.

Is port 139 UDP or TCP?

Port 139 Details

Port(s) Protocol Service
139 tcp,udp netbios-ss
139 tcp,udp
139 tcp trojan
139 tcp Chode

What is the port name for port 139?


Name: netbios-ssn
Purpose: NETBIOS Session Service
Description: TCP NetBIOS connections are made over this port, usually with Windows machines but also with any other system running Samba (SMB). These TCP connections form “NetBIOS sessions” to support connection oriented file sharing activities.
Related Ports: 137, 138, 445

What protocol does SAMBA use?

SMB protocol
Like CIFS, Samba implements the SMB protocol which is what allows Windows clients to transparently access Linux directories, printers and files on a Samba server (just as if they were talking to a Windows server).

What are the vulnerabilities on port 139?

Vital Information on This Issue

Vulnerability Name: SMB Listens on Port
Category: SMB/NetBIOS
Type: Attack
Summary: Ports 139 and 445 are used for ‘NetBIOS’ communication between two Windows 2000 hosts. In the case of port 445 an attacker may use this to perform NetBIOS attacks as it would on port 139.

What is the problem with 139 port?

Firewalls, as a measure of safety always block this port first, if you have it opened. Port 139 is used for File and Printer Sharing but happens to be the single most dangerous Port on the Internet. This is so because it leaves the hard disk of a user exposed to hackers.

What port does Samba use?

SMB ports are generally port numbers 139 and 445. Port 139 is used by SMB dialects that communicate over NetBIOS. It’s a transport layer protocol designed to use in Windows operating systems over a network.

Does SMB use TCP or UDP?

SMB relies on the TCP and IP protocols for transport. This combination potentially allows file sharing over complex, interconnected networks, including the public Internet. The SMB server component uses TCP port 445.