Hi all,
It started on 13 July about 11:15 am UTC when workers started to pass static IP in HTTP header to the origin server, regardless of true client IP, even with IPv4.
"CF-Connecting-IP: 2a06:98c0:3600::103
Even when I directly inject header “CF-Connecting-IP” with the correct IP address I still have from the incoming request, it’s overwritten later by Cloudflare. True-Client-IP is passed correctly:
let ip = request.headers.get('CF-Connecting-IP')
let headers = new Headers()
headers.append( 'True-Client-IP', ip)
headers.append( 'CF-Connecting-IP', ip)
let originRequestParams = { method: "POST", headers }
const originRequest = new Request( url, new Request( request, originRequestParams))
Does anyone know what caused this change?