]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] backend: support servers on 0.0.0.0
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Jul 2010 12:49:50 +0000 (14:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Jul 2010 12:57:52 +0000 (14:57 +0200)
commitd669a4f72bff0d094d4824d4c46370e9736ec7a3
treef8b2803dbe263a2451fb04c5fc05ff7b57eedefe
parent35da19ca705e1c310ac18db8c91d018f7e8ce7ff
[MEDIUM] backend: support servers on 0.0.0.0

Till now when a server was configured with address 0.0.0.0, the
connection was forwarded to this address which generally is intercepted
by the system as a local address, so this was completely useless.

One sometimes useful feature for outgoing transparent proxies is to
be able to forward the connection to the same address the client
requested. This patch fixes the meaning of 0.0.0.0 precisely to
ensure that the connection will be forwarded to the initial client's
destination address.
doc/configuration.txt
src/backend.c