]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tcp: add "tcp-request connection expect-proxy layer4"
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Jun 2013 18:40:55 +0000 (20:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Jun 2013 18:40:55 +0000 (20:40 +0200)
commit4f0d919bd4951d2f22f2334f694a39d5d940aa10
treeee6443d330fe42eca29953c60e97d60acefbdfc2
parent51347ed94c54297c0b69954e4fc9c6b7cd4cc4ed
MEDIUM: tcp: add "tcp-request connection expect-proxy layer4"

This configures the client-facing connection to receive a PROXY protocol
header before any byte is read from the socket. This is equivalent to
having the "accept-proxy" keyword on the "bind" line, except that using
the TCP rule allows the PROXY protocol to be accepted only for certain
IP address ranges using an ACL. This is convenient when multiple layers
of load balancers are passed through by traffic coming from public
hosts.
doc/configuration.txt
include/types/proto_tcp.h
src/proto_tcp.c