Red Hat Bugzilla – Bug 921064
RFE: TPROXY support for the new haproxy package
Last modified: 2013-11-21 06:27:21 EST
Description of problem:
RHEL 6.4 introduces haproxy as technology preview. With RHEL 6.3 and older the haproxy-package was provided by EPEL.
However, while the EPEL-package did provide TPROXY support, the new package from RHEL does not.
Version-Release number of selected component (if applicable):
If possible new haproxy-packages should be provide TPROXY support. To do so the parameter "USE_LINUX_TPROXY=1" is needed in the buildprocess of the package.
I believe TPROXY was not enabled because the build target is set to "linux26". This should probably be set to "linux2628", which would cause USE_LINUX_TPROXY to be implicit.
I just ran into this too. please add USE_LINUX_TPROXY=1 to the make line.
I have verified that there is TARGET = linux2628 which makes USE_TPROXY=1 implicit:
# rpm -q haproxy
# /usr/sbin/haproxy -vv
HA-Proxy version 1.4.24 2013/06/17
Copyright 2000-2013 Willy Tarreau <firstname.lastname@example.org>
Build options :
TARGET = linux2628
CPU = generic
CC = gcc
CFLAGS = -O2 -g -fno-strict-aliasing
OPTIONS = USE_REGPARM=1 USE_PCRE=1
Default settings :
maxconn = 2000, bufsize = 16384, maxrewrite = 8192, maxpollevents = 200
Encrypted password support via crypt(3): yes
Available polling systems :
sepoll : pref=400, test result OK
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 4 (4 usable), will use sepoll.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.