From: "Nicholas Berry" <nikberry@med.umich.edu>
To: <typo@netcabo.pt>, <linux-kernel@vger.kernel.org>
Subject: Re: UDP binding
Date: Tue, 23 Oct 2001 06:35:09 -0400 [thread overview]
Message-ID: <sbd50fac.000@mail-01.med.umich.edu> (raw)
This is correct behaviour for Samba. It's not a security issue, since Samba isn't listening in any useable sense to interfaces other than those you request. You'll get 'connection refused' if you try to contact another interface.
Nik
>>> Pedro Corte-Real <typo@netcabo.pt> 10/22/01 02:23PM >>>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> I am running samba on a machine with 2 outside interfaces. I want samba to
> listen only to one of them so I put these lines on smb.conf:
> bind interfaces only = True
> interfaces = 192.168.1.1 127.0.0.1
> These setings produce this in netstat -a:
> (...)
> udp 0 0 192.168.1.1:138 0.0.0.0:*
> udp 0 0 192.168.1.1:137 0.0.0.0:*
> udp 0 0 0.0.0.0:138 0.0.0.0:*
> udp 0 0 0.0.0.0:137 0.0.0.0:*
> (...)
> I was told this was because nmbd uses broadcast packets to do it's work and
> for it to listen to broadcast packages it must listen to 0.0.0.0. Is this
> true. Can't it bind to 192.168.1.0 instead?
> How does linux's interface binding API work? Is this really necessary?
> Greetings from Portugal,
> Pedro.
next reply other threads:[~2001-10-23 10:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-23 10:35 Nicholas Berry [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-22 18:23 Pedro Corte-Real
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sbd50fac.000@mail-01.med.umich.edu \
--to=nikberry@med.umich.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=typo@netcabo.pt \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®