[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)
Submission from: (NULL) (

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 only (assuming only local processes
the directory of course).