netstat results

When doing a netstat I noticed an unusual connection in the list of results:

Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp       12      0 (my-hostname):3481 li2-35.memb:netbios-ssn ESTABLISHED

What does this connection to another Linode do?

Quik

2 Replies

Well, no one else has answered, so I'll give it a shot: netbios-ssn is the port that SMB uses for filesharing. SMB is the name of the protocol that Windows uses for filesharing and other messaging tasks. The SMB protocol is implemented on Linux by the Samba package. If you don't have a specific reason to run Samba on your Linode (in other words, if you aren't using your Linode for windows filesharing), then you should probably disable it. On RedHat this can be done by running:

/etc/init.d/smb stop

chkconfig smb off

On Debian I would stop the service and just remove the package.

-"Zow"

Thanks very much zow.

I'll have a go at that now :)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct