Socket
Book a DemoInstallSign in
Socket

github.com/l3o-io/haproxy-ldap-sni-forwarder

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/l3o-io/haproxy-ldap-sni-forwarder

Source
Go Modules
Version
v0.0.0-20210214201827-a812072e3012
Version published
Created
Source

haproxy-ldap-sni-forwarder

haproxy-ldap-sni-forwarder is tcp reverse proxy server for ldap connections supporting Server Name Indication (SNI) for TLS based connections.

Existing solutions with TCP TLS SNI support do not work for ldap servers because prior to the TLS handshake a ldap extended request LDAP_START_TLS_OID must send.

This server intercepts the ldap extended requests for LDAP_START_TLS_OID pretending the server supports TLS and detects the SNI server name from the client hello message. Based on SNI, traffic will be forwarded to backends configured in conf.yaml either directly (1) or through haproxy (2) using the /etc/haproxy/tcp2be.map map (file) dynamically configured using haproxy's control socket.

For production deployments preferably use method (2) because haproxy does a great job in proxying including health checks.

Requirements

  • haproxy with concat converter support (1.9+), when using haproxy

License

haproxy-ldap-sni-forwarder is open source software released under the AGPL-3.0-or-later license (http://www.gnu.org/licenses/agpl-3.0.html)

FAQs

Package last updated on 14 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts