]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: add the "set-mark" action on http-request/http-response rules
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Jun 2013 17:34:13 +0000 (19:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Jun 2013 17:34:13 +0000 (19:34 +0200)
commit51347ed94c54297c0b69954e4fc9c6b7cd4cc4ed
treed64fd78370cb79c97d751e63efd2704c42c2dfe4
parent42cf39e3b993a768116e46b577d4101edd31334c
MEDIUM: http: add the "set-mark" action on http-request/http-response rules

"set-mark" is used to set the Netfilter MARK on all packets sent to the
client to the value passed in <mark> on platforms which support it. This
value is an unsigned 32 bit value which can be matched by netfilter and
by the routing table. It can be expressed both in decimal or hexadecimal
format (prefixed by "0x"). This can be useful to force certain packets to
take a different route (for example a cheaper network path for bulk
downloads). This works on Linux kernels 2.6.32 and above and requires
admin privileges.
doc/configuration.txt
include/types/proto_http.h
src/proto_http.c