https://bugs.openldap.org/show_bug.cgi?id=9419
Issue ID: 9419 Summary: Add support for HAProxy proxy protocol v2 Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: henson@acm.org Target Milestone: ---
Add support for the HAProxy proxy protocol v2:
https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
This will allow slapd to receive and act upon client addresses when operating behind a NAT'ing load balancer or proxy server which would otherwise obscure the true client address.
Patch will be submitted as a pull request on gitlab.
The submitted pull request is derived from OpenLDAP Software. All of the modifications to OpenLDAP Software represented in the pull request were developed by Paul B. Henson henson@acm.org based on specifications and example code provided by HAProxy at the above listed URL. I have not assigned rights and/or interest in this work to any party.
The modifications to OpenLDAP Software are subject to the following notice:
Copyright 2020 Paul B. Henson Redistribution and use in source and binary forms, with or without modification, are permitted only as authorized by the OpenLDAP Public License.
https://bugs.openldap.org/show_bug.cgi?id=9419
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.2 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- • 146889f2 by Paul B. Henson at 2021-02-24T18:11:09+00:00 ITS#9419 Add support for HAProxy proxy protocol v2
• dcca7337 by Paul B. Henson at 2021-02-24T18:11:09+00:00 Move slap_sockaddrstr into liblutil
Commits: • 5fa0a651 by Ondřej Kuzník at 2021-02-24T18:11:09+00:00 revert: libevent 2.0 support
https://bugs.openldap.org/show_bug.cgi?id=9419
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9419
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Further fix:
Commits: • 5f935298 by Tero Saarni at 2021-03-15T19:03:59+00:00 ITS#9419 fix comparison