Lines Matching full:custom

182         // Adding some custom trusted proxies.
183 $custom = array_merge($default, ['1.2.3.4', '1122::', '3.0.0.1/8', '1111:2222::/32']);
204 // With custom proxies set.
205 [$custom, '127.0.0.1', true],
206 [$custom, '1.2.3.4', true],
207 [$custom, '3.0.1.2', true],
208 [$custom, '1122::', true],
209 [$custom, '1122:0000:0000:0000:0000:0000:0000:0000', true],
210 [$custom, '1111:2223::', false],
211 [$custom, '1111:2222::', true],
212 [$custom, '1111:2222:3333::', true],
213 [$custom, '1111:2222:3333::1', true],
248 // Adding some custom trusted proxies.
249 $custom = array_merge($default, ['1.2.3.4', '1122::', '3.0.0.1/8', '1111:2222::/32']);
274 // A custom configuration.
275 [$custom, '', '127.0.0.1', []],
276 [$custom, '1.2.3.4', '127.0.0.1', ['1.2.3.4', '127.0.0.1']],
277 [$custom, '1.2.3.4', '192.168.1.1', ['1.2.3.4', '192.168.1.1']],
278 … [$custom, '1.2.3.4,172.16.0.1', '192.168.1.1', ['1.2.3.4', '172.16.0.1', '192.168.1.1']],
279 [$custom, '1.2.3.4,172.16.0.1', '::1', ['1.2.3.4', '172.16.0.1', '::1']],
280 [$custom, '1.2.3.4,172.16.0.1', '::0001', ['1.2.3.4', '172.16.0.1', '::0001']],
283 [$custom, '', '127.0.0.1', []],
284 [$custom, '1.2.3.4', '11.22.33.44', []],
285 [$custom, '::1', '11.22.33.44', []],
286 [$custom, '::1', '::2', []],
289 [$custom, '1.2.3.4,11.22.33.44,172.16.0.1', '192.168.1.1', []],
290 [$custom, '1.2.3.4,::2,172.16.0.1', '::1', []],
292 // Via a custom proxy.
293 …[$custom, '11.2.3.4,3.1.2.3,172.16.0.1', '192.168.1.1', ['11.2.3.4', '3.1.2.3', '172.16.0.1', '192…
294 …[$custom, '11.2.3.4,1122::,172.16.0.1', '3.0.0.1', ['11.2.3.4', '1122::', '172.16.0.1', '3.0.0.1']…
295 …[$custom, '11.2.3.4,1122::,172.16.0.1', '1111:2222:3333::', ['11.2.3.4', '1122::', '172.16.0.1', '…
465 * Test custom client IP header configuration.
476 // custom client_ip_header set to CF_CONNECTING_IP -> use CF header