[ 
https://issues.apache.org/jira/browse/HDFS-6219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969586#comment-13969586
 ] 

Kihwal Lee commented on HDFS-6219:
----------------------------------

Suppose we have a chain of proxies:
{panel}   X-Forwarded-For: origin_ip_addr, proxy1_ip_addr, proxy2_ip_addr 
{panel}

Do you think we should check both {{proxy1_ip_addr}} and {{proxy2_ip_addr}}? Or 
since the last proxy is a "trusted" proxy, can we assume access to it is 
controlled? 

> Proxy superuser configuration should use true client IP for address checks
> --------------------------------------------------------------------------
>
>                 Key: HDFS-6219
>                 URL: https://issues.apache.org/jira/browse/HDFS-6219
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode, webhdfs
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-6219.patch
>
>
> Similar to HDFS-6218, the trusted proxies should use X-Forwarded-For when 
> performing superuser checks so oozie can use webhdfs via a http proxy.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to