LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-07-2014, 07:06 PM   #1
hyperspherical
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Rep: Reputation: Disabled
UFW not working all the way???


Hello all,

I was setting up a simple samba server and having a hella time. I could see my server via windows machine, however I could not access. As it turns out ufw had no open ports except a few slurm ones I had setup while ago for a beowolf cluster. I opened port 445 and the 3 netbios(137,138,139) ports and everything worked great.

My question is: How did windows know my server name if all the netbios ports were blocked via ufw? seems like the server netbios name should have been completely invisible to windows. The host name for the server was different then the netbios name, but it was seeing the netbios name. I could get and verify the hostname from the website on my router and it was definitely different.

Thanks in advance....
 
Old 04-08-2014, 05:24 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,694

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Typically firewalls are configured to allow all outgoing traffic but block incoming traffic usually if it didn't originate from the computer itself.

One method of netbios name resolution is to broadcast the netbios name out on the network to announce I am here. Your windows computer will register the name and display it in the network window. However, when you click on the icon because your sending a new traffic message the firewall blocks it and you get an error.
 
  


Reply

Tags
firewall, netbios, samba, windows



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UFW blocks for months Ciohap22 Linux - Security 3 02-27-2014 06:46 PM
Port forwarding: ufw/iptables not working? Weapon S Linux - Software 5 03-21-2013 03:03 AM
[SOLVED] ufw judoka Linux - Networking 5 07-08-2010 03:03 PM
ufw firewall rhlnewbie Linux - Software 2 10-18-2009 03:23 PM
ufw in Slackware mattydee Slackware 2 05-19-2009 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration