[index] [prev] [next] [options] [help]

eprints_tech messages

Re: [EP-tech] eprints XFF header

From: "Newman D.R. via Eprints-tech" <eprints-tech AT ecs.soton.ac.uk>
Date: Mon, 11 Nov 2019 09:22:03 +0000



Hi Maher,

I am not aware of anything with EPrints that would prevent you using a standard 
approach to acheiving Apache logging of client IP addresses when using a load 
balancer.  There are plenty of guides online giving advice about how to do 
this, such as:

http://www.loadbalancer.org/blog/apache-and-x-forwarded-for-headers/<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.loadbalancer.org%2Fblog%2Fapache-and-x-forwarded-for-headers%2F&data=01%7C01%7C%7C2a94cb31e91b4ed0451808d766889d0b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=TK%2BBKYriHNQB9iHLIBBrCGOC0BheeZ1OEonyx3kauZ8%3D&reserved=0>

For the purposes of determining the IP address for the access table in the 
EPrints database, which logs views of summary/abstract pages and downloads of 
publication documents, it should determine the originating IP address.  
Therefore, if you have the IRStats2 Bazaar plugin, your stats page should 
accurately reflect from where requests are actually coming.

Regards

David Newman

On 11/11/2019 09:03, Maher Abdellatif Ahmad Qahwash via Eprints-tech wrote:
Hi

Our Eprints (3.4.1) server is behind the F5 LB, and the client IPís are 
available in the XFF header. As per our policy requirement, we need to log 
these IPís in the apache access log. Can someone guide me on how to do that? 
Also do the eprints application uses XFF header or not?

Thanks,
Maher



*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: 
http://www.eprints.org/tech.php/<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7C2a94cb31e91b4ed0451808d766889d0b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ilUgz94fGxBq8rw7tNzNhe4%2BNWPCAmbeHBxncXM3kAo%3D&reserved=0>
*** EPrints community wiki: 
http://wiki.eprints.org/<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7C2a94cb31e91b4ed0451808d766889d0b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=p1B54L2Q9TGlMOOSRWf21hTVtQLw8%2BI%2Fwr22b3nTkCg%3D&reserved=0>
*** EPrints developers Forum: 
http://forum.eprints.org/<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7C%7C2a94cb31e91b4ed0451808d766889d0b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=%2B3Z81wkmwSiodJhZwRoXQvEWZBxWj3qrOGPW6oTXcRI%3D&reserved=0>


ATTACHMENT: message.html!

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/

[index] [prev] [next] [options] [help]