Firewall blocks browsing "Windows Network" with samba ports full open

Bug #1722035 reported by Jose Ortiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gufw
Invalid
Undecided
Unassigned

Bug Description

I am new to Linux, so please let me know if something I say doesn't make sense.

With a sensible configuration (opening seemingly correct ports), I find that ufw (under the GUI gufw) blocks access my Samba-based resources, at least from the "file explorer" in Linux Mint. In the file explorer, I click on "Network" and see "Windows Network". Without firewall, I click on "Windows Network", and I see a list of all the windows clients and samba clients on my network. I can explore them, mount them, etc, no problem.

With firewall, I click on "Windows Network" and I see nothing.

My relevant ports are open both ways to/from anywhere. gufw shows me this:
135 tcp both-ways anywhere
137 udp both-ways anywhere
138 udp both-ways anywhere
139 tcp both-ways anywhere
445 tcp both-ways anywhere
135 (v6) tcp both-ways anywhere
137 (v6) udp both-ways anywhere
138 (v6) udp both-ways anywhere
139 (v6) tcp both-ways anywhere
445 (v6) tcp both-ways anywhere

Below shows a similar problem, but the bug was reported as fixed.
(reported fixed) https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/360975
It says:
"Please add nf_conntrack_pptp and nf_conntrack_netbios_ns to IPT_MODULES in /etc/default/ufw by default."

I tried the above "fix", but it didn't seem to change anything.

smbclient -L <server_name> seems to show the same information that supposed to be shown in the file explorer, and is not affected.

Jose Ortiz (joseortiz3)
summary: - Firewall blocks samba access to "Windows Network" with SAMBA ports full
- open
+ Firewall blocks browsing "Windows Network" with samba ports full open
description: updated
Jose Ortiz (joseortiz3)
description: updated
Revision history for this message
costales (costales) wrote :

Hi, I'm so sorry José, but this is not a forum for questions. Please, use askubuntu.com or ubuntuforums.org for them :) Thanks in advance!

Changed in gui-ufw:
status: New → Invalid
Revision history for this message
Jose Ortiz (joseortiz3) wrote :

I'm sorry it sounded like a question - I'm pointing out that the default configuration blocks retrieving Samba lists. I disabled the firewall until I was able to manually mount the desired network drive in my directory. I then re-enabled firewall (blocking the samba list), but I don't need the list anymore. It's a bug - but ignore it if you want, I already have a workaround.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.