[
https://issues.apache.org/jira/browse/SLING-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739716#comment-13739716
]
Felix Meschberger commented on SLING-3015:
------------------------------------------
So, lets keep this open and not implement it right now. We can still do it
later, if we really need etc.
> Take X-Forwarded-For into account for IP whitelisting
> -----------------------------------------------------
>
> Key: SLING-3015
> URL: https://issues.apache.org/jira/browse/SLING-3015
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: Discovery Impl 1.0.0
> Reporter: Stefan Egli
> Assignee: Stefan Egli
>
> Currently, the IP whitelisting for incoming topology connections of the
> discovery.impl uses 'getRequestHost/Addr' to decide if it wants to accept a
> connection or not. This is not sufficient in the case, where a server is
> behind eg a reverse proxy. In such cases it would simply get the reverse
> proxy's address, voiding the IP whitelisting feature.
> To improve this situation, the X-Forwarded-For header field should be
> evaluated optionally too.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira