[
https://issues.apache.org/jira/browse/SLING-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Egli reassigned SLING-3015:
----------------------------------
Assignee: (was: Stefan Egli)
> 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
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)