Hello,

On Thu, 2020-08-27 at 13:33 +0530, Roshan Singh wrote:
> Dear HAProxy Technical Support Team,
> 
> REQUEST: HAProxy supports IPv4 Header manipulation for QoS.
> 
> ISSUE: I have been trying to pass the ToS value received from client to
> backend server for DSCP. But i can't manipulate DSCP value.
> 
> STEPS:
> 1.Request from client: # curl HAProxy_node_IP -H 'x-tos:0x48'
> 2. Below is the log captured from wireshark on HAProxy node.
> 3. DSCP value should be update with value as 'af21'. but this only goes
> from HTTPHeader when added below line in fronted : http-request set-header 
> x-ipheader % [req.hdr(x-tos)]

Try http-request set-tos: 
https://cbonte.github.io/haproxy-dconv/2.2/configuration.html#4.2-http-request%20set-tos
(or http-response set-tos 
https://cbonte.github.io/haproxy-dconv/2.2/configuration.html#4.2-http-response%20set-tos
)

I'm not sure the documentation is correct here because documentation says
that
both http-request/http-response set-tos "packets sent to the client"
and http-request probably should say "packets sent to the server" ?

-Jarno

> Please let me know if this feature has been already implemented or can be
> used by any third party tool.

-- 
Jarno Huuskonen

Reply via email to