Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 921064

Summary: RFE: TPROXY support for the new haproxy package
Product: Red Hat Enterprise Linux 6 Reporter: Matthias Hensler <mails.bugzilla.redhat.com>
Component: haproxyAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Brandon Perkins <bperkins>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: djansa, lnovich, mnovacek, perobins, pwouters
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: haproxy-1.4.24-1.el6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 11:27:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Hensler 2013-03-13 12:20:08 UTC
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):
1.4.22-3.el6

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.

Comment 2 Ryan O'Hara 2013-03-19 16:20:00 UTC
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.

Comment 3 Paul Wouters 2013-04-06 23:17:28 UTC
I just ran into this too. please add USE_LINUX_TPROXY=1 to the make line.

Thanks

Comment 10 michal novacek 2013-09-03 07:50:17 UTC
I have verified that there is TARGET = linux2628 which makes USE_TPROXY=1 implicit: 

# rpm -q haproxy
haproxy-1.4.24-2.el6.x86_64

# /usr/sbin/haproxy -vv
HA-Proxy version 1.4.24 2013/06/17
Copyright 2000-2013 Willy Tarreau <w>

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.

Comment 11 errata-xmlrpc 2013-11-21 11:27:21 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1619.html