Forum Discussion

mhite_60883's avatar
mhite_60883
Icon for Cirrocumulus rankCirrocumulus
Aug 16, 2013

Proxy protocol iRule implementation

Has anyone taken a stab at implementing the haproxy 'proxy protocol' as an iRule?

 

http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt

 

According to:

 

http://blog.exceliance.fr/haproxy/proxy-protocol/

 

it is widely adopted in a number of popular applications:

 

Elastic Load Balancing, since July 2013, AWS’ Load-Balancer exaproxy, since 1.0.0, forward and reverse proxy gunicorn, since 0.15.0, python HTTP server haproxy, since 1.5-dev3, reverse-proxy load-balancer postfix, since 2.10, SMTP MTA stud, since the first release, SSL offloader stunnel, since 4.45, SSL offloader

 

Has anyone else looked at this?

 

Thanks.

 

  • I doubt it. The reason being is haproxy replicates functionality already provided by an F5.

     

  • What F5 functionality being replicated here? To my best knowledge, I haven't found F5 talking about this.

     

  • Not sure if this iRule below works. """

     

    when connect TCP::payload replace ...

     

    """

     

    It is worthy to try with profiles other than fasttcp.