Lines Matching full:proxy
4 * DokuWiki IP address and reverse proxy functions.
136 * Given the IP address of a proxy server, determine whether it is
141 * @param string $ip The IP address of the proxy.
143 * @return bool Returns true if the IP is trusted as a proxy.
164 * Get the originating IP address and the address of every proxy that the
167 * To prevent spoofing of the client IP, every proxy listed in the
169 * from which the connection was received (i.e. the final proxy).
171 * If the header is not present or contains an untrusted proxy then
194 // X-Forwarded-For: <client> [, <proxy>]...
201 // header has passed. The final proxy is the connection's remote address.
205 // Ensure that every proxy is trusted.
206 foreach ($proxies as $proxy) {
207 if (!Ip::proxyIsTrusted($proxy)) {