MINOR: tcp: add "tcp-request connection expect-netscaler-cip layer4"
authorBertrand Jacquin <jacquinb@amazon.com>
Mon, 6 Jun 2016 14:35:39 +0000 (15:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 20 Jun 2016 21:02:47 +0000 (23:02 +0200)
commit9075968356738583a33fe8f9862c6fa248dceb7b
treea80c7da899b383e1585971e4c163e7ee3654bbf0
parent93b227db9502f72f894c83708cd49c41925158b2
MINOR: tcp: add "tcp-request connection expect-netscaler-cip layer4"

This configures the client-facing connection to receive a NetScaler
Client IP insertion protocol header before any byte is read from the
socket. This is equivalent to having the "accept-netscaler-cip" 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/action.h
src/proto_tcp.c