]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: Add new 'set-src' option to http-request
authorAdis Nezirovic <anezirovic@haproxy.com>
Mon, 6 Jul 2015 13:44:30 +0000 (15:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Jul 2015 14:17:28 +0000 (16:17 +0200)
commit2fbcafc9ce5d5f76b7d5fc0903c0b9019cb32d25
tree3dbf0569c6d966ca17a9d8afdc754b5436d45aab
parent79beb248b921da45ddfe148e1daeffea880c57d0
MEDIUM: http: Add new 'set-src' option to http-request

This option enables overriding source IP address in a HTTP request. It is
useful when we want to set custom source IP (e.g. front proxy rewrites address,
but provides the correct one in headers) or we wan't to mask source IP address
for privacy or compliance.

It acts on any expression which produces correct IP address.
doc/configuration.txt
include/types/proto_http.h
src/proto_http.c