LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-24-2005, 04:14 PM   #1
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Rep: Reputation: 15
Question Guarddog and SMB


I have Guarddog installed on SimplyMEPIS 3.3.

When I turn off Guarddog, I can see the Samba server and its shares.
When I have Guarddog on, I can't see the Samba server and its shares.
When Guarddog is on, /var/log/messages shows occasional messages:
kernel: DROPPED IN=eth0 OUT= MAC= SRC=(me) DST=192.168.0.255 LEN=127 etc.
I think I need to configure Guarddog to let my SMB queries out or back in or something...
Could someone please clue me in - how to adjust Guarddog to allow me to see the Samba server(s) on the network and access their shares?

Thank you,
- TSloth
 
Old 05-24-2005, 10:05 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
In the Guarddog configuration menu, select the protocol tab, then "local network" and then select the Microsoft SMB box, then save and exit. If that still doesn't help, you may need to add the local broadcast address to the local zone.
 
Old 05-26-2005, 12:56 PM   #3
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Original Poster
Rep: Reputation: 15
Thank you, Capt_Caveman! It's working slick as ... can be.
K -> Internet -> Connection -> Smb4K browses the workgroup just fine.


For those who will be setting up Guarddog 2.4.0, it's
Protocol tab
Local zone
expand Network group (in the Network Protocol window)
Microsoft SMB over TCP ... should be checked


- TSloth
 
Old 06-10-2005, 03:13 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
I have a computer running debian sarge, and I used Guarddog to set up the firewall. However, I can't get my laptop to connect using Samba, or my other linux box to print using CUPS.

They work correctly when I disable the firewall. I have tried the above suggestions, but it still does not work.

Any Suggestions??

Thanks in advance,
--Ian
 
Old 08-20-2005, 11:32 AM   #5
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
mount

Thank you all for this thread
Anyway, the firewall does not let me mount the windows share.
I mean:
Code:
# mount -t smbfs //192.168.0.2/Share /mnt/xp/ -o username=utente
timeout connecting to 192.168.0.2:445
timeout connecting to 192.168.0.2:139
Error connecting to 192.168.0.2 (Operation already in progress)
29817: Connection to 192.168.0.2 failed
SMB connection failed
How should I fix this?

Thanks

Last edited by guldo; 08-20-2005 at 11:33 AM.
 
Old 08-24-2005, 04:57 PM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Guldo, is the utente user currently logged on when attempting this? When connecting to a Win2K or XP machine using Samba you have to connect as the currently logged-on Win user.

IBall, if you're still having problems connecting after allowing SMB protocol (port 445), make sure NetBIOS is also allowed for local zone. That opens ports 138 and 139. Those also are required for successful Samba connections. Be sure all three are closed for the internet zone! CUPS requires port 631 to be open. Check on that. I'm not quite sure which brach you'll find it under and I'm not at a Linux box right now. You may have to create an entry for it.
 
  


Reply



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
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 12:30 AM
SMB: More then one Windows user/ smb account? 1veedo Linux - Networking 2 03-15-2005 04:16 PM
smb+KDE= :-) smb+Gnome= :-( awing_pilot Linux - Software 3 03-10-2005 10:38 PM
Creating a SSL connection from smb clients to a smb server scottpioso General 0 11-17-2003 02:33 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM

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

All times are GMT -5. The time now is 06:36 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