MyShaarli/tests/HttpUtils
ArthurHoaro 50d1791838 Add trusted IPs in config and try to ban forwarded IP on failed login
* Add a new settings (which needs to be manually set): `security.trusted_proxies`
  * On login failure, if the `REMOTE_ADDR` is in the trusted proxies, try to retrieve the forwarded IP in headers.
  * If found, the client address is added in ipbans, else we do nothing.

Fixes #409
2016-08-03 10:36:47 +02:00
..
GetHttpUrlTest.php Fixes #531 - Title retrieving is failing with multiple use case 2016-05-03 19:51:29 +02:00
GetIpAdressFromProxyTest.php Add trusted IPs in config and try to ban forwarded IP on failed login 2016-08-03 10:36:47 +02:00
IndexUrlTest.php HTTP: move server URL functions to HttpUtils.php 2015-09-14 20:27:16 +02:00
PageUrlTest.php HTTP: move server URL functions to HttpUtils.php 2015-09-14 20:27:16 +02:00
ServerUrlTest.php Fixes #477: support multi reverse proxy with comma syntax 2016-02-28 16:24:18 +01:00