Hi
Any hints on my question below, how I can capture request payload with
2.1.3?
Many thanks.
Kind regards,
Tom
-------- Forwarded Message --------
Subject: Logging captured payload not working
Date: Mon, 6 Apr 2020 07:39:32 +0200
From: Tom <[email protected]>
To: [email protected]
Hi
Using haproxy 2.1.3, I'm trying to capture the request payload of an
http/1.1 tls-offloaded session:
config-snippet:
-------
declare capture request len 90000
declare capture response len 90000
log-format "srcip=%ci:%cp feip=%fi:%fp(%f,%ft,%fc)
beip=%bi:%bp(%b,%bc) serverip=%si:%sp(%s) "%r" %ac/%fc/%bc/%sc/%rc
%sq/%bq requests=%rt resptime=%Tr bytesread=%B status=%ST tsc=%tsc
sslv=%sslv ms=%ms request=%hr response=%hs"
http-request capture req.payload(0,0) id 0
http-response capture res.payload(0,0) id 0
-------
The log shows only "{#DO?} instead of the requested payload:
...sslv=TLSv1.3 ms=325 request={#D0?} response={#D0?}
As I remember the config above worked for haproxy-1.8.x.
Any hints for this?
Many thanks.
Tom