You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daniel Fritsi (Jira)" <ji...@apache.org> on 2022/02/10 20:35:00 UTC

[jira] [Updated] (HADOOP-18120) Hadoop auth does not handle HTTP Header in a case-insensitive way

     [ https://issues.apache.org/jira/browse/HADOOP-18120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Fritsi updated HADOOP-18120:
-----------------------------------
    Description: 
According to [RFC-2616|https://www.ietf.org/rfc/rfc2616.txt] HTTP Headers are case-insensitive. There are proxies / load balancers (e.g.: newer versions of HA-proxy) which deliberately make some of the HTTP headers lower-case results in an authentication / authorization failure inside the Hadoop codebase.

I've created a small patch (I'm from Cloudera):  [^hadoop-auth-headers.patch]. This resolves our authentication issue. Can someone please have a look at this?

  was:
According to [RFC-2616|https://www.ietf.org/rfc/rfc2616.txt] HTTP Headers are case-insensitive. There are proxies / load balancers (e.g.: newer versions of HA-proxy) which deliberately make some of the HTTP headers lower-case results in an authentication / authorization failure inside the Hadoop codebase.

I've created a small patch (I'm from Cloudera):  [^hadoop-auth-headers.patch] 


> Hadoop auth does not handle HTTP Header in a case-insensitive way
> -----------------------------------------------------------------
>
>                 Key: HADOOP-18120
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18120
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: auth
>            Reporter: Daniel Fritsi
>            Priority: Critical
>         Attachments: hadoop-auth-headers.patch
>
>
> According to [RFC-2616|https://www.ietf.org/rfc/rfc2616.txt] HTTP Headers are case-insensitive. There are proxies / load balancers (e.g.: newer versions of HA-proxy) which deliberately make some of the HTTP headers lower-case results in an authentication / authorization failure inside the Hadoop codebase.
> I've created a small patch (I'm from Cloudera):  [^hadoop-auth-headers.patch]. This resolves our authentication issue. Can someone please have a look at this?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org