smbclient using all interfaces

Nicolas Williams Nicolas.Williams at wdr.com
Wed Feb 17 14:32:52 GMT 1999


Well, there are ways to find out the interface through which a broadcast
UDP packet was received as well as the UDP packet's destination IP
address. These may not be portable however. On systems with BSD-style
socket APIs look for the sendmsg(2) system call (library function on
Solaris 2.x).

Nico


On Wed, Feb 17, 1999 at 10:44:01AM +1100, Christopher R. Hertel wrote:
> > Well.  I finally took the plunge and added a few static routes to my
> > system so that traffic to that particular network was going out the
> > "correct" interface.  When I did that and applied the filter on the router
> > again, I was able to use smbclient without having any problems.
> > 
> > It would seem I have a network "issue" to iron out.  I am going to work on
> > that.  But, I still have the burning question... what programs are
> > affected by the interfaces line in the smb.conf file?  I think it is just
> > smbd as nmbd seems to answer calls on any network interface reguardless of
> > the interfaces line...
> > 
> > hmmm....
> 
> Tim,
> 
> I've been trying to follow your thread while doing my real job.  Haven't 
> been keeping up as I'd like to.
> 
> I don't know if this is relevant, but nmbd listens to broadcasts as well
> directed traffic.  If something comes in as a broadcast, on any interface,
> its source network info may be lost (Jeremy went through this with me
> once).
> 
> Chris -)-----
> 
> -- 
> Christopher R. Hertel -)-----                   University of Minnesota
> crh at nts.umn.edu              Networking and Telecommunications Services

Nico
--
Nicolas Williams	(x5220, Stamford, CT)
Stamford SysAdmin


More information about the samba-technical mailing list