hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14295) Authentication proxy filter may fail authorization because of getRemoteAddr
Date Fri, 05 May 2017 05:46:04 GMT

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

Andrew Wang updated HADOOP-14295:
    Target Version/s: 3.0.0-alpha3  (was: 3.0.0-alpha2)

> Authentication proxy filter may fail authorization because of getRemoteAddr
> ---------------------------------------------------------------------------
>                 Key: HADOOP-14295
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14295
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 2.7.4, 3.0.0-alpha2, 2.8.1
>            Reporter: Jeffrey E  Rodriguez
>            Assignee: Jeffrey E  Rodriguez
>            Priority: Critical
>         Attachments: hadoop-14295.001.patch, HADOOP-14295.002.patch, HADOOP-14295.003.patch,
> When we turn on Hadoop UI Kerberos and try to access Datanode /logs the proxy (Knox)
would get an Authorization failure and it hosts would should as even though Knox
wasn't in local host to Datanode, error message:
> {quote}
> "2017-04-08 07:01:23,029 ERROR security.AuthenticationWithProxyUserFilter (AuthenticationWithProxyUserFilter.java:getRemoteUser(94))
- Unable to verify proxy user: Unauthorized connection for super-user: knox from IP"
> {quote}
> We were able to figure out that Datanode have Jetty listening on localhost and that Netty
is used to server request to DataNode, this was a measure to improve performance because of
Netty Async NIO design.
> I propose to add a check for x-forwarded-for header since proxys usually inject that
header before we do a getRemoteAddr

This message was sent by Atlassian JIRA

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

View raw message