[Fedora-directory-devel] Please review: [Bug 250702] not all the addresses associated with listenhost are bound to listen sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 listenhost
name, 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

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux