3 writes to RemoteIpAndPort
Microsoft.AspNetCore.HttpOverrides (3)
ForwardedHeadersMiddleware.cs (3)
212RemoteIpAndPort = connection.RemoteIpAddress != null ? new IPEndPoint(connection.RemoteIpAddress, connection.RemotePort) : null, 243set.RemoteIpAndPort = parsedEndPoint; 245currentValues.RemoteIpAndPort = set.RemoteIpAndPort;
7 references to RemoteIpAndPort
Microsoft.AspNetCore.HttpOverrides (7)
ForwardedHeadersMiddleware.cs (7)
228if (currentValues.RemoteIpAndPort != null && checkKnownIps && !CheckKnownAddress(currentValues.RemoteIpAndPort.Address)) 233_logger.LogDebug(1, "Unknown proxy: {RemoteIpAndPort}", currentValues.RemoteIpAndPort); 245currentValues.RemoteIpAndPort = set.RemoteIpAndPort; 309if (checkFor && currentValues.RemoteIpAndPort != null) 327connection.RemoteIpAddress = currentValues.RemoteIpAndPort.Address; 328connection.RemotePort = currentValues.RemoteIpAndPort.Port;