Lines Matching full:custom

226         // Adding some custom trusted proxies.
227 $custom = array_merge($default, ['1.2.3.4', '1122::', '3.0.0.1/8', '1111:2222::/32']);
248 // With custom proxies set.
249 [$custom, '127.0.0.1', true],
250 [$custom, '1.2.3.4', true],
251 [$custom, '3.0.1.2', true],
252 [$custom, '1122::', true],
253 [$custom, '1122:0000:0000:0000:0000:0000:0000:0000', true],
254 [$custom, '1111:2223::', false],
255 [$custom, '1111:2222::', true],
256 [$custom, '1111:2222:3333::', true],
257 [$custom, '1111:2222:3333::1', true],
292 // Adding some custom trusted proxies.
293 $custom = array_merge($default, ['1.2.3.4', '1122::', '3.0.0.1/8', '1111:2222::/32']);
318 // A custom configuration.
319 [$custom, '', '127.0.0.1', []],
320 [$custom, '1.2.3.4', '127.0.0.1', ['1.2.3.4', '127.0.0.1']],
321 [$custom, '1.2.3.4', '192.168.1.1', ['1.2.3.4', '192.168.1.1']],
322 … [$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']],
323 [$custom, '1.2.3.4,172.16.0.1', '::1', ['1.2.3.4', '172.16.0.1', '::1']],
324 [$custom, '1.2.3.4,172.16.0.1', '::0001', ['1.2.3.4', '172.16.0.1', '::0001']],
327 [$custom, '', '127.0.0.1', []],
328 [$custom, '1.2.3.4', '11.22.33.44', []],
329 [$custom, '::1', '11.22.33.44', []],
330 [$custom, '::1', '::2', []],
333 [$custom, '1.2.3.4,11.22.33.44,172.16.0.1', '192.168.1.1', []],
334 [$custom, '1.2.3.4,::2,172.16.0.1', '::1', []],
336 // Via a custom proxy.
337 …[$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…
338 …[$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']…
339 …[$custom, '11.2.3.4,1122::,172.16.0.1', '1111:2222:3333::', ['11.2.3.4', '1122::', '172.16.0.1', '…
509 * Test custom client IP header configuration.
520 // custom client_ip_header set to CF_CONNECTING_IP -> use CF header