DNS and KDC port listening

Andrew Bartlett abartlet at samba.org
Mon Aug 13 15:40:07 MDT 2012


On Mon, 2012-08-13 at 20:58 +0200, Matthias Dieter Wallnöfer wrote:

> Another patch fixes the socket binding code of the internal DNS server 
> in respect to the wildcard interfaces. In other words all s4 services 
> get bound to "0.0.0.0" if not explicitly specified in smb.conf except to 
> the DNS server which seems to pick the first available address. This 
> does not seem sound to me.
> 
> All patches can be found in my "master" branch.

I've looked at this patch and compared it with the KDC.  I think both
are wrong.  Shouldn't we bind to 0.0.0.0 (only) unless we have bind
interfaces only, then bind to each interface (but not to broadcast)?

The challenge is is that we started this pattern by copying the NBT
server, which is not a good example due to the broadcast packet handling
requirement.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list