Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAProxy pkg 0.59_19: http-request-auth realm bug

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 136 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PetrH
      last edited by

      Hello,
      if I use the http-request-auth action on the frontend as follows:

      Action: http-request-auth
      realm: somerealm
      ...
      

      Then the generated haproxy.cfg entry will look like:

      http-request auth somerealm  if  ...
      

      While it should be like:

      http-request auth realm somerealm  if  ...
      

      See http://cbonte.github.io/haproxy-dconv/1.8/configuration.html#4.2-http-request

      E.g. the realm entry doesn't add the "realm" keyword to the front of the realm value.

      To workaround this I just added "realm" to the realm value:

      Action: http-request-auth
      realm: realm somerealm
      

      But I believe this shouldn't be necessary.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.