Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Stockholm, Sweden

    Talking SMB anounce to internet

    Hello all!

    I have a small linux device called "Freecom storage gateway". Basically its a box the size of a small brick including a 500GB HD and an XScale linux file/web/print/etc server. Works fine in every way but...

    I noticed that the eth led for the wan if was flashing alot so I got curious and made a tcpdump wich I analyzed in wireshark. Most of the flashing turned out to be ARP quiery's from the ISP but I also found that my server where sending SMB anounce messages and other samba broadcasts onto the internet (through the wan port directed to the ISP's DHCP server in fact). I checked iptables and I think it looks OK and the device doesn't show any ports except 80 to the internet so it should be safe I hope.

    Now to the question: If I want to stop the broadcast (I do), where should I start to look? Samba (which I'm, not all that fammiliar with)? How then? Perhaps add a rule to iptables? Would that work or would it mess up something else?

    All suggestions are wellcome!

  2. #2
    Just Joined!
    Join Date
    Apr 2008
    Southern California
    Not really sure, maybe it's trying to become a master browser for the network.

    You could add the following to your smb.conf

    hosts allow = x.x.x.x (local network)
    hosts deny = all
    preferred master = no

    Have you looked at the configurations on the samba website?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts