I need to reverse proxy a range of TCP ports via HAproxy. It works just fine, but now I have a list of open Ports in the Webinterface with no idea which port is which:

listen xx
        bind transparent name repos
        mode tcp
        timeout client 12h
        log-format %ci:%cp\ [%t]\ %ft\ %s\ %si:%sp\ %Tw/%Tc/%Tt\ %B\ %ts\ %ac/%fc/%bc/%sc/%rc\ %sq/%bq
        option tcp-check
        tcp-check connect port 8100
        server name maxconn 10000 check

I see 51 lines with 'name' in the statistics report.

I searched the docs but couldn't find a possibility to add the port to the name. My Idea would be to be able to specify

        server name-%p maxconn 10000 check

and in the statistics it would read


Is this already possible?


DI Mag. Philipp Kolmann              mail: philipp.kolm...@tuwien.ac.at
Technische Universitaet Wien                   web: www.it.tuwien.ac.at
IT Solutions - Applications                      tel: +43(1)58801-42011
Operngasse 11, A-1040 Wien                                 DVR: 0005886

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to