[MEDIUM] support fully transparent proxy on Linux (USE_LINUX_TPROXY)
authorWilly Tarreau <w@1wt.eu>
Sun, 13 Jan 2008 13:49:51 +0000 (14:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 13 Jan 2008 13:49:51 +0000 (14:49 +0100)
commitb1e52e8c4403a9a4fcb7effffc9749afd8f497a8
tree7d84bd456524cf521518c0070d28a5cfcef90c45
parentfe10a0619ddfe58d9dfbf9029a73651130843023
[MEDIUM] support fully transparent proxy on Linux (USE_LINUX_TPROXY)

Using some Linux kernel patches, it is possible to redirect non-local
traffic to local sockets when IP forwarding is enabled. In order to
enable this option, we introduce the "transparent" option keyword on
the "bind" command line. It will make the socket reachable by remote
sources even if the destination address does not belong to the machine.
Makefile
doc/configuration.txt
include/common/compat.h
include/types/protocols.h
src/cfgparse.c
src/proto_tcp.c