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

Re: c_peer_name unavailable to CLDAP clients



Luke Howard wrote:

Because connectionless clients share a single connection structure,
their address (ie.  the peer address) cannot be associated with a
connection. However, it would be useful to have the peer address
stored as part of the operation structure, so it can be made
available to SLAPI plugins.

Thoughts?

What exactly would you want to do with this information? Since the UDP transport has no integrity checking of any kind, and only anonymous requests are supported, I don't see that you can make any meaningful policy decisions here. The address is logged for informational purposes, but relying on it for anything else seems like a bad idea.

--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support