Hi,

I have maybe found some bug in haproxy, submitted as 
https://github.com/haproxy/haproxy/issues/154.

The variables dst, dst_port are identical with the src, src_port.

Is there any other way how to get these /in this case dst/ values ??

What do I need is ..

    http-request set-header X-Server-IP %[dst]
    http-request set-header X-Server-Port %[dst_port]
    http-request set-header X-Client-IP %[src]
    http-request set-header X-Client-Port %[src_port]

result is ;(

  'HTTP_X_CLIENT_PORT' => '22696',
  'HTTP_X_CLIENT_IP' => '217.73.20.190',
  'HTTP_X_SERVER_PORT' => '22696',
  'HTTP_X_SERVER_IP' => '217.73.20.190’,

        regards
                Peter


Reply via email to