Hello!
Is there a way to make use of the extensibility of the PROXY protocol
version 2 and to add a TLV-field which is then sent to the backend
servers? I would like to i.e. generate a random id value per request,
add that to the access log and also forward this very value to the
backend service (speaking / understanding PROXYv2 of cause). This way
it's then possible to correlate between the incoming request handled and
distributed by HAProxy and the corresponding request which is logged on
the backend server.
1) Are there config options for adding things to PROXY anywhere?
2) I did not find any LUA API bindings to access the PROXY protocol
values, maybe that would be the right approach?
Thanks in advance,
Regards
Christian