aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/HttpUtils/GetIpAdressFromProxyTest.php
Commit message (Collapse)AuthorAgeFilesLines
* lint: apply phpcbf to tests/VirtualTam2018-12-021-1/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add trusted IPs in config and try to ban forwarded IP on failed loginArthurHoaro2016-08-031-0/+58
* 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