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

Jeffrey E  Rodriguez commented on RANGER-1489:
----------------------------------------------

context.getRemoteAddr returns the Internet Protocol (IP) address of the client 
or last proxy that sent the request. If Solr is going through a balancer it may 
return the IP of the balancer instead of the client making the request.
So if there are no proxy's in between client and server they should be 
equivalent.

> Solr plugin fails to get client address
> ---------------------------------------
>
>                 Key: RANGER-1489
>                 URL: https://issues.apache.org/jira/browse/RANGER-1489
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 0.6.3, 1.0.0
>            Reporter: Yan
>            Assignee: Yan
>            Priority: Minor
>
> A immediate consequence is that IP-range conditions all fail for Solr 
> authorizations.
> context.getHttpHeader("REMOTE_ADDR") is used; instead context.getRemoteAddr() 
> is more appropriate.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to