3 writes to RemoteIpAndPort
Microsoft.AspNetCore.HttpOverrides (3)
ForwardedHeadersMiddleware.cs (3)
212RemoteIpAndPort = connection.RemoteIpAddress != null ? new IPEndPoint(connection.RemoteIpAddress, connection.RemotePort) : null, 239set.RemoteIpAndPort = parsedEndPoint; 241currentValues.RemoteIpAndPort = set.RemoteIpAndPort;
7 references to RemoteIpAndPort
Microsoft.AspNetCore.HttpOverrides (7)
ForwardedHeadersMiddleware.cs (7)
226if (currentValues.RemoteIpAndPort != null && checkKnownIps && !CheckKnownAddress(currentValues.RemoteIpAndPort.Address)) 231_logger.LogDebug(1, "Unknown proxy: {RemoteIpAndPort}", currentValues.RemoteIpAndPort); 241currentValues.RemoteIpAndPort = set.RemoteIpAndPort; 305if (checkFor && currentValues.RemoteIpAndPort != null) 323connection.RemoteIpAddress = currentValues.RemoteIpAndPort.Address; 324connection.RemotePort = currentValues.RemoteIpAndPort.Port;