ReferrerFilter should not reverse lookup the IPs of interfaces --------------------------------------------------------------
Key: SLING-2279 URL: https://issues.apache.org/jira/browse/SLING-2279 Project: Sling Issue Type: Improvement Components: Extensions Environment: contrib / extensions / org.apache.sling.security-0.5.0-SNAPSHOT.jar Reporter: Tobias Bocanegra Attachments: referrer-r1200559.patch The o.a.s.security.impl.ReferrerFilter initializes the getDefaultAllowedReferrers() with the hostnames of the local interfaces. I doubt that this has any meaning in a productive environment, as the server most probably runs behind a loadbalancer or proxy. the problem with this initialization is that it might result in a reverse DNS lookup, which can be very slow. suggest to remove the hostnames from the default referrers: -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira