Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2869

host used by Authorizer should be IP address not hostname/IP

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: security
    • Labels:
      None

      Description

      Reported by Parth:

      "One issue that our ranger team has found is that session.host returns InetAddress.toString() which is of the format hostname/IP. This means all the acls that wants to specify hosts will have to specify host in hostNaem/IP format. We can either make session.host return ip or host name or change the authorizer to evaluate against all 3 “host/ip”, “host”, “IP”."

      Jun suggested we use IP instead of hostname/IP.

        Attachments

          Activity

            People

            • Assignee:
              ijuma Ismael Juma
              Reporter:
              ijuma Ismael Juma
              Reviewer:
              Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: