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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • security
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: