Summary: not all the addresses associated with listenhost are bound to listen sockets https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=250702 Description of problem: When listenhost is set, the host could be associated with multiple net addresses in the IPv6 enabled environment. Directory Server calls PR_GetAddrInfoByName (which internally calls getaddrinfo) to get the addresses from the listenhostname, which could be more than one. The server should listen on all the sockets bound to the addresses returned by PR_GetAddrInfoByName.
------- Additional Comments From nhosoi@xxxxxxxxxx 2007-08-02 21:37 EST ------- Created an attachment (id=160570) --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160570&action=view) cvs diff message Files: ldapserver/ldap/servers/slapd/fe.h slap.h daemon.c main.c Description: listen socket used to be prepared one for the ordinary port, one for ssl, and one for UNIX socket. The first 4 slots of the connection table were used for the listen sockets (one out of 4 is SIGNAL PIPE). We need to extend the hardcoded slot to dynamic depending upon the returned addresses from PR_GetAddrInfoByName. ------- Additional Comments From nhosoi@xxxxxxxxxx 2007-08-02 21:56 EST ------- Created an attachment (id=160571) --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160571&action=view) listenhost test cases and results
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-devel mailing list Fedora-directory-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-devel