Lines Matching full:proxy
4 * DokuWiki IP address and reverse proxy functions.
158 * Given the IP address of a proxy server, determine whether it is
163 * @param string $ip The IP address of the proxy.
165 * @return bool Returns true if the IP is trusted as a proxy.
186 * Get the originating IP address and the address of every proxy that the
189 * To prevent spoofing of the client IP, every proxy listed in the
191 * from which the connection was received (i.e. the final proxy).
193 * If the header is not present or contains an untrusted proxy then
216 // X-Forwarded-For: <client> [, <proxy>]...
223 // header has passed. The final proxy is the connection's remote address.
227 // Ensure that every proxy is trusted.
228 foreach ($proxies as $proxy) {
229 if (!Ip::proxyIsTrusted($proxy)) {