@crisrodrigues wrote:
Hi,
We use http-request set-mark directive to add a mark to inform routing decisions.
But now we’re trying to check backend connections with the following:
defaults option tcp-check backend b tcp-check connect server ...
But that tcp-check isn’t getting
mark
ed at all (obvious since we mark it usinghttp-request set-mark
) but we can’t seem to find a way to have those checks have the same mark as the requests.Since without those mark the routing decision is wrong, the backend is always declared as DOWN…which wouldn’t happen if we could properly either mark the connection or have our source IP address set like we asked here:
https://discourse.haproxy.org/t/source-directive-based-on-outgoing-family/3501/2
Is there any way to achieve the Netfilter
mark
for TCP checks?
Posts: 1
Participants: 1