[Date Prev][Date Next]
bind(2)ing to specific network interfaces/IP #s (ITS#588)
Full_Name: Albert Siersema
OS: Linux (kernel 2.2.15)
Submission from: (NULL) (22.214.171.124)
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
the directory of course).