-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.6
-
Fix Version/s: 6.1
-
Component/s: Solr, Statistics
-
Labels:
-
Attachments:
-
Comments:9
-
Documentation Status:Needed
useProxies is a dspace.cfg variable where an admin can indicate if DSpace is running behind a proxy or not.
When not set, the value defaults to false. This has the consequence that X-Forward-For headers will be ignored when looking for the IP that triggers the pageview or download:
These IPs are vital for determining the location of the usage event.
We have come across cases where admins forget to switch the value to "true" when they move DSpace behind a proxy. If they leave this undiscovered, they are effectively registering usage events without IPs, which makes it impossible to get the location information or to do IP based bot filtering.
As an easy fix, I suggest to switch the value to true by default, because even if DSpace is NOT behind a proxy, behaviour will still be appropriate since the X-Forward-For headers won't be used if there's empty.