[Date Prev][Date Next] [Chronological] [Thread] [Top]

bind(2)ing to specific network interfaces/IP #s (ITS#588)



Full_Name: Albert Siersema
Version: 1.2.10
OS: Linux (kernel 2.2.15)
URL: 
Submission from: (NULL) (193.172.48.10)


My issue is more of a request than a real bug.

I'd like to see an option in OpenLDAP (specifically slapd in my case)
to only bind() to a user configurable interface/IP number. If possible
a set of them.
I glanced from daemon.c that currently all interfaces on a given host are used:
 addr.sin_addr.s_addr = INADDR_ANY;

For some gateway machines it's useful to bind only to the 'inside' network card
or for the truly paranoid to 127.0.0.1 only (assuming only local processes
access 
the directory of course).